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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"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.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"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.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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