MicroStrategy ONE
How to Filter Data Based on Dates
This filter is an attribute form qualification that enables you to filter data based on an attribute with a date data type. For example, you can create a date qualification on the Day attribute to return data for only those days between January 1, 2024 and February 12, 2024.
Use the following procedure to create a date qualification filter.
For an introduction to attribute form qualifications, see Attribute Form Qualification.
To qualify on a date
- Click Create on any page, and select New Filter.
- In the pane on the left, navigate to the attribute with the date data type on which you want to qualify.
-
Right-click the attribute and select Add to Filter.
If DHTML is disabled, select the attribute and click Add > to add the attribute to the Filter panel.
- Click Qualify.
- From the first drop-down menu, select the form you want to filter data based on. This is usually ID.
- From the next drop-down menu, select the operator that describes how you want to filter data. If you want to use a data range in your filter, select Between.
-
In the last field, type the value(s) or click the calendar to select a date to use to qualify on the attribute form. This is the value that will be compared against the data in your data source.
If you are using a date range in your filter, click the calendar again to select the second date. For example, if you want to filter data so the report shows results between January 1 2024 and February 12 2024, click the calendar and select January 1 2024, then click the calendar again and select February 12 2024.
You can compare the form to a dynamic date, which is a fixed offset of the current date, such as one month ago. For instructions to define a dynamic date, see Dynamic Date Editor.
- Click the Apply icon .
- Click Save As.
- Navigate to the folder where you want to save the filter. Type a Name and Description for the filter, and click OK.
The filter that you created can now be added to a report. For steps, see How to Add a Stand-Alone Filter to a Report.