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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
Anonymous
Not applicable

Fields parameter filters another field paramater

Hi, 


I have two fields parameters for the same measures, that enables users to compare metrics in a Line & Column chart.

 

Is it possible that whatever value is selected in one field parameter is removed from the other. As below.

 

Thanks.

 

Nickpw_0-1666610441195.png

 

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please new a measure:

 

 

Measure = 
VAR __parameter1 = SELECTEDVALUE('Parameter1'[Parameter Fields])
VAR __filter = IF(MAX('Parameter2'[Parameter Fields])<>__parameter1,1)
RETURN
__filter

 

 

and apply it to the second slicer's filter:

vcgaomsft_0-1666662563146.png

result:

vcgaomsft_1-1666662597303.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please new a measure:

 

 

Measure = 
VAR __parameter1 = SELECTEDVALUE('Parameter1'[Parameter Fields])
VAR __filter = IF(MAX('Parameter2'[Parameter Fields])<>__parameter1,1)
RETURN
__filter

 

 

and apply it to the second slicer's filter:

vcgaomsft_0-1666662563146.png

result:

vcgaomsft_1-1666662597303.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Anonymous
Not applicable

Perfect, thankyou.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.