Persisting Data Filters

Data filters (Top/BottomN, Sort, or Hide/Show) are persisted even after the members selected for the data filter are no longer in the query. As long as the overall dimension selections in the data layout are not modified, the data filter can still be applied. This behavior enables users to retain the data filter definition even when the query is modified or rebuilt. If the dimension selections in the data layout are changed and the data filter definition is not removed or modified, the results set may not be synchronized with what has been requested.

To alert users to pre-existing data filter definitions when the members selected for the data filter are not in the query, CubeQuery includes the prompt: “A Data Filter definition can no longer be applied. Would you like to Leave the definition, Remove or Update it?”

Valid responses include:

Under certain circumstances, the user may not be prompted: