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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
neonanora
Regular Visitor

Conditional formating using DAX not working when show all data, yet it works by slicing the data

I have 2 tables, EVP and VP, both connected by EVP program ID.
And I have 1 measure DAX that converts EVP program ID into a number like this.

 

neonanora_2-1610418300160.png

 

Then, I used the number from the measurement to create conditional formatting (to color the background and font)

neonanora_3-1610418355111.png

 

But, why the color is not shown when table VP display all data?
Strangely, the conditional formatting works well if I select a data in EVP table? I have applied same method on 2 other tables and it works fine. Please help

 

Show all data

neonanora_0-1610418207745.png

 

Select a data

neonanora_1-1610418231563.png

 

 

2 REPLIES 2
v-yuaj-msft
Community Support
Community Support

Hi @neonanora ,

 

Can you kindly share some sample data and the expected result to help me in order to have a clear understanding of your question? I can do some tests to help you figure out this issue.

You can save your files in OneDrive, Google Drive, or any other cloud sharing platforms and share the link here.

 

Best Regards,

Yuna

amitchandak
Super User
Super User

@neonanora , replace selectedvalue with MAX and try

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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