The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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?
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |