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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Measure to ignore certain filter/slicer, but also filter to a specific value of ignored filter

Hi All,

 

I am trying to create a 'line and stacked column' chart that shows:

  • x axis of "Time"
  • column y axis of "Sales Volume" that shows selected "Product Group" from the slicer below
  • I have a slicer to select the "Product Group" (Appetizer, Entree, Drink, Dessert)
  • stacked column of "Product Name"
  • line y axis of "Drink upsell%" (calculated by taking "Drink upsell" and divided by total sales volume of selected "Product Group")

I got everything to work except the line y-axis.

 

My "Drink upsell" and "Drink upsell%" measures' formulae are:

Drink upsell = CALCULATE(sum(Data[Sales Volume]),FILTER(ALL[Data[Product Group]),Data[Product Group]="Drink"))
Drink upsell% = divide(drink upsell,sum(Data[sales volume]),0)
 
My measure is not calculated if I select something from "Product Group" slicer that is not "Drink", since the page will already filter out "Drink" from data.
Is there a way to do this, without creating another reference of my "Data" table? (not ideal, because it's a huge database)
 
Thanks!
1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

I am afraid that you couldn't do it.

However, why don't you edit the measure like the following DAX:

Drink upsell =
CALCULATE ( SUM ( Data[Sales Volume] ), ALLSELECTED ( Data[Product Group] ) )

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

I am afraid that you couldn't do it.

However, why don't you edit the measure like the following DAX:

Drink upsell =
CALCULATE ( SUM ( Data[Sales Volume] ), ALLSELECTED ( Data[Product Group] ) )

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors