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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

Top Solution Authors