Skip to main content

Filter report and cube instances using view filters

tip

You can try out this workflow at REST API Playground.

Learn more about MicroStrategy REST API Playground here.

When you create a MicroStrategy report or cube instance using the following REST API endpoints, you can use a parameter called viewFilter in the body parameter of the request to filter the data that is returned:

  • POST /api/cubes/{cubeId}/instances
  • POST /api/reports/{reportId}/instances
tip

Because the filter is applied to a report or cube instance, it is not persisted.

View filters can have both metric and attribute qualifications. They are applied before data is aggregated.

The following topics are designed to help you understand and use view filters.