Untitled Deck Flashcards
(50 cards)
What does DAX stand for?
Data Analysis Expressions.
What are the three types of calculations you can add using DAX?
Calculated tables, calculated columns, and measures.
Are row-level security (RLS) rules considered model calculations?
No, they are not considered model calculations.
What language is used to define RLS rules?
DAX.
What is a calculated table in Power BI?
A table created using a DAX formula within the model.
Can calculated tables connect to external data sources?
No, they cannot.
How is the data in calculated tables stored?
It is imported into the model.
What is a drawback of using calculated tables?
They increase storage size and can prolong refresh time.
What Power Query feature is needed to connect to external data?
You must use Power Query for external data connections.
Name three use cases for calculated tables.
Date tables, role-playing dimensions, and what-if analysis.
Why are date tables important?
They enable DAX time intelligence functions.
Which DAX functions can you use to create a date table?
CALENDAR and CALENDARAUTO.
What is a role-playing dimension?
A dimension table used multiple times with different relationships.
Give an example of role-playing dimensions.
A Sales table with OrderDateKey and ShipDateKey both related to a Date table.
How many active relationships can exist between two tables in Power BI?
Only one active relationship.
What function activates an inactive relationship in DAX?
USERELATIONSHIP.
What’s an alternative design to a role-playing dimension?
Create duplicate calculated tables for each date role (e.g., Ship Date table).
What type of table is created when you use a What-if parameter?
A calculated table.
Are What-if parameter tables connected to other tables?
No, they are disconnected tables.
Why are What-if tables called ‘disconnected’?
They don’t propagate filters to other tables.
What is a calculated column in Power BI?
A column added to a table using a DAX formula.
How often are calculated columns evaluated in Import mode?
During model refresh.
How are calculated columns evaluated in DirectQuery mode?
They are evaluated by the underlying source database at query time.
What does each row in a calculated column return?
A single value.