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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.