Step 6: Filter Pivot
This step filters for specific members in Product that
have Sales > 200,000 over normal work days
(Monday to Friday)
To do that:
1. Right click on the Product dimension cell inside the
pivot
2 .From the pop menu, select Filter, then Apply NewFilter.
3. Inside the Filter dimension dialog, we wish to get all
products with Sales > 200,000 over all working days
combined.
To accomplish that, we must assign a specific scope to our
measure. Instead of asking (Sales) > 200,000, we need to ask
(Sales, [Working Days]) > 200,000, where [Working Days] =
(Mon, Tue, Wed, Thu, Fri)
To do that:
3.1 Click on the click to define a scope area under the Sales
measure.
3.1 Click on the Purchase date (Weekdays) dimension.
3.2 Right click on the Product dimension cell inside the
3.3 Inside the popup, expand the All Purchase date (Weekdays)
member.
3.4 Select Monday till Friday by clicking on each
member node.
3.5 Change the equal sign to the greater than(>) sign in the
criteria box.
3.6 Change the default zero value to 200,000.
3.7 Click on the OK button in the Select input from Purchase
date(Weekdays) popup menu.
3.8 Click on the OK button in the Assign Scope For Sales
popup window.
Note:
To cancel the current selection in the popup, click on the clear button , or anywhere outside the popup window
Explanation: We can see that our pivot changed its
products content. Notice that since we have months
before the products, the filter will automatically
calculate weekdays per month. If we had quarters or
years before the products, then the filter would
automatically take that into consideration and would apply
sales of weekdays per quarter, or per year. This kind
of filtering inside Prism is called context sensitive
filtering, and it saves you lots of time when creating
and using filters because as a filter author,
you don't need to worry about personalizing the filter for
each user, or each specific scenario.
Note:
If we had customers before the products, then the filter would return products that had 200,000 weekday sales per customer