Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to create Calendar dimension in Power BI?

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. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

May be ";" instead of ","? 

View solution in original post

5 REPLIES 5
Tahreem24
Super User
Super User

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!

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Hey @Anonymous ,

 

Replace ";" with "," just like below syntax.

CALENDAR (DATE (2005, 1, 1), DATE (2015, 12, 31)

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

@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!

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

What could be wrong?

 

Failed_to_create_Calendar.png

 
Anonymous
Not applicable

May be ";" instead of ","? 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors