Training Module:
Semantic Models
Learn about creating curated data marts and adding different endpoints to your Semantic Models
Table of ContentS
Key Concepts: SSL
go to Table of Contents
what are semantic models?
The Semantic Model allows you to create department or purpose-specific models of your data, often referred to as "data marts". These models are intended to translate more technical field or table names into more familiar business terms like “product” or “revenue” to create more human-readable data for reporting. By providing only the most relevant data to each department or business unit, data consumers don't have to waste time sorting through all the data in the warehouse to find what they need. The models consist of multiple related tables similar to a star schema, and often include, calculated measures for commonly used KPIs.
what are endpoints ?
TimeXtender allows users to build a Semantic Model once and deploy it across multiple endpoints, so they will always provide consistent figures regardless of which visualization tool you use. This approach drastically improves data governance, quality, and consistency, ensuring all users are consuming a single version of truth, regardless if they are using Power BI, Analysis Services, Qlik, Tableau, or CSV.
Build a Semantic Model
go to Table of Contents
Add Order Date table to Sales Model
Add Ship Date table to Sales Model
In the following steps you will be creating a Role-Playing Dimension. This is when a dimension table in the data warehouse can play a different "role" by relating to a different foreign key in the fact table. In this example, even though the date dimensions have all the same data, when relating to ShipDate, instead of OrderDate, it can filter and show different results.
Auto-suggested Relations
Primary Key
After adding a table to a Semantic Model, TimeXtender will auto-suggest table relationship in the following scenarios.
Relations in the MDW
A relationship exists in the data warehouse with any other table in the model.
Identical Primary Key Field Name
The primary key field on one table matches the name of a field on any other table in the model.
Identical Field name
An Identically named field exists in any other table in the model.
Add Sales Transactions to Sales Model
Measures & Date Hierarchy
go to Table of Contents
Add Measures to Semantic Model
Add a table Measure
Pro Tip - SSAS Tabular & Power BI Premium only:
The fields for Description, Data type, Data format setting for adding a measure applies to SQL Server Analysis Services (SSAS) Tabular and Power BI Premium endpoints only.
Add a field Measure
Add a custom Measure
Add Date Hierarchy
To create a date hierarchy, you must first create a date table then deploy and execute, you can complete the following to create a data hierarchy.
Please see Date Table tutorial for more information.
Add Semantic ENdpoints
go to Table of Contents
Use Tabular (CSV) Endpoint
Create Endpoint in Portal
Deploy & Execute in TIMEXTENDER
Use Analysis Services (power BI) Endpoint
Create Endpoint in Portal
Deploy & Execute in TIMEXTENDER
Connect Power BI
Use Tableau Endpoint
Create TaBleau Endpoint in Portal
Attention Snowflake Users: If the Tableau endpoint uses data from a MDW instance with Snowflake storage follow these additional steps (not shown here).
Deploy & Execute in TIMEXTENDER
Open Tableau TDS from TimeXtender Desktop
Another way to open the .tds file is through the desktop application. Right click the Tableau endpoint and click on the name of the generated .tds file
Use Power BI Premium Endpoint
Create Endpoint in Portal
Deploy & Execute in TIMEXTENDER
Use Qlik Endpoint
Create Endpoint in Portal
Deploy & Execute in TIMEXTENDER
Connect Qlik
exercise Connect Power BI to analysis services model
Use what you've learned so far to complete the following exercise.
Section Quiz...
Planning to take the Solution Architect exam? Then you want to be sure these questions are easy to answer.
TimeXtender Semantic Models support which Endpoints?
How do you create a Role-Playing Dimension in TimeXtender?
Can you create custom measures in SSL?
When you're ready, see Answers Bellow
Section Quiz Answers
Planning to take the Solution Architect exam? Then you want to be sure these questions are easy to answer.
TimeXtender Semantic Models support which Endpoints?
How do you create a Role-Playing Dimension in TimeXtender?
Add the same DWH table to the Semantic Model twice, then select different relationships to the Fact Table.
Can you create custom measures in SSL?
Yes! you can create custom measures using DAX scripts. Right-click the table select Add custom measure and enter your script.
want to Learn even more?
Learn even more about custom measures and time intelligence from TimeXtender Tuesdays
Congratulations! You've completed the training module
Semantic Models