Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello there,
I have an Order Table in power bi that has 3 different colours based on below conditions:
Background Colours:
Solved! Go to Solution.
Hi @LABrowne
You can manually inset a table 'Colors' that contains one column [Color] having only three values "Blue", "Red" & "Green"
Create a slicer out of this column then place the following measure in the filter pane of your table/matrix, select "Is not blank" then apply the filter.
Color Filter =
COUNTROWS (
FILTER (
VALUES ( Order[OrderNumber] ),
[Background Colour] IN VALUES ( Colors[Color] )
)
)
Hello,
Thanks for your response.
Does inserting a column work well with sql server - direct query method?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |