0% found this document useful (0 votes)
22 views14 pages

4 - Semantic Layer Using Analysis Services

Uploaded by

kaimo.private
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views14 pages

4 - Semantic Layer Using Analysis Services

Uploaded by

kaimo.private
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Semantic Layer using SQL

Server Analysis Services


Lec. 4 - Summer
2024

Ejada Internal Use Only


Agenda
I. Lecture Objectives
II. Semantic Model / Analysis Layer / Self-Reporting Layer
III. SSAS Overview
IV. SSAS Tabular Model Core Elements
V. SSAS Workflow, and Additional Features
VI. Summary & Resources

2
Ejada Internal Use Only
Lecture Objectives

By the end of the lecture, you will be able to:


 Understand What is Semantic Model and Benefits of using it

 Understanding SSAS, Tool Capability, and Key Features

 Identify SSAS Model Types and Differences between them

 Identify the Full Workflow including the Analysis Services

Prerequisites: • BI professionals and Consultants:


BI Developer, Data analysts and Data Engineers.
• Basic knowledge of data warehouse
• Technically proficient business users.
schema topology.

3
Audience:
Ejada Internal Use Only
• Semantic (Analysis) Model
A semantic model is a logical layer that contains
transformations, calculations, and relationships between
data source objects, in a single place.
• Serves as the single source of truth for reports across an organization that ensure business
analysts have the same definition and context on the data.
• Can be consumed by different users for reporting and analysis purposes.
• Provide Significant Improvement in Performance and Security
• Connection with Analysis Layer via Direct Query
• Available in Tabular and Multidimensional Mode

Ejada Internal Use Only


Ejada Internal Use Only
Why Semantic Layer is important ?

 Single Source of Truth, a Single Unit Model, Fixed Standards of Calculations.

 Performance and Data Compression

 Security and Authorization Control

 Enable Self-Reporting for Non-Technical Users (Tabular)

 Decoupled Bi Process, Faster and Better Debugging

Ejada Internal Use Only


What is SSAS

Microsoft SQL Server Analysis Services (SSAS) is an


analytical data engine (VertiPaq) used in decision
support and business analytics.
It provides enterprise-grade semantic data models for
business reports and client applications such as Power BI,
Excel, Reporting Services reports, and other data
visualization tools

• Same as Data Modeling using Power BI and uses DAX in


Measures
• Supports Tabular and Multidimensional Model
• Supports Various Security Layers (i.e., Roles, Column and Row
Level Security)
• Integrate Well With Other Microsoft BI Tools such as SSIS
Ejada Internal Use Only
SSAS Model Types

Tabular Multidimensional
• Newer Technology • Matured Product
• Stores Data in Memory • Stores Data in Disk
• Easier and Faster • Harder and Slower
• Uses Advanced Compression Techniques • Uses MDX as Formula Language
• Uses DAX as Formula Language
• Enable Self-Service BI
• Promising with New In-Memory Databases
• Recommended By Microsoft

 The Focus will be on the SSAS Tabular Model


Ejada Internal Use Only
SSAS Core Tabular Model Elements
• Data Sources and Tables:
Stores The Data Warehouse Connections and The Selected Tables from it, In
addition of Derived Tables called Calculated Tables.

• Measures, Calculation Groups, and KPIs:


- Measures are calculations used to perform complex calculations or aggregations
on data, Created Using Dax.
- Calculation Groups reduce the number of redundant measures by grouping
common measure expressions as calculation items.
- A KPI is used to gauge performance of a value, defined by a Base measure, against
a Target value, also defined by a measure or by an absolute value.

• Roles and Perspectives:


- Perspectives define viewable subsets of a model that provide focused, business-
specific, or application-specific viewpoints of the model
- Roles Define member permissions for a model, Members assigned to each role can
have some restrictions specified by role definition and security constraints
(i.e., Row, Column, and Object Level Security, Read-Write Permissions)

• Translations:
- Can Support multi-language versions within the model definition
Ejada Internal Use Only
Prespectives and Roles Breakdown
• Prespectives:
Perspectives define viewable subsets of a model that provide focused, business-specific, or
application-specific viewpoints of the model,Equivalent To Data Marts.
i.e., E-Commerce System Possible Prespectives are [Sales, Purchasing and Inventory]

• Roles:
Roles Define member permissions for a model, Members assigned to each role can have
some restrictions specified by role definition and security constraints
i.e., in the Same E-Commerce Example:
Sales Staff can only see Sales Prespective Data (Table-Level Security)
Sales Managers can see extra columns than Sales Staff Like Salary (Column-Level Security)
Every Manager can only observe sales of his related region (Row-Level Security

Ejada Internal Use Only


Semantic Layer Workflow

Fetch The Data Data Modeling Security Layer


- Create Measures, KPIs and Define Roles and
Connect To The Data Calculation Groups Table, Column, and
Warehouse and Specify - Create and Validate Row Level Security
The Required Tables Relationships Between Tables and Map Members to
- Specify Different Perspectives Roles

Consume Model Deployment Translations


Through data
Deploy The Model with Support Multi-Language
visualizations, BI
Scheduling and Model - for the Model
dashboards and reports, Table Level Processing
By using specific Strategy
Prespective and Role

Ejada Internal Use Only


Point of Focus

• Calculation Groups, KPIs


• Assign Members to Different Roles with Security Constraints
• Working with Translations
• Detail Rows Expressions in Measures (Drillthrough for Details)
• Different Types of Processing (Full, Default ,etc.)
• Deployment Methods and Processing Script
• Schedule Processing with SQL Agent Server

Ejada Internal Use Only


Summary

 Semantic Model is a logical layer that contains transformations, calculations,

and relationships in a single source of truth.

 SSAS is an analytical data engine used in building semantic data models for

business reports and dashboards, providing performance and security.

Resources:
• Visual Studio Dev Essentials - Visual Studio (Get Plural Sight Free Subscriptions then join SSAS Learning Path)
• [[ 3.1 HOURS ]] SSAS Complete Tutorial - End to End - SQL Server Analysis Service

Ejada Internal Use Only


Thank You

Ejada Systems Company Limited ‫شركة إجادة للنظم‬


‫المحدودة‬ www.ejada.com | [email protected]
Ejada Internal Use Only

You might also like