Introduction to DAX Flashcards
What direction does related() move in?
From the many side to the one side
Does related() transverse all of the many to one relationships?
Yes
Relatedtable() returns…….
a table containing all the rows of a table on the many side that have a relationship with the current row on the table on which we define the column or we write the expression.
Calculated columns add ___ and ____ to your model
Size and Memory
What are calculated at the report level? What are calculated line by line in your model and NOT at the report level?
Measures, calculated columns
When are calculated columns usually used?
When you need to slice
Measures are computed in the context of the report? (True/False)
True
What do iterators do?
Iterate over the table and evaluate the expression for each row (at report level)
Is it better to use SUM() or SUMX()?
There is no difference, SUM(Table[Column]) translates to SUMX(Table,Table[Column]) on the backend.
What can you replace multiple || operators with?
You can replace multiple || operators with the IN function or the SWITCH function.