Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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 ","?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.