Default Date Range: Difference between revisions
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
== Related Topics = | = How to change the Default Start Date and End Date = | ||
To change the models default start date and end date, follow these steps. | |||
# Click on '''Models''' on the menu in the left-hand side; | |||
# Find the [[Models|model]] you want to work on and click '''View'''; | |||
# Select the '''Settings''' tab; | |||
# Click on the '''Edit Model''' button; | |||
# Find the [[Default Date Range]] and update the values. | |||
#: These dates will apply when no date filters are applied via the [[OData client]]. | |||
# Click '''Save'''. | |||
= Related Topics = | |||
:[[Editing a model's details|Editing models]] | :[[Editing a model's details|Editing models]] | ||
:[[Models]] | :[[Models]] | ||
Revision as of 17:17, 3 February 2025
The Default Date Range reduces the amount of transactions data downloaded via the endpoints.
This is controlled via a Start Date and an End Date
When downloading data via OdataLink, any date filter applied to your Power Query will take precedence over these default values. However, if you do not apply a date filter, these defaults will be used.
The Default Start Date is used to exclude transactions dated prior to this date.
The Default End Date is used to exclude transactions dated after to this date.
You can leave the values blank to not restrict the amount of data download. This will come at the cost of reduced performance.
It's important to note that if a date filter is applied to the OData feed via Excel, Power BI or another client, these defaults will not be used.
How to change the Default Start Date and End Date
To change the models default start date and end date, follow these steps.
- Click on Models on the menu in the left-hand side;
- Find the model you want to work on and click View;
- Select the Settings tab;
- Click on the Edit Model button;
- Find the Default Date Range and update the values.
- These dates will apply when no date filters are applied via the OData client.
- Click Save.