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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a matrix visual like in the image and it has different hierarchy levels:
I need the matrix to have this background colours for each group. But I need it to continue having thebackground colours even when I open one of the next level groups. And for example if I open the group "VENTAS" (in green) it just shows the colours for the groups that are open in the same level:
In this example, I would still need for the previous level groups to show the colour, for example "APROVISIONAMIENTO" should still be showed in red. But it just shows it if I open that group as well:
The DAX I am using now is:
Solved! Go to Solution.
Hi @antongg7 ,
According to your description, here are my steps you can follow as a solution.
(1) We can create a measure.
Color = SWITCH(TRUE(),
ISINSCOPE('P&G - Jerarquía'[DESCRIPCION]) && MAX('P&G - Jerarquía'[DESCRIPCION])="a","red",
ISINSCOPE('P&G - Jerarquía'[DESCRIPCION]) && MAX('P&G - Jerarquía'[DESCRIPCION])="b","yellow"
)
(2) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @antongg7 ,
According to your description, here are my steps you can follow as a solution.
(1) We can create a measure.
Color = SWITCH(TRUE(),
ISINSCOPE('P&G - Jerarquía'[DESCRIPCION]) && MAX('P&G - Jerarquía'[DESCRIPCION])="a","red",
ISINSCOPE('P&G - Jerarquía'[DESCRIPCION]) && MAX('P&G - Jerarquía'[DESCRIPCION])="b","yellow"
)
(2) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
89 | |
70 | |
68 | |
53 | |
27 |