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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.