Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
hi,
Is it possible to create a matrix like this? Clean with multiple expansions?
Solved! Go to Solution.
Hi @soderqvistn ,
Thanks for rohit1991 and danextian reply.
You can try the following steps and here is sample data
First Level | Second Level | Category | Values | Third Level |
First | Second | A | VALUES | Third |
First | Second | A | VALUES | Third1 |
First | Second | B | VALUES | Third |
First | Second | B | VALUES | Third1 |
First | Second | C | Third | |
First | Second | C | Third1 | |
First | Second | D | Third | |
First | Second | D | Third1 | |
First | Second | E | Third | |
First | Second | E | Third1 | |
First | Second | F | 55 | Third |
First | Second | F | 88 | Third1 |
First | Second | G | Third | |
First | Second | G | Third1 | |
First | Second | G | Third |
Create a matrix
Create a mesure
Icons =
IF(
SELECTEDVALUE('Table'[Category]) = "G",
"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'> <circle cx='50' cy='50' r='40' stroke='Green' stroke-width='4' fill='green' /> </svg>"
)
Change the mesure data category to Image URL
Apply the measure to icon
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @soderqvistn ,
Thanks for rohit1991 and danextian reply.
You can try the following steps and here is sample data
First Level | Second Level | Category | Values | Third Level |
First | Second | A | VALUES | Third |
First | Second | A | VALUES | Third1 |
First | Second | B | VALUES | Third |
First | Second | B | VALUES | Third1 |
First | Second | C | Third | |
First | Second | C | Third1 | |
First | Second | D | Third | |
First | Second | D | Third1 | |
First | Second | E | Third | |
First | Second | E | Third1 | |
First | Second | F | 55 | Third |
First | Second | F | 88 | Third1 |
First | Second | G | Third | |
First | Second | G | Third1 | |
First | Second | G | Third |
Create a matrix
Create a mesure
Icons =
IF(
SELECTEDVALUE('Table'[Category]) = "G",
"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'> <circle cx='50' cy='50' r='40' stroke='Green' stroke-width='4' fill='green' /> </svg>"
)
Change the mesure data category to Image URL
Apply the measure to icon
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
hi, hope this helps:
Use a Matrix Visual:
Add Conditional Formatting:
Set Expand/Collapse:
Result: Clean, hierarchical, expandable matrix with visual indicators.
Assuming the second and third are row fields, they will have to be in in their own hierarchy and will be in another row.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
83 | |
78 | |
54 | |
39 | |
35 |
User | Count |
---|---|
97 | |
80 | |
50 | |
48 | |
48 |