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
cmorris_afca
Frequent Visitor

Conditional Formatting not working when a filter is applied

Hello,

I have created a two cards and added conditional formatting to the 'data label' and 'title' so that they are black or white depending if they should be visable or not, this allows me to overlay the visuals and display one or the other depending on a value that is selected on a slicer.

I then have a need to apply a filter to the visual and the results in the conditional formatting not working, so I see both cards together.

Does anyone know why this happens? Why is the filter stopping the conditional formatting?

 

Regards,

Carl

4 REPLIES 4
V-lianl-msft
Community Support
Community Support

 
Based on your description, you want one card to cover another, and when you filter through slicer, the corresponding value will be displayed.
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

I have tried that and it works fine when there is no filter applied and the user selects the requirements via the slicer.

 

The issue is I have a large set of data that comes into my model and depending on the card, a filter needs to be applied so that only the required figures are displayed. The user then uses the slicers to select the required month/user/team. These work fine seperatley but when I have both a filter (which is static) and a slicer the conditional formatting does not work.

 

Regards,

Carl

 
It may be difficult to fully meet your needs.
Could you please share sample pbix and DAX formula? We can think about other alternatives.
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

I am hopeful, that the new value of cart/color formatting filed, after filter is, covered under conditional formatting. Can you share calculation and foamtting rules.

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.