Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Friends,
I would like to create a matrix with below data and background colors. In each cell it should represnt corresponding bug counts, if bugs are not present in the specifc category still matrix should show the colored background with no data. How to achieve this ?
Any help or suggestions are much appreceiated
eg: Sample data below
BugID | Severity | Impact | Project |
B1 | 1 | 2 | Proj1 |
B2 | 2 | 2 | Proj1 |
B3 | 1 | 4 | Proj1 |
B4 | 3 | 1 | Proj1 |
B5 | 3 | 4 | Proj1 |
B6 | 4 | 2 | Proj1 |
B7 | 4 | 4 | Proj2 |
B8 | 3 | 4 | Proj2 |
B9 | 2 | 4 | Proj2 |
Expected Output for Proj 1 Selection:
@manojk_pbi You need to create a measure then apply this measure to background color fx setting.
BG color = SWITCH(TRUE(),
SUM(Severity) * SUM(Impact) >=5 && SUM(Severity) * SUM(Impact) <10, "Red",
SUM(Severity) * SUM(Impact) < 5, "Yellow",
"Green")
Then apply this measure as per below screen shot, In Background option choose the measure name (BG Color).
Thanks for your quick response. this will help in getting the background colors. How could we retain the matrix intact with all rows & columns with color irrespective of selections ?
Hello @manojk_pbi ,
check this video https://youtu.be/SsN0lgNJX6A
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
83 | |
75 | |
64 | |
39 | |
34 |
User | Count |
---|---|
107 | |
56 | |
52 | |
48 | |
40 |