About filters

An important step in designing a report is ensuring that the correct data is returned from your data sources to be displayed on the report. To do this, you add a filter to the report.

A filter screens data in your data source to determine whether the data should be included in or excluded from the calculations of the report results. A filter is not required in a report, although reports without filters are more likely to return too much data to be displayed effectively. If a filter is added, it should make sense with the objects already on the report.

For an introduction to filters, images of the various types of filters, an introduction to the Filter Editor, diagrams and examples to show how to join filter qualifications with operators such as AND and OR, and a table that lists each filter type and what data it is designed to filter, see the MicroStrategy Basic Reporting Guide.

Creating a filter

To create a stand-alone filter object within a MicroStrategy project, review the table below to determine what kind of filter you want to create. Then use the appropriate link for steps to create that filter.

Filter Type

Filter Name

What Data It Is Designed To Filter

Attribute qualifications

These types of qualifications restrict data related to attributes on the report.

Attribute form qualification

Create a filter based on attribute forms.

For details, see Filtering data based on attribute forms: Attribute form qualification.

Filters data related to a business attribute's form(s), such as ID or description.

For example, the attribute Customer has the forms ID, First Name, Last Name, Address, and Birth Date. An attribute form qualification might filter on the form Last Name, the operator Begins With, and the letter H. The results show a list of customers whose last names start with the letter H.

Attribute element list qualification

Create a filter based on attribute elements.

For details, see Filtering data on attribute elements: Attribute element list qualification.

Filters data related to a business attribute's elements, such as New York, Washington, and San Francisco, which are elements of the attribute City.

For example, the attribute Customer has the elements John Smith, Jane Doe, William Hill, and so on. An attribute element list qualification can filter data to display only those customers that you specify in the qualification.

Attribute-to-attribute qualification

Create a filter by comparing two attributes.

For details, see Filtering data by comparing attributes: Attribute-to-attribute qualification.

Filters data by comparing the attribute forms of two attributes.

For example, an attribute-to-attribute qualification might filter data to display information only for those customers whose First Order Date is equal to their Last Order Date.

Set qualifications

These types of qualifications restrict data based on the value, rank, or percentage of a metric, by comparing the values of two metrics, or based on the relationships between the attributes on the report.

Metric set qualification

Create a filter based on metric value or rank.

For details, see Filtering data on metric values or rank.

Filters data related to a set of attributes that are determined based on the metrics associated with those attributes.

For example, a metric set qualification might filter data to display sales data for only those products with an inventory count below a specified number.

Metric-to-metric qualification

Create a filter comparing the values of two metrics.

For details, see Filtering data by comparing metrics: Metric-to-metric qualification.

Filters data by comparing the values of two metrics.

For example, a metric-to-metric qualification might filter data to display those records with Revenue greater than Last Year Revenue.

Attribute qualification

Create a filter based on relationships between attributes.

For details, see Filtering data on an attribute: Attribute Qualification prompts.

Filters data based on a specific relationship between two attributes.

For example, a relationship set qualification might filter data to display those stores selling Nike shoes in the Washington, DC area.

Shortcut qualifications

These types of qualifications restrict data related to existing report results or an existing filter.

Shortcut-to-a-report qualifications

Create a filter based on the results of an existing report.

For details, see Filtering data based on report results: Shortcut-to-a-report qualification.

Uses the result set of an existing report as is, or with additional conditions, as a filter in a different report.

For example, you might use a shortcut-to-a-report qualification by taking the result set of one report showing all customers in the Southwest region, placing that result set as a filter into a new report, adding a new filter qualification for active customers in the current year, and displaying all currently active customers in the Southwest region.

Shortcut-to-a-filter qualifications

Create a filter based on an existing filter.

For details, see Filtering data based on an existing filter: Shortcut-to-a-filter qualification.

Uses an existing filter as is, or with additional conditions, in a report.

For example, you might use a shortcut-to-a-filter qualification by taking an existing filter for Region = Northeast and Year = 2006, placing it in a report, and adding a new filter qualification for Month of Year = December.

Adding a filter to a report

Filters can be added to reports in two ways:

Both types of filters accomplish the same results in a given report. The difference is that a stand-alone filter can save you time, because it can be reused on multiple reports. This is especially useful if your report users require common subsets of data for almost every report you create. For example, if most of your users will only need to see results for your Northeast region for the current year, you can create a filter with the Northeast attribute and the current year attribute in it. When you add that filter to all reports, only data related to the Northeast region for the current year will be displayed.

Related topics