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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
nickelcap
Frequent Visitor

Slicer Breaks Colour Formatting

Hello,

 

I created a chart that has some colour formatting set up with it. If a value exceeds 96, the bar is meant to turn red. This worked fine for me until I implemented a slicer that is meant to filter the report down to only values that are below this 96 threshold. When I do this, bars below a value of 96 are red.

 

The slicer is based off a column which is an if statement based off another column. It reads as: "IF(Appended[Hours Since Last Upload]>96, "Over Time Limit", "Within Normal Time Span")". The chart plots the max of 'Hours Since Last Upload', and colour saturation is set to be based off of 'Hours Since Last Upload'. The Axis is based on a hierarchy, with Customer above Asset, so that the user can drill down from one to the other.

 

I have Data colours set to Diverging Off, Minimum set to 95, Center is not set as anything, and Maximum set to 96. Minimum is green, center is white, and maximum is red. As I said, this works fine until I apply the 'Within Normal Time Span' side of my slicer. However, when I drill down to 'Asset' on the chart the problem goes away. See the images below:

 

 

 

No filterNo filterFilter CustomerFilter CustomerFilter AssetFilter Asset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Is this a bug with Power BI, or have I done something incorrectly?

 

Thanks for any help you can provide.

 

Regards,

 

Dan

1 REPLY 1
Vicky_Song
Impactful Individual
Impactful Individual

@nickelcap, could you please show me the data in the dataset you're using? You mentioned that "the Axis is based on a hierarchy, with Customer above Asset", however, there is no difference when drill into (except for the color for the 67.00 column), which is something different from my understanding about what the hierarchy means.

 

It will be better if you can provide me a screenshot shows how you design your report so I can better understand your scenario. 


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.