Forum Discussion

BIswajit_Das's avatar
BIswajit_Das
Impactful Individual
2 years ago

Power BI Matrix

Hello,
I have a table with data

SLNOITEMPLACE_CODE
1A100
1A101
1A102
1A103
1A104
1B105
1B106
1D107
1C108
1C109
1C110
2D111
2D112
2A113
2A114
2A115
2C116
2C117
2C118
2B119
2A120
2B121
3C122
3C123
3C124
3A125
3A126
3D127
3D128

and I am using matrix visual to visualize the data like

SLNOABCD
15231
24232
32 32

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..