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.
Hi everyone !
I am having some issues while trying to create a matrix visual. Since it's not possible to create a hierarchy with measures I can't disply the matrix the way I want.
I don't want the measures related to another team to be shown in the column. I've divided my visual into 2 matrix to explain what I'm looking for. Here's a screenshot to make things clrearer.
Does anyone have a solution or a work around for this type of issues ?
Thanks in advance !
Solved! Go to Solution.
Hi @Anonymous ,
Create a table that contains what columns you need under each level you specify, like the following:
Then create a measue to switch measure which you have created to calcualte.
Example measures =
switch(SELECTEDVALUE('Table in matrix visual'[level2]),
"column_name_1",CALCULATE([column1],'Table'[level1] = SELECTEDVALUE('Table in matrix visual'[level1])),
"column_name_2",CALCULATE([column2],'Table'[level1] = SELECTEDVALUE('Table in matrix visual'[level1])),
"column_name_3",CALCULATE([column3],'Table'[level1] = SELECTEDVALUE('Table in matrix visual'[level1])),
"column_name_4",CALCULATE([column4],'Table'[level1] = SELECTEDVALUE('Table in matrix visual'[level1])),
"column_name_5",CALCULATE([column5],'Table'[level1] = SELECTEDVALUE('Table in matrix visual'[level1])))
The result:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Create a table that contains what columns you need under each level you specify, like the following:
Then create a measue to switch measure which you have created to calcualte.
Example measures =
switch(SELECTEDVALUE('Table in matrix visual'[level2]),
"column_name_1",CALCULATE([column1],'Table'[level1] = SELECTEDVALUE('Table in matrix visual'[level1])),
"column_name_2",CALCULATE([column2],'Table'[level1] = SELECTEDVALUE('Table in matrix visual'[level1])),
"column_name_3",CALCULATE([column3],'Table'[level1] = SELECTEDVALUE('Table in matrix visual'[level1])),
"column_name_4",CALCULATE([column4],'Table'[level1] = SELECTEDVALUE('Table in matrix visual'[level1])),
"column_name_5",CALCULATE([column5],'Table'[level1] = SELECTEDVALUE('Table in matrix visual'[level1])))
The result:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.