About Working with Filters
Filters are used to restrict the data that is presented in a report.
Viewpoint Analytics™ offers the following options for filtering reports:
- Filtering Level Fields: Level fields contain non-numeric information, so you can choose to include or exclude certain values at will. Time Periods, Names, Types, and Categories are examples of Level field groups; Product Line is an example of a specific level field.
- Filtering Measure Fields: Measure fields include numeric information. Sales Revenue is an example of a measure field. You can create a numeric filter using Greater/Less Than or Top Ten.
About Filtering Level Fields
The dialog box for filters on level fields lets you choose between two types of filters:
- Selecting from a list of values. Viewpoint Team displays a list of values, and you choose to include or exclude certain values
- Match part of a string. You type in part of the name (string) that the name Contains or Does not Contain
When you filter on time periods you have three options:
- Commonly Used Time Periods . Viewpoint Analytics displays common time periods. These options can be useful because they dynamically change as time goes by. If you set "current quarter," you don't have to change your filter every new quarter.
- Select a range. Lets you define a range.
- Select from a list. Use this option when the other options are not sufficient. Here you can choose to include or exclude any time period.
About Filtering Measure Fields
You can restrict report data by applying conditions (for example, Show me all product lines with sales revenue greater than 500) to measure fields. There are two flavors of the numeric filter:
- Greater/Less Than...
- Top 10, etc...
- If your numeric filter has both a Greater Than and a Top Ten component at the same time, the Greater Than component is applied before the Top Ten component.
- You can have only one numeric filter on a report at any given time.
- When the report is generated, the numeric filter is applied after other filters are applied.
When you create a numeric filter, you specify:
- One or more measure fields. You cannot select a calculated field (such as % of, Rank, Running Sum, etc.).
- One level field, which indicates the values the numeric filter will filter. Note: If you remove the level field from the report later, the numeric filter also is removed.
Example 1: The following report shows sales by region and product line without a numeric filter:
Example 2: Now let's filter the report to show only data where sales revenue is above $12 for each product line. The filter removes any product lines that do not meet that criteria. Also note that the filter acts on sales for 2006 Q4 (as opposed to sales for all time periods).
Compare this to a filter that applies to each Region. The filter below removes regions.
View and Edit Filters
To view the filters that are applied to a report, click the Show Filters button to display the Filters pane.
To edit an existing filter, click the Edit filter symbol next to the filter in the Filters pane.
Add a Filter
A filter always acts on a field, so the first step is always to select a field. To add a new filter, use one of the following methods:
- Method 1: Click on a field in the report, and select Filter from the menu. (This method assumes you use the field in the report).
- Method 2: From the
Available fields... pane, identify the field you
want to filter, and then drag the field into the Filters
area of the page. The Filters area is shown here.
- Method 3: In the Available fields... pane, identify the field you want to filter, and right click on the field, and select Filter.
For details, see Apply a Filter to a Field.
How Filters Work Together
Filters are applied in the following order:
- Level field filters, such as Product Line = Snow Sports or Time Period = 2006 Q4. (Note that the order between these filters is irrelevant.)
- Greater/Less Than component of numeric filters. This filter will further restrict the data.
- Top Ten component of numeric filters. This filter will even further restrict the data.
Another way to express this is: All level field filters are applied first (#1) creating a first "invisible" version of the report. Second, Greater/Less than filters are applied on this invisible report (#2), and -- finally -- based on this report, the Top 10 filter is applied (#3).