Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I need to slice data by year, month, week, day. How to create calendar table easily in Power BI? My primary data source is CosmosDB thus I don't have SQL DB available.
Solved! Go to Solution.
HI @Anonymous ,
Create Calculated Table as "Calendar" and enter expression like below:
CALENDAR (DATE (2005, 1, 1), DATE (2015, 12, 31)
You can refer below links for more reference:
1. https://radacad.com/create-a-date-dimension-in-power-bi-in-4-steps-step-1-calendar-columns
2. https://www.mssqltips.com/sqlservertip/4857/creating-a-date-dimension-table-in-power-bi/
Please dont forget to give Thumps up and accept this as a solution!
Hey @Anonymous ,
Replace ";" with "," just like below syntax.
CALENDAR (DATE (2005, 1, 1), DATE (2015, 12, 31)
@Anonymous ,
I will really appreciate your KUDOS.
And my suggestion helped you so please mark it as a solution so other can take help from it!
Thanks!
What could be wrong?
May be ";" instead of ","?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.