DAX Formulas and Calculations Flashcards
6 cards from real Power BI 778 practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 DAX Formulas and Calculations flashcards as text
What does the DAX function CALCULATE do?
Answer: Evaluates an expression in a modified filter context
CALCULATE evaluates a DAX expression after applying the specified filter modifications to the current filter context.
Which DAX function returns the total of all values in a column, ignoring any filters?
Answer: CALCULATE(SUM(), ALL())
Wrapping SUM with CALCULATE and ALL() removes all filters, returning the grand total regardless of current context.
What is the difference between SUM and SUMX in DAX?
Answer: SUM works on columns; SUMX iterates a table row by row
SUM aggregates a single column directly, while SUMX iterates each row of a table and evaluates an expression per row.
Which DAX function counts the number of rows in a table?
Answer: COUNTROWS
COUNTROWS returns the number of rows in a specified table or table expression.
What does the ALL() function do when used inside CALCULATE?
Answer: Removes all filters from the specified table or columns
ALL() removes filters from the specified table or columns, allowing calculations to ignore slicers and report filters.
Which DAX time intelligence function calculates year-to-date totals?
Answer: TOTALYTD
TOTALYTD evaluates an expression from the beginning of the year up to the last date in the current filter context.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- learn.microsoft.com — Renewal, retake fee, passing score, exam format, test delivery, fees, time limit, exam information · verified Oct 2026