Delete a Filter from a Mining Model
APPLIES TO:SQL Server Analysis ServicesAzure Analysis Services
When you create a filter on a mining model, you can create models on a subset of the data in the data source view. Filters are also useful for testing the accuracy of the model on a subset of the original data.
However, you must delete the filter if you want to view the complete set of cases again. This procedure describes how to remove conditions on a filter, or delete the filter completely.
To delete a condition from a filter on a mining model
In SQL Server Data Tools (SSDT), in Solution Explorer, click the mining structure that contains the mining model you want to filter.
Click the Mining Models tab.
Select the model, and right-click to open the shortcut menu.
Select the model. On the Mining Model menu, select Set Model Filter.
In the Model Filter dialog box, right-click the row in the grid that contains the condition you want to delete.
To clear the filter on a mining model in the Filter Editor dialog box
- In the Filter Editor dialog box, right-click any row in the grid, and select Delete All.
Working with Model Filters Using the Properties Window
If you want to delete the whole filter, you do not need to open the filter editor dialog boxes. The filter conditions that you created are available in the Filter property of the mining model.
You can view the properties of a mining model in SQL Server Data Tools (SSDT), but not in SQL Server Management Studio.
To clear the filter on a mining model in Solution Explorer
In Solution Explorer, click the mining model that contains the filter.
In the Properties window, right-click the filter text in the Filter property, and select Select All.
Press the Backspace or Delete key.