Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Randalnik
Frequent Visitor

Conditional formatting table with text

Hello everyone,

 

I have searched for the similar topics here and I found just bad news.

I'm looking for conditional formating text in table (i know, numbers shoul be formated).
I have 12 columns with values in (Y , N) and i would like to format it:

If its Y = GREEN

If its N = RED

Is there any chance how to solve this problem (i think there should be way with precast into true/false but i don't know how to do this quickly and easily) ?

But in origin report customer wants to see values Y and N and not TRUE/FALSE or 0/1.

 

Thank you and have a nice day,

 

R.

3 REPLIES 3
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Randalnik

 

Currently, Power BI Desktop doesn't support this kind of precast or based on other field value to configure conditional formatting. Please submit a feature request on idea.

 

Regards,

@v-sihou-msft

 

After all, if I change Y to 1 and N to -1 (due to different color) and use condition formatting - Color scales.
Is it possible to make a column mask which set back the values (N,Y) and let there colors of the previous formatting?

If its possible, should someone help me with the DAX syntax?

 

Thanks a lot, have a nice day,

 

R.

Hi Rand,

 

Did you get the solution for the above problem. If yes, Please let me know.

Thanks in advance.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.