Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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/
User | Count |
---|---|
75 | |
75 | |
45 | |
31 | |
27 |
User | Count |
---|---|
99 | |
89 | |
52 | |
48 | |
46 |