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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors