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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi Power BI Community,
I'm trying to conditionally format this table that has True/False values as well as numbers. I would like True to be highlighted in Green and False be red...while the remaining values remain neutral. Please see the image and let me know if I can provide any addtional information.
Thanks!
Solved! Go to Solution.
Hi @Anonymous,
Sorry, please try this.
The measure is to apply condition format as:
Could you provide details about your issue?
Best Regards,
Link
Hi @Anonymous,
You need a measure as below:
Measure = SELECTEDVALUE( 'Table'[Column1] ) + 0
Then in the table visual, right click on the column field>choose conditional formatting>Background color:
Then make the setting as below:
And you will see:
Here is the demo, please try it.
Best Regards,
Link
Hi @v-xulin-mstf, I was able to create the measure. However when I go to apply it to the column, I get the error that I "cannot convert value 'FALSE' of type Text to type Number. Is there another work around for this?
Also I tried to click through to the demo but it states that I do not have access to the sharepoint.
Thank you!
Hi @Anonymous,
Sorry, please try this.
The measure is to apply condition format as:
Could you provide details about your issue?
Best Regards,
Link
Thank you! It finally worked. I need to change the data type.
Hi Greg, OP has replied but not tagged you.
regards
Phil
Proud to be a Super User!
@Anonymous Seems like that would have to be a text column so just use Conditional Formatting Rules where if the text equals "TRUE", green, "FALSE", red or otherwise black?
Hey Greg, thanks for getting back to me! This may be obvious, but it's only allowing me conditionally format based on numeric values and don't know where to find the text option.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.