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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |