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

Measure disappears from a bar chart visual when a slicer is applied

I have a clustered bar chart visual (below) that shows completion rates based on time of year.

 

EwelinaP_0-1692292067082.png

 

I want the blue column to act as a benchmark and I want it to not respond to any slicers. I want the yellow bar to respond to slicers. To do this, I created a measure for the blue bar that calculates the average and filters for criteria in two separate columns (the figures are pulling correctly). For the yellow bar, I added the appropriate column to the field.

 

My problem is that whenever I use a slicer, the blue bar goes away completly. How do I fix this problem? My DAX and strucure of my data is below:

 

DAX FOR BLUE BAR:

 

Benchmark =
AVERAGEX(
    FILTER(
        'Start, Mid, End Rate',
        'Start, Mid, End Rate'[Organization] = "Benchmark Org" &&
        'Start, Mid, End Rate'[Attribute] IN {"Beginning", "Mid-Year", "Year-End"}
    ),
    'Start, Mid, End Rate'[Value]
)

 

DATA STRUCTURE:

 

EwelinaP_1-1692292636775.png

 

Any insight is greatly appreciated!

0 REPLIES 0

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.