An analyst wants to create a bar chart showing the total sales for each Sub-Category. They also want to display a reference line showing the average sales for the corresponding product Category for comparison. The view contains [Category] and [Sub-Category] on the Rows shelf. Which calculation will correctly compute the average sales at the Category level, regardless of the Sub-Category detail in the view?
-
A
SUM({EXCLUDE [Sub-Category] : AVG([Sales])})
-
B
{INCLUDE [Category] : AVG([Sales])}
-
C
WINDOW_AVG(SUM([Sales]))
-
D
{FIXED [Category] : AVG([Sales])}