You have a sales table with columns ProductCategory and SalesAmount. Which DAX measure correctly calculates the total sales for each product category?
Think about which function adds numbers and which averages them.
The SUM function adds all values in the SalesAmount column, giving total sales. AVERAGE calculates the mean, which is not total. Summing ProductCategory is invalid because it is text. SUMX with ProductCategory also fails because it expects numbers.
You want to show the average sales amount per region in a report. Which visualization type is best to clearly communicate this?
Choose a chart that compares average values across categories clearly.
A clustered column chart is good for comparing average sales across regions side by side. Stacked bar and pie charts are better for totals or proportions, not averages. Line charts show trends over time, but here time is not involved.
You have a Sales table with SalesAmount and a Customers table with unique CustomerID. Which DAX measure correctly calculates the average sales per customer?
Think about dividing total sales by number of unique customers.
Option D correctly sums all sales and divides by the distinct count of customers in the Sales table. Option D incorrectly divides average sales by customer count, which is mathematically wrong. Option D uses DISTINCTCOUNT on Customers table which may not relate correctly. Option D tries to average inside SUMX incorrectly.
Consider this DAX measure to calculate average sales:
Average Sales = AVERAGE(Sales[SalesAmount]) + SUM(Sales[Quantity])
What is the main issue with this measure?
Average Sales = AVERAGE(Sales[SalesAmount]) + SUM(Sales[Quantity])
Check if adding average and sum makes sense mathematically.
The measure adds average sales amount to total quantity sold, mixing different units. This leads to a meaningless number. There is no syntax error. SUM works on Quantity. AVERAGE takes one argument.
In Power BI, you have a measure Total Sales = SUM(Sales[SalesAmount]) and a measure Average Sales = AVERAGE(Sales[SalesAmount]). When you add a slicer filtering only one product, what happens to these measures?
Think about how slicers change the data visible to measures.
Slicers apply filter context to visuals and measures. Both SUM and AVERAGE recalculate using only the filtered data for the selected product. So both show values for that product only.