Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi all,
Is there a possibility to conditional format columns in column chart based on slicer selection?
Thanks in advance for all your help.
Solved! Go to Solution.
Hi @Marac0105
Yes,you may check below sample file.Create a measure and use it as rule in conditional formatting.
Measure =
IF (
SELECTEDVALUE ( Table1[event] ) = "event1"
&& SUM ( Table1[value] ) > 5,
1,
IF (
SELECTEDVALUE ( Table1[event] ) = "event2"
&& SUM ( Table1[value] ) > 3,
2,
IF (
SELECTEDVALUE ( Table1[event] ) = "event3"
&& SUM ( Table1[value] ) > 2,
3
)
)
)
Regards,
Hi @Marac0105
Yes,you may check below sample file.Create a measure and use it as rule in conditional formatting.
Measure =
IF (
SELECTEDVALUE ( Table1[event] ) = "event1"
&& SUM ( Table1[value] ) > 5,
1,
IF (
SELECTEDVALUE ( Table1[event] ) = "event2"
&& SUM ( Table1[value] ) > 3,
2,
IF (
SELECTEDVALUE ( Table1[event] ) = "event3"
&& SUM ( Table1[value] ) > 2,
3
)
)
)
Regards,
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 19 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 55 | |
| 54 | |
| 40 | |
| 40 | |
| 30 |