- Open a Power BI Desktop file locally and access the Query Editor by clicking on Edit Queries from the Home tab.
- Create a blank query to retrieve the current date via the following M expression:
The Current Date is returned as a Date type
- Name the new query CurrentDate and disable its load to the data model
- From the Home tab of the Query Editor, click on the Manage Parameters dropdown and select New Parameter:
New Parameter Created for Filtering Fact Table Queries
- Give the query a name, a data type, ...