Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi,
In the query editor please can you tell me how to automatically create a list of all calendar dates?
Thanks,
CM
Solved! Go to Solution.
Hi @CloudMonkey
Please try these steps
https://powerpivotpro.com/2015/02/create-a-custom-calendar-in-power-query/
Power Query can't automatically detect the date range within data model to generate list of dates, which means it can only work as CALENDAR() function so that you have to manually specify the start and end dates to create this calendar table.
I suggest you create a calculated table with Power Query, group records with Max and Min aggregation, please refer to threads below:
Then use Power Query to create a custom calendar based on the calculated table with StartDate and EndDate as Phil's provided article suggested.
Regards,
Power Query can't automatically detect the date range within data model to generate list of dates, which means it can only work as CALENDAR() function so that you have to manually specify the start and end dates to create this calendar table.
I suggest you create a calculated table with Power Query, group records with Max and Min aggregation, please refer to threads below:
Then use Power Query to create a custom calendar based on the calculated table with StartDate and EndDate as Phil's provided article suggested.
Regards,
Hi @CloudMonkey
Please try these steps
https://powerpivotpro.com/2015/02/create-a-custom-calendar-in-power-query/
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
116 | |
108 | |
108 | |
93 | |
70 |
User | Count |
---|---|
173 | |
135 | |
131 | |
96 | |
94 |