Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
when i make one to many relationship between tow date column on of the them loss its hierarchy:
it come like this without hierarchy:
so how can i return its hierarchy and make it like this column:
Solved! Go to Solution.
Hi @waleed111
It seems to be the default behavior, and I don't think there is an option to change it currently.
An alternative solution is to create a new calculated column "Created2= 'theTable'[Created]" in your table and then use Created2 column instead to get hierarchy back.
refer These are the reasons Date Hierarchy can be missing
https://community.powerbi.com/t5/Desktop/Date-Hierarchy-Doesn-t-show/td-p/525460
https://community.powerbi.com/t5/Desktop/Date-hierarchy-not-available/td-p/438804
https://community.powerbi.com/t5/Desktop/Lost-Missing-Date-Hierarchy/td-p/421045
Check Settings
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-auto-date-time
And if need create a custom hierarchy
https://www.tutorialgateway.org/create-hierarchy-in-power-bi/
https://www.youtube.com/watch?v=x6vXVJZ_eTY
i found this solution in the first link that you share: (Did you establish relationship with an other table based on [Contact date]? If so, it won't show hierarchy when adding [Contact date] to visuals.)
so if i want to keep the relationship, do i have to make my costum hierarchy?
Hi @waleed111
It seems to be the default behavior, and I don't think there is an option to change it currently.
An alternative solution is to create a new calculated column "Created2= 'theTable'[Created]" in your table and then use Created2 column instead to get hierarchy back.
@waleed111 , Try this if the Contact date is joined with date in the date table. Delete relations and check if you get back the date hierarchy and try to create relations again. This was one suggestion at someplace. I never tried. as I typically use a date table.
You can see if you can create a custom hierarchy.
Goto Options and Setting in File Tab to get Optiosn Dialogue and then check the box in the highlighted area (Time intelligence)
Proud to be a Super User!
it checked but nothing happen.
Save the File and Restart Power BI to see the effect
Proud to be a Super User!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
98 | |
38 | |
37 |
User | Count |
---|---|
156 | |
121 | |
73 | |
73 | |
63 |