Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello
As you can see i have two columns of date [DATE ENTREE] and [DATE SORTIE] underneath. I can create a hierarchy (year, trim, month, day) for the second one but note for the first one. I do not understand because formats are the same..
Solved! Go to Solution.
Hello
The problem came from a lack of relation between two tables.
Thank you for your help.
Hi @PatrickByGecko ,
I'm assuming that looking to the image you have the Auto date/time intelligence turn on on your model so on a table the automatic hierarchy will only be created on one column that is present on the relationship.
On your case confirm if the column [DATE SORTIE] makes part of a one to many relationship with another table?
As you can see in the image below the column that as the hierarchy is the calendar date and not the ENTREE because it as the relationship active:
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsYou are right. The problem was coming from a relation ship.
But now I get problem when comparing dates (MM/YY) in the script underneath (I'm sure there is CDI at theses dates) and my counters return nothing. I suppose my comparison of date is wrong...?
I found a solution to compare Dates using [MONTH] and [YEAR].
But a new problem occured.
As you can see for my counters (CDI NIORT for instance) some months are repeated instead of beeing cumulated (have a look at the very bottom of the screen "fevrier 2019". How can I explain that?
Hello
The problem came from a lack of relation between two tables.
Thank you for your help.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.