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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
koorosh
Post Partisan
Post Partisan

Date Table

Hi Experts, when I create a Date table by CALENDARAUTO() DAX and mark it as a date table, I got the image1 chart. But if I do not make it as a date table, I got the image2 chart. Why the difference and so, what is the use of Mark as Date Table?

 

Regards

koorosh_0-1639847204366.png

 

koorosh_2-1639847268719.png

 

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @koorosh 

 

'Mark as a date table' most of the time is to use the time intelligence functions. In fact, it is not suitable for newcomers if you need the date hierarchy. As you can see, you can’t use a default hierarchical structure to display data in visual. 

 

If you want to create your own date table and define your own date hierarchy, you can mark as a date table.

Set and use date tables in Power BI Desktop - Power BI | Microsoft Docs

Mark as Date table - SQLBI

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.

 

Best Regards,
Community Support Team _ Janey

View solution in original post

7 REPLIES 7
v-janeyg-msft
Community Support
Community Support

Hi, @koorosh 

 

'Mark as a date table' most of the time is to use the time intelligence functions. In fact, it is not suitable for newcomers if you need the date hierarchy. As you can see, you can’t use a default hierarchical structure to display data in visual. 

 

If you want to create your own date table and define your own date hierarchy, you can mark as a date table.

Set and use date tables in Power BI Desktop - Power BI | Microsoft Docs

Mark as Date table - SQLBI

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.

 

Best Regards,
Community Support Team _ Janey

parry2k
Super User
Super User

@koorosh not sure what answer you are expecting?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@koorosh it is best practice to common date dimension tables, few reasons:

 

- it reduces the size of the model rather than having hidden date tables for each date column in your model

- a common dimension to filter data in multiple fact tables.

- all above, ability to use DAX Time intelligence function for more common time-based analysis Time intelligence functions (DAX) - DAX | Microsoft Docs

 

Follow us on LinkedIn

 

Learn about conditional formatting at Microsoft Reactor

My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Frankly, I have not been answered, where is Mark as Date Table useful while we got different result? Check the attached file please when he applies Mark as Date Table? Could we get YTD column without Mark as Date Table?

Regards 

https://drive.google.com/file/d/10jDGmSawwh1H8yo-R2pje5Fh4XFtgnoK/view?usp=sharing

 

parry2k
Super User
Super User

@koorosh apart from @ebeery said, if you are using date column on the x-axis (in image 1) and the type of x-axis is set to continuous (on format pane), Power BI decided what value it will show on the x-axis, currently, it is showing year, if you filter on shorter date range, it might show month or date on the x-axis and you cannot control it. Again this is only applicable if you are using date type column on the x-axis and type is set to continuous.

 

Follow us on LinkedIn

 

Learn about conditional formatting at Microsoft Reactor

My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

ebeery
Memorable Member
Memorable Member

@koorosh in Image 2, when you didn't mark as date table, Power BI automatically created a date hierarchy for your date column.

ebeery_0-1639852755929.png

That is what this setting in Options>Global>Data Load does:

ebeery_1-1639852800226.png

Typically it is not recommended that this approach be used.  Rather, it is best practice to build a date table that has the month, year, quarter, etc. columns that you need.

Thanks ebeery, So when using Mark as Date Table would be useful? Or where it would be useful since you wrote " it is best practice to build a date table that has the month, year, quarter, etc. columns that you need".

 

Regards

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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