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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
davidvo68
New Member

Conditional Format

I wanted to change the field value font in table 1 to a specific color if the same value is also in table 2.

Example: 

Table 1: 123456, 123789, 456789

Table 2: 456789

Thank you in advance for any insight.

1 ACCEPTED SOLUTION
VN999
Helper II
Helper II

Create Calcualte Column in Table 1 that checks if each value exists in Table 2.

ExistsInTable2 =
IF(
Table1[Value] IN VALUES(Table2[Value]),
"Yes",
"No"
)

 

Next set conditional formatting rules:

 

 

  • If ExistsInTable2 is "Yes":
    • Set the font color to red (or any color you choose).
  • If ExistsInTable2 is "No":
    • Leave it as the default color.

 

View solution in original post

2 REPLIES 2
davidvo68
New Member

It worked.  Thank you so much.

VN999
Helper II
Helper II

Create Calcualte Column in Table 1 that checks if each value exists in Table 2.

ExistsInTable2 =
IF(
Table1[Value] IN VALUES(Table2[Value]),
"Yes",
"No"
)

 

Next set conditional formatting rules:

 

 

  • If ExistsInTable2 is "Yes":
    • Set the font color to red (or any color you choose).
  • If ExistsInTable2 is "No":
    • Leave it as the default color.

 

Helpful resources

Announcements
Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors