Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Solved! Go to Solution.
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:
result:
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
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:
result:
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
Perfect, thankyou.
User | Count |
---|---|
77 | |
76 | |
44 | |
31 | |
26 |
User | Count |
---|---|
97 | |
89 | |
52 | |
48 | |
46 |