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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
CelsoJ
Regular Visitor

Date Format from Calendar table not showing date

Hi,

 

I have added a calendar table Key to my visualisation, it shows cohesive formatting for Month and Quarter but for Year and Day it shows what it seems to be a summed number.

 

1.png2.png3.png

 

I am not really sure what info could be impacting this so would be happy to give more context if needed.

 

All the best,

C

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @CelsoJ 

It appears you're using the automatically generated date hierarchy. I suggest to create a separate dates table and relate that to your fact.  Attached is a sample DAX calendar table. There are quite a few columns in there but remove those that you don't need by removing them from ADDCOLUMN arguments.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

3 REPLIES 3
danextian
Super User
Super User

Hi @CelsoJ 

It appears you're using the automatically generated date hierarchy. I suggest to create a separate dates table and relate that to your fact.  Attached is a sample DAX calendar table. There are quite a few columns in there but remove those that you don't need by removing them from ADDCOLUMN arguments.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hi @danextian , I had the calendar table but did not think using the table's columns would work better. Just tried and you're right hahaha. I'd imagine using the Date Key would have been more reliable, how weird huh?

 

Best,

Celso

The automatically created hierarchy aids those who just started with Power BI but as you advance, you'll realize that it isnt actually that helpful.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.