The Boxplot chart example shown in this article was created using the following steps:
-
Choose File > New > Analysis Report.
The Select Data Source dialog box opens.
-
Select SteelWheelsSales and click OK.
The new report displays.
- Select Boxplot in the chart list.
- Add the Territory market to the Category layout and add the Years time to the Series layout.
- In the Available fields list, right-click any field in Measures and choose Create Calculated Measure.
-
Enter Median as the Display Name and calculate the median of the set by entering the following MDX query in the Create
Calculated Measure formula panel and clicking OK: Median(Descendants([Product].CurrentMember,[Product].[Line]),
[Measures].[Quantity])
- Create a Lower Quartile calculated measure set by entering the following MDX query in the Create Calculated Measure formula panel and clicking OK: FirstQ(Descendants([Product].CurrentMember,[Product].[Line]), [Measures].[Quantity])
- Create an Upper Quartile calculated measure set by entering the following MDX query in the Create Calculated Measure formula panel and clicking OK: ThirdQ(Descendants([Product].CurrentMember,[Product].[Line]), [Measures].[Quantity])
- Create a Minimum calculated measure set by entering the following MDX query in the Create Calculated Measure formula panel and clicking OK: Min(Descendants([Product].CurrentMember,[Product].[Line]), [Measures].[Quantity])
- Create a Maximum calculated measure set by entering the following MDX query in the Create Calculated Measure formula panel and clicking OK: Max(Descendants([Product].CurrentMember,[Product].[Line]), [Measures].[Quantity])
- Right-click each of the five measures you have created and choose Add to Report.
Your Boxplot chart will display as shown in this article.