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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
pallavi_r
Super User
Super User

MS Fabric Semantic Model - DAX Calendar Table

Hi Everyone,

 

I need create this DAX calendar table using Calendar(Min(Transaction[Date])), Max(Transaction[Date])))

 

How can I do this in MS Fabric Semantic Model, I can see only option to create measure. Dax table option I cannot find anywhere.

 

Please advise.

Thank you,

Pallavi

1 ACCEPTED SOLUTION
Jonvoge
Super User
Super User

Hi pallavi_r

 

I assume that you are creating a Semantic Model with Direct Lake storage mode?

In this case, you are unfortunately right that this can't done via DAX.

 

You may seek alternative approaches:

1. If your Semantic Model is built on a Warehouse, you could create your Calendar Table using SQL (I've had good results getting Copilot / ChatGPT to help me with this), referencing your other tables for Min and Max dates to be used.

2. If you are using a Lakehouse, you could do the same as above but with a Notebook.

3. Third alternative, and maybe most familiar to you if you are used to Power BI, is to use a Dataflow Gen2, and use Power Query to generte the table, and save it in your Lakehouse or Warehouse.

 

When the table has been created in your Lakehouse or Warehouse, you can use it in your semantic model.

_____________________________________________________
I hope my comment was helpful.
If your question was answered, please mark your post as 'Solved' and consider giving me a 'Thumbs Up'.
Find me on LinkedIn, Sessionize, or my blog Downhill Data

View solution in original post

2 REPLIES 2
Jonvoge
Super User
Super User

Hi pallavi_r

 

I assume that you are creating a Semantic Model with Direct Lake storage mode?

In this case, you are unfortunately right that this can't done via DAX.

 

You may seek alternative approaches:

1. If your Semantic Model is built on a Warehouse, you could create your Calendar Table using SQL (I've had good results getting Copilot / ChatGPT to help me with this), referencing your other tables for Min and Max dates to be used.

2. If you are using a Lakehouse, you could do the same as above but with a Notebook.

3. Third alternative, and maybe most familiar to you if you are used to Power BI, is to use a Dataflow Gen2, and use Power Query to generte the table, and save it in your Lakehouse or Warehouse.

 

When the table has been created in your Lakehouse or Warehouse, you can use it in your semantic model.

_____________________________________________________
I hope my comment was helpful.
If your question was answered, please mark your post as 'Solved' and consider giving me a 'Thumbs Up'.
Find me on LinkedIn, Sessionize, or my blog Downhill Data

Thanks @Jonvoge  for confirming that. I did it sql way taking all the unique transaction date. 😞

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.