Untitled Deck Flashcards

(50 cards)

1
Q

What does DAX stand for?

A

Data Analysis Expressions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the three types of calculations you can add using DAX?

A

Calculated tables, calculated columns, and measures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Are row-level security (RLS) rules considered model calculations?

A

No, they are not considered model calculations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What language is used to define RLS rules?

A

DAX.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a calculated table in Power BI?

A

A table created using a DAX formula within the model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Can calculated tables connect to external data sources?

A

No, they cannot.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How is the data in calculated tables stored?

A

It is imported into the model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a drawback of using calculated tables?

A

They increase storage size and can prolong refresh time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What Power Query feature is needed to connect to external data?

A

You must use Power Query for external data connections.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Name three use cases for calculated tables.

A

Date tables, role-playing dimensions, and what-if analysis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why are date tables important?

A

They enable DAX time intelligence functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which DAX functions can you use to create a date table?

A

CALENDAR and CALENDARAUTO.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a role-playing dimension?

A

A dimension table used multiple times with different relationships.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Give an example of role-playing dimensions.

A

A Sales table with OrderDateKey and ShipDateKey both related to a Date table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How many active relationships can exist between two tables in Power BI?

A

Only one active relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What function activates an inactive relationship in DAX?

A

USERELATIONSHIP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What’s an alternative design to a role-playing dimension?

A

Create duplicate calculated tables for each date role (e.g., Ship Date table).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What type of table is created when you use a What-if parameter?

A

A calculated table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Are What-if parameter tables connected to other tables?

A

No, they are disconnected tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Why are What-if tables called ‘disconnected’?

A

They don’t propagate filters to other tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is a calculated column in Power BI?

A

A column added to a table using a DAX formula.

22
Q

How often are calculated columns evaluated in Import mode?

A

During model refresh.

23
Q

How are calculated columns evaluated in DirectQuery mode?

A

They are evaluated by the underlying source database at query time.

24
Q

What does each row in a calculated column return?

A

A single value.

25
Do calculated columns increase storage size?
Yes, when used with Import mode.
26
How are calculated columns indicated in the Fields pane?
With a special icon.
27
Can you create a calculated column in any table?
Yes, in any table within the model.
28
What is a measure in Power BI?
A DAX formula that summarizes data and returns a single value.
29
When is a measure evaluated?
At query time.
30
Do measures increase the size of your data model?
No, because results are not stored.
31
How are measures indicated in the Fields pane?
With a calculator icon.
32
Give three examples of measures in a Sales table.
Cost, Profit, Revenue.
33
What’s another name for explicitly written DAX measures?
Explicit measures.
34
What are implicit measures?
Aggregations like sum or count created automatically by visuals.
35
How are implicit measures indicated in the Fields pane?
With a sigma symbol ( ∑ ).
36
Can any column be used as an implicit measure?
Yes, when added to a visual.
37
Is there a concept of a 'calculated measure' in Power BI?
No, there is no such term; only calculated tables/columns and measures.
38
What distinguishes calculated columns from columns created in Power Query?
Calculated columns are created using DAX; Power Query columns are not.
39
What distinguishes a calculated table from an imported table?
A calculated table is created using DAX, not from a direct data source.
40
Which DAX function would you use to create a date series?
CALENDAR or CALENDARAUTO.
41
What function do you use to activate an inactive relationship in DAX?
USERELATIONSHIP.
42
What do calculated columns and measures have in common?
Both return a single value per evaluation.
43
What's a major difference between a calculated column and a measure?
Calculated columns are evaluated at refresh; measures at query time.
44
Which DAX calculation type stores results in the model?
Calculated columns and calculated tables.
45
Which DAX calculation type does NOT store results in the model?
Measures.
46
What icon indicates a calculated column?
A special column icon (unique to calculated columns).
47
What icon indicates a measure?
A calculator icon.
48
What icon indicates an implicit measure?
Sigma symbol ( ∑ ).
49
What is a practical use of a What-if parameter?
Letting users select an exchange rate to see its effect on revenue.
50
Why might you duplicate a Date table as a calculated table?
To handle role-playing dimensions with multiple active relationships.