You have a sales table with columns ProductCategory and SalesAmount. You want to create a measure that returns the minimum sales amount for each product category.
Which DAX expression will correctly calculate this?
Think about how to keep the filter on ProductCategory while calculating the minimum.
Option D uses CALCULATE with ALLEXCEPT to remove all filters except ProductCategory, so the minimum sales amount is calculated per category.
Option D calculates the minimum over the entire table ignoring categories. Options C and D use MAX which is incorrect.
You want to show the maximum and minimum sales amounts for each region in a report. Which visualization type is best to clearly show both values side by side for easy comparison?
Think about how to compare two values side by side for each category.
A clustered column chart shows max and min sales as separate columns next to each other per region, making comparison easy.
Stacked columns combine values, pie charts are not good for comparing two values per category, and line charts are better for trends over time.
You have a sales table with multiple sales records per product. You want to add a calculated column that flags 1 if the sale amount is the maximum for that product, and 0 otherwise.
Which DAX expression correctly creates this calculated column?
Remember to keep the filter on the current product when calculating the max.
Option A compares the current row's sales amount to the maximum sales amount for the same product using ALLEXCEPT to keep the product filter.
Option A compares to the max over the entire table, ignoring product. Option A uses MIN instead of MAX. Option A compares to max over all products, which is incorrect.
Given this DAX measure:
MaxSalesYear = MAXX(FILTER(Sales, Sales[Year] = MAX(Sales[Year])), Sales[SalesAmount])
What error or issue will this measure cause when used in a report?
MaxSalesYear = MAXX(FILTER(Sales, Sales[Year] = MAX(Sales[Year])), Sales[SalesAmount])
Think about how MAX inside FILTER behaves when filtering the same column.
The measure uses MAX(Sales[Year]) inside FILTER on Sales[Year], causing a circular dependency because MAX tries to evaluate over a filtered column that depends on MAX itself.
This leads to an error in Power BI.
In Power BI, when calculating MIN or MAX over a column that contains BLANK() values, what is the behavior?
Choose the correct statement.
Think about how aggregation functions treat missing or empty values.
MIN and MAX ignore BLANK values and calculate over the remaining non-blank values.
They do not treat BLANK as zero or return BLANK unless all values are BLANK.