Step 1
From the Measures pane,
drag Number of Records to the Rows shelf.
Step 2
On the Rows shelf,
right-click SUM(Number of Records) and select Measure (Sum)
> Minimum.
The label on the field changes
to MIN(Number of Records).
Step 3
Right-click MIN(Number of
Records) and select Discrete.
Step 4
Right-click MIN(Number of
Records) again and select Add Table Calculation.
Step 5
In the Table Calculation
dialog box, in the Calculation Type list, select Running Total.
Step 6
Under Calculation Definition,
in the Summarize values using list, keep the selection of Sum.
Step 7
In the Running within
list, select Product-Region.
Step 8
When finished, click OK.
Step 9
Hold down the Ctrl key and drag
the MIN(Number of Records) field from the Rows shelf to the Level
of Detail shelf on the Marks card. Using the Ctrl key in this
way copies a field from one shelf to another.
Step 10
On the Level of Detail
shelf, right-click MIN(Number of Records) and select Continuous.
Step 11
On the Level of Detail
shelf, right-click MIN(Number of Records) again and select Filter.
Step 12
In the Filter dialog box,
in the text box on the right, type a number to specify how many values you
want to see. In this example, type "5" to see the Top 5 products,
etc.
Step 13
When finished, click OK.
Step 14
On the Rows shelf,
right-click MIN(Number of Records) and clear the selection of Show
Header.
Step 15
Optionally, remove both copies
of MIN(Number of Records) from the Tooltip by right-clicking each
field and clearing the selection of Include in Tooltip.
The final view shown below now
shows the Top 5 products within each region.
|
No comments:
Post a Comment