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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
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.