Forum Discussion
BIswajit_Das
2 years agoImpactful Individual
Power BI Matrix
Hello,
I have a table with data
| SLNO | ITEM | PLACE_CODE |
| 1 | A | 100 |
| 1 | A | 101 |
| 1 | A | 102 |
| 1 | A | 103 |
| 1 | A | 104 |
| 1 | B | 105 |
| 1 | B | 106 |
| 1 | D | 107 |
| 1 | C | 108 |
| 1 | C | 109 |
| 1 | C | 110 |
| 2 | D | 111 |
| 2 | D | 112 |
| 2 | A | 113 |
| 2 | A | 114 |
| 2 | A | 115 |
| 2 | C | 116 |
| 2 | C | 117 |
| 2 | C | 118 |
| 2 | B | 119 |
| 2 | A | 120 |
| 2 | B | 121 |
| 3 | C | 122 |
| 3 | C | 123 |
| 3 | C | 124 |
| 3 | A | 125 |
| 3 | A | 126 |
| 3 | D | 127 |
| 3 | D | 128 |
and I am using matrix visual to visualize the data like
| SLNO | A | B | C | D |
| 1 | 5 | 2 | 3 | 1 |
| 2 | 4 | 2 | 3 | 2 |
| 3 | 2 | 3 | 2 |
and as per my requirements I want use colors to set on max value and the gap between max and 2nd max value
i.e
Like
In SLNO-1
5 is large and 3 is second large
So Gap = 5-3 = 2 -> Color - Dark Orange
In SLNO -2
4 is large and 3 is second large
so Gap = 4-3 = 1 -> Color - Light Orange
Like wise....
Is there any way to acheive this
Thanks & Regards..