Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
Wanting to create a matrix with it's values conditionally formatted based on hierarchy level. I also want end users to be able to "Personalise this visual" from the service and change fields in the hierarchy.
Currently using ISINSCOPE to format based on hierachy. However, if a user was to change the highest level from Portfolio to Strategic Theme, the conditional formats no longer apply.
Trying to determine if there is an alternate way to conditionally format:
@Anonymous , refer if this can help
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
Thanks,
I was trying to determine if there is a way to reference hierarchy level without "hard-coding" the hierarchy field name. I couldn't see how that could be done using ISINSCOPE.
Hi @Anonymous ,
Try using functions such as path to get the highest level hierarchy, and then use the isinscope function according to your previous logic.
https://docs.microsoft.com/en-us/dax/pathlength-function-dax
https://docs.microsoft.com/en-us/dax/path-function-dax
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It seems you can use PATH, PATHLENGTH and PATHITEM when you have two known columns in a table. How would you utilise these in a matrix visual with unknown row headers?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
96 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |