cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Angelo
Regular Visitor

Filtering Results

Hi Guys

 

How do I create a measure that when selecting two or more variables from a filter it always selects a specific variable.

 

For example if I have Scenario A, B and C and I filter A and B I want it to only filter A etc etc.

 

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: Filtering Results

Hi @Angelo,

 

If I understand you correctly, you should be able to use ALL function in FILTER to create the measure. The formula below is for your reference. Smiley Happy

Measure =
CALCULATE (
    SUM ( Table1[Value] ),
    FILTER ( ALL ( Table1 ), Table1[Scenario] = "A" )
)

 

Regards

View solution in original post

1 REPLY 1
Highlighted
Microsoft
Microsoft

Re: Filtering Results

Hi @Angelo,

 

If I understand you correctly, you should be able to use ALL function in FILTER to create the measure. The formula below is for your reference. Smiley Happy

Measure =
CALCULATE (
    SUM ( Table1[Value] ),
    FILTER ( ALL ( Table1 ), Table1[Scenario] = "A" )
)

 

Regards

View solution in original post

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors