Framework Flashcards

1
Q

What is DAX?

A

Its a querying language for building Summary Tables on demand.

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

What is a summary table?

A

Its like a pivot table of your model, you take detailed rows and dax creates summary tables on the fly

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

What does every single power bi visual have behind it?

A

A summary table

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

What does every data point in a visual correspond to?

A

A specific row in a summary table

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

What are the 2 sections of Summary Tables?

A

Grouping Columns and Measure Columns

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

In Summary Tables, what are the Grouping Columns?

A

The combination of categories we want to answer questions about

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

In Summary Tables, what are the Measure Columns?

A

The answer for every combination of categories or the answer for a group

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

How are Summary Tables created?

A

By Summary Queires (DAX queries)

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

What are visuals in Power BI built with?

A

Summary Tables

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

What is the key to understanding DAX?

A

Think in tables. What does the summary table need to look like to answer your question

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

What are the 3 elements of the long DAX framework?

A

Revise, Derive, Iterate

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

What does the Revise element do?

A

Add or Remove filters

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

What does the Derive element do?

A

Derive tables, they create temp tables based on current filters

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

What does the Iterate element do?

A

Iterate through temp tables, They process temp tables into new numbers or new temp tables

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

Common Revisers

A

CALCULATE( )
CALCULATETABLE( )
[Any Measure]

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

What are the 7 coding patterns?

A

It is the common arrangment of the three long dax elements

  1. Builder
  2. Clearing Override
  3. Static Override
  4. Dynamic Override
  5. Per Item
  6. Comparison
  7. Safety
17
Q

Common Derivations

A

Table
VALUES( Column )
ALL( Table )
ALL( Column )

18
Q

Common Iterators

A

SUMX( )
AVERAGEX( )
MAXX( )/MINX( )
FILTER ( )

19
Q

What is the Builder coding pattern?

A

Build a new value using a derivaiton, iterator and exitising filters

20
Q

Explain the builder coding pattern

A

Modify the Filter Context, Derive a temp table, add a column to it, and iterate

22
Q

What is the Clearing Override coding pattern?

A

Remove the same filter every time

23
Q

What is the Static Override coding pattern?

A

Add the same filter every time

24
Q

What is the Dynamic Override coding pattern?

A

Add a new “smart” filter every time

25
What is the Per Item coding pattern?
Average _____ per _____ calculation
26
What is the Comparison coding pattern?
Subtractions and variances
27
What is the Safety coding pattern?
Hide answers that don't make sense