Skip to main content

How Business Intelligence Combines Filters

How Business Intelligence Combines Filters

This section describes how the system combines filters.

If you apply multiple simple filters, the system combines them as follows (but see the important note after this list):

  • The system uses a logical AND to combine all the items shown in the bar above the pivot table.

    Filter Meaning
    2 labels: Favorite color is blue, favorite color is green
    All patients whose favorite color is green and whose favorite color is blue (zero patients)
    2 labels: Allergies is mold, allergies is pollen
    All patients who are allergic to both mold and to pollen
    2 labels: Favorite color is green, allergies is ant bites
    All patients whose favorite color is green and who are allergic to ant bites
  • If this bar displays a level, and if you have selected one or more members of that level in the drop-down, those members are combined with a logical OR.

    Filter Meaning
    favorite color filter with label blue+green
    All patients whose favorite color is either green or blue
    allergies filter with label mold+pollen
    All patients who are allergic to mold, to pollen, or to both
    favorite color filter with label blue+green and allergies filter with label ant bites
    All patients whose favorite color is green or blue and who also are allergic to ant bites

If you have also applied advanced filters, those are combined with the other filters via logical AND.

Important:

Depending on the form of the combined filter, the system might perform axis folding. This phrase refers to the process of combining multiple filters (a filter is considered to be a query axis). Axis folding means that if a given source record has a non-null result for each slicer axis, that record is counted multiple times. For details on when this occurs, see Axis Folding in How the Business Intelligence Query Engine Works.

FeedbackOpens in a new tab