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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
SwathiJanu
Frequent Visitor

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 @SwathiJanu 

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors