Forum Discussion
LABrowne
2 years agoHelper II
Filter table visual based on background colour
Hello there, I have an Order Table in power bi that has 3 different colours based on below conditions: Background Colours: VAR CancelledOrders = CONTAINSSTRING( MAX (), "Cancelled") VAR U...
tamerj1
2 years agoCommunity Champion
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] )
)
)