Forum Discussion
jatneerjat
Helper V
8 years agoDate hierarchy not available
Hi, I have a custom date column "Date" so when i create a relationship between "Date" and another date column which i am getting from DummyDate = calendarauto() then the hierarchy for the custom ...
- 8 years ago
OK, I was able to recreate this. Seems like it depends on how the relationship is configured. See attached PBIX.
- 8 years ago
Hi jatneerjat,
I have made a test with based on you description, it do have this issue.
Actually, when you create the relationship (Many to one or one to Many) between the tables with Date, only the date in the one side will show date hierarchy.
If you want create the relationship (One to one ) and you want to the date in your fact table show date hierarchy, you could create the relationship like below.
Best Regards,
Cherry
Greg_Deckler
Community Champion
8 years agoThere was a thread on this earlier, I'll have to try to recreate this. In the meantime, you could create calculated columns with formulas like:
Year = YEAR([Date]) Month = MONTH([Date]) MonthName = FORMAT([Date],"mmmm")
rkennex13
3 years agoFrequent Visitor
Solution provided is good, thanks for your input