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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Highlighting the value of a column if it matches with future values in another column

There are 2 columns namely current and new. If values of new column matches with any of the future entries of Current, it means failed and If we find one such entry - the values are to be highlighted. I need Dax solution for this

1 REPLY 1
FreemanZ
Super User
Super User

hi @Anonymous 

not sure if i fully get you.

supposing you have a data table like:

FreemanZ_0-1684569610892.png

try to 

1) plot a table visual with the two culumns

2) apply the conditional formating of the background color for the new column with a meausre like:

measure = 
IF(
    MAX(data[new]) IN ALLSELECTED(data[current]),
    "Red"
)

it worked like:

FreemanZ_1-1684569698822.png

 

FreemanZ_2-1684569731439.png

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.