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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Back2Basics
Resolver I
Resolver I

Conditional formatting DAX

I'm trying to add some conditional formatting to a matrix. I have a matrix that has a series of outcomes and the count of Unique_ID for each outcome. I also have a dropdown on the page so that users can select an ID and the matrix highlights the outcomes for that particular ID - this is working fine using the following DAX: 

Matrix select = IF(ISFILTERED('Report measures'[Unique ID]),IF(SELECTEDVALUE('Report measures'[Unique ID]) IN VALUES (Workbook[Unique ID]), 1))

& then applying the appropriate conditional formatting. 

I also have a table which has a list of 'linked' ID's. So this looks something like this:

Unique IDLinked ID
INT001INT172
INT001INT250
INT002INT015

 

I want to replicate the matrix that is working, as described above, so that when an ID is selected it highlights the outcomes for the Linked ID's. I have been trying several things but just can't quite get it to work. Everything is still assocaited with the Unique ID filter rather than filtering the Linked ID. 

Any help is very much apprecaited.

5 REPLIES 5
tamerj1
Super User
Super User

Hi @Back2Basics 

any relationship between the two tables?

Hi @tamerj1 - yes, there is a relationship between the Unique ID columns in each table. The table with the linked Id's is standalone, so could remove the relationship if this is the way to do it

 

@Back2Basics 
I'm having some difficulties replicating your matrix. Would you please provide some sample data and perhaps some screenshots to understand exactly what is required. Thank you

I'm going down a different route now. Unfortunately I can't share any of the real data. 

@Back2Basics 
Sorry for the misunderstanding. I mean If you can create and share a sample dummy data that simulates your situation along with example expected results

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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