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.
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 |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
28 | |
17 | |
12 | |
7 | |
5 |