You want to create a summary card in Tableau that shows the average sales amount for the current year. Which of the following calculated fields will correctly compute the average sales?
Think about the simplest way to calculate average sales using built-in aggregation functions.
The AVG() function directly calculates the average of the Sales field. Option C divides total sales by distinct orders which may not be accurate if orders have multiple sales entries. Options A and D use table calculations which are unnecessary for a simple average.
In Power BI, you want to create a statistical summary card that shows the median sales amount. Which DAX measure will correctly calculate the median sales?
Use the DAX function that directly calculates the median of a column.
MEDIAN() returns the median value of the column. Option D returns average, C returns mean by manual calculation, and D tries to calculate median ignoring filters which is not always desired for a summary card.
Which of the following is the best practice when designing a statistical summary card for business users?
Think about what helps users quickly understand key information.
Summary cards should be simple and clear, focusing on key statistics and visual cues. Complex stats can confuse users, raw tables clutter the view, and flashy visuals can distract from the message.
A Tableau user wrote this calculated field to show the percentage of total sales:SUM([Sales]) / SUM(TOTAL([Sales]))
Why does this calculation produce an error or incorrect result?
SUM([Sales]) / SUM(TOTAL([Sales]))
Check how TOTAL() works and what data type it returns.
TOTAL() returns an aggregated number, not a column or set, so wrapping it inside SUM() is invalid and causes a type error.
You need to create a summary card in Power BI that dynamically updates to show the average sales for the selected region and year. Which DAX measure will correctly achieve this behavior?
Consider how CALCULATE works with filters and what happens if you remove or keep them.
Option B calculates average sales respecting current filters (region and year). Option B removes all filters, ignoring selections. Option B calculates average but may not respond to slicers if context is complex. Option B removes filters, so it ignores user selections.