With filters, unwanted periods of data can be removed. This can be done from any search or manually on the chart.
Filters can be used to exclude selected time periods to prevent ingenuine data from interfering with carefully considered signal searches.
There are two reasons to use filters in TrendMiner:
- To find extremely specific operating conditions, combining multiple searches.
- To neglect certain periods in other analyses such as table comparison, scatterplot, diagnose and the creation of predictive tags.
In the compare table, for example, different metrics can be checked for certain events. The use of filters enables you to compare these periods while neglecting potentially irrelevant smaller periods, like down times.
Important note: In the compare layer table, the two parameters "Evolution similarity" and "Correlation" are not calculated when filters are active.
- Types of filters
- Manual filter
- Filtering using the chart
- Filtering using the search results list
- Saving manual filters
- Search based filters
- Creating a search based filter
- Working with saved filters
- Checking filter details
- Toggling filters
- Combining filters
- Removing filters
- Deleting filters
Types of filters
Depending on your case, a filter can be created in two diverse ways.
Filters can be added manually to the chart or by using the search result option to keep or exclude search results.
Once a filter is added manually, it will be placed in the "Unsaved filter" section of the filter menu. When filters are active, a red dot is shown on the filter's menu icon with a number. This indicates the number of active filters.
Filtering using the chart
On the trend charts, a filter is created by selecting a time period on the focus chart followed by clicking the filter option button.
To include the period again in further analysis, reselect the period and click the remove filter button.
Filtering using the search results list
In the search result list, there is an option to keep or remove the search results. Keeping search results, creates (multiple) filters for the periods not matching the search results. Excluding search results, creates filters for all the search result periods.
Note: More information on how to filter search results can be found on the following link.
Removing manual, search-based filters is also possible in the Unsaved filter section of the filter's menu. You can either remove one specific period by clicking the remove button or remove all filters using the "Clear all" option under the actions button.
Important note: For manual filters, a limit of 10.000 filters is set. If you want to filter out more than 10,000 search results, it is advised to create a dedicated Search based filter (see section below).
Saving manual filters
Although manually added filters are more likely to be used for ad hoc filtering, they can also be saved for later use.
To save these manually added periods, navigate to the filter's menu. Below periods highlighted, you can find the "Save filter" button. Clicking this button opens a side panel from the right where you can provide a filter name and description, and choose where to save this filter in the work organizer. Below the input fields you will see the filter properties overview, that describes the filter type.
Click the "Save filter" button to save the filter. Once this manual filter is saved, you will find it in the Added to view section of the filter menu. The filter type indicates the origin of the saved filters.
Search based filter
Filters can also be created based on saved searches, "Search based filter". This means that the filter periods are not fixed but depend on the search criteria and the selected period of the context chart.
Note: A manual, saved filter can be created by filtering out search results, but the filtered-out regions will always be the same. A search-based filter will execute the search for the selected context period and filter out (or keep) the newly found results.
Creating a search-based filter
To create a filter based on a search, you first need to have a saved search. If you have saved a search, you can start to create a filter by clicking the blue plus button (create search-based filter) in the header of the filter menu.
Once the add search-based filter button is clicked a right-side panel is shown where you can define your search-based filter and save it right away.
- Enter a name and a description for your search based filter
- Select the search of interest in the "Based on" section
- The filter mode has two options:
- "Filter out search results" creates a filter for all results of the search,
- "Filter out everything else" filters out everything between the search results.
Note: the location option is by default set to "My work".
Clicking the "Save filter" confirm button at the bottom of the side panel saves the search-based filter. Once this search-based filter is saved, it is added to the "Added to view" section and is enabled by default.
Working with saved filters
Once a filter is placed in the Added to view section, by creation or by adding a saved one, you can see the actions to enable/disable the filter or to remove it next to the name.
Note: Opening a saved filter is done by clicking the light blue Work organizer block. This will open a side panel where you can search for the desired filter. Once a filter is added it is added to the Added to view section of the filter menu.
Note: It is possible to add more than one filter to a view. All the included filters are saved inside a view.
Checking filter details
Clicking anywhere on a filter (except the options on the right) opens a small detail section about the filter. This reveals information about the type which can be Manual filter or Search based filter.
For Search based filters more details about the search used is shown and which Filter mode is active (exclude or include search results).
Filters can be toggled on or off via the toggle buttons. Every time a search-based filter is switched on, the corresponding search calculates the needed results and filters out the time periods based on the search results and the filter mode which is set.
It is possible to enable multiple filters at the same time. Filters can also overlap with each other. For functionalities that calculate results (searches, statistics table, etc..) overlapping filters are considered as one filtered period.
Once a filter is added in the "Added to view" section it can be saved into the view. Whenever a filter is no longer needed, it can be removed. This is done by clicking the remove button on the right of the toggle button.
This action removes the filter from view.
When a filter is not useful anymore it can be removed from the work organizer.
To do this, open the work organizer tab (in the top bar), search for the filter and remove it.
Note: Once a filter has been deleted, it will also be automatically removed from your view. Since a filter can be saved into a view, unsaved changes can be triggered when this happens.