The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
HI
This is seemingly simple, not sure why i just cant get the syntax right, any help appreciated!
I just want to match YES to 1, and NO to 0, then apply the measure to format my YES to red.
the table is filtered by a slicer.
Thanks!
Solved! Go to Solution.
Hi @Anonymous
Try this:
TrimYESNO=
If(max(SVClist[TRIM])="YES",1,0)
Then use conditional formatting to change the font color.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Thank you so much!! baffles me why the simplest codes are the hardest to write 😅
Hi @Anonymous
Try this:
TrimYESNO=
If(max(SVClist[TRIM])="YES",1,0)
Then use conditional formatting to change the font color.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
32 | |
14 | |
10 | |
10 | |
9 |