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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Measure to Give Value based on Filter Selection

Hi Experts

 

I have the following measure which works fine... What i want to happen is if i select from management, management[level4] say ID%AB, then i still want to see the result of the measure and be able to subtract the result of the measure away from other measures. with out using edit interactions...

 

ID (EMEA) vAOP$ 2 = CALCULATE(
            [$NSvPY4% (NOE @ AOP Rate)], FILTER(
                    'Product','Product'[Product Franchise]="Infusion Devices"),Management,Management[Level4]="EMEA (Euro Mideast Africa)")
1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Anonymous, do you mean that if you want to filter mangement, the result keeps the same?

 

Please try below code.

 

ID (EMEA) vAOP$ 2 = CALCULATE(
            [$NSvPY4% (NOE @ AOP Rate)], FILTER(
                    'Product','Product'[Product Franchise]="Infusion Devices"),all(Management),Management[Level4]="EMEA (Euro Mideast Africa)")

 

Thanks and BR

Ryan





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
ryan_mayu
Super User
Super User

@Anonymous, do you mean that if you want to filter mangement, the result keeps the same?

 

Please try below code.

 

ID (EMEA) vAOP$ 2 = CALCULATE(
            [$NSvPY4% (NOE @ AOP Rate)], FILTER(
                    'Product','Product'[Product Franchise]="Infusion Devices"),all(Management),Management[Level4]="EMEA (Euro Mideast Africa)")

 

Thanks and BR

Ryan





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Thanks Ryan. Spot on.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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