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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
scastonguay1
Frequent Visitor

How to create a measure based on specific slicers but overiding visual interactions

Hello,

 

The following measure calculates quantity of parts based on specific slicers to calculate a production yield.


TOTAL_QTE_PROD = CALCULATE(SUM(tblQTE_PROD[QTE_PROD]);ALL(tblQTE_PROD))

Is it possible for this measure not to change when user is interacting with other visuals.  The interaction button cannot be deactived because of other columns will need the interaction.

 

I was thinking of passing the measure value in a kind of variable or the equivalent.


Thank you very much.

 

Sylvain

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @scastonguay1,

 

With above formula you provided, the returned result is fixed, won't be affected by any slicer filter or interaction filter, because of the usage of ALL() function.

 

Regards,

Yuliana Gu

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

Hi,

 

Attached is a picture that should better explain my current situation.  When a selecting a row in a visual the interaction filter changes the QTE_PROD. 

New Microsoft PowerPoint Presentation.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hope this clarifies.  An image = 1K words!

 

Thanks for the quick reply

 

Regards

 

Sylvain

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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.