Forum Discussion

CelsoJ's avatar
CelsoJ
Regular Visitor
2 years ago
Solved

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.

 

 

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

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

3 Replies

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

    • CelsoJ's avatar
      CelsoJ
      Regular Visitor

      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

      • danextian's avatar
        danextian
        Icon for Super User rankSuper User

        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.