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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
WelterM
Helper I
Helper I

Conditional Formatting based on a formula

I know it's not possible to apply conditional formatting to a column in a table, based on a formula, or the value of another column. But is it possible to this with R?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@WelterM,

It is possible to apply conditional formatting with R, please review the following blogs. Also you can use  UNICHAR() function as a workaround which is described in this similar thread.

More Examples on Styling Cells, Rows, and Tables
Conditional Formatting of a Table in R

There is also a similar thread about using R for  your reference.
https://stackoverflow.com/questions/31323885/how-to-color-specific-cells-in-a-data-frame-table-in-r

Regards,
Lydia

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@WelterM,

It is possible to apply conditional formatting with R, please review the following blogs. Also you can use  UNICHAR() function as a workaround which is described in this similar thread.

More Examples on Styling Cells, Rows, and Tables
Conditional Formatting of a Table in R

There is also a similar thread about using R for  your reference.
https://stackoverflow.com/questions/31323885/how-to-color-specific-cells-in-a-data-frame-table-in-r

Regards,
Lydia

Thank you, Lydia. That gives me some hope.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.