Sei sulla pagina 1di 1

Filters

What is filter?
Filter is used to restrict data in a report
What is report as filter?
In the MicroStrategy when the same filter conditions must be applied to multiple passes, the same where
clause appears in each of those passes. This redundant where clause can be expensive if the filter
conditions are complicated and thus involve many tables and joins. Ideally, an intermediate table
populated with entries could be created to satisfy the complicated filter conditions so that the rest of the
SQL statements can use that intermediate table. In that case, the where clause would be executed only
once instead of multiple times and SQL performance would be improved. In this case to populate the
temporary table we can use report as a filter
What is view filter?
View Filters: View Filters are the conditions that come into play before a specific result is presented to
the user. Thus the view filters are not part of the SQL statements like report definitions, rather they are the
filters applied after the execution of the SQL statements, after the data is retrieved from the data
warehouse.
What is filtered prompt?
We can restrict the number of elements in a prompt using a filter.
Difference between report and view filter?
Report filters: report filters are the conditions that accompany the report generating SQL statements. The
report definitions have the filters as part of their definition.
View Filters: View Filters are the conditions that come into play before a specific result is presented to
the user. Thus the view filters are not part of the SQL statements like report definitions, rather they are the
filters applied after the execution of the SQL statements, after the data is retrieved from the data
warehouse.

Potrebbero piacerti anche