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 created a slicer with multiple values, when I select 2 or more slicer value. I need some based on those 2 values only.
someone could please suggest me the better way to do it.
I tried with SELECTEDVALUE,but when I select 2 or more slicer values its not working.
Hi @VikasMattela ,
You need to use ALLSELECTED function:
CALCULATE(
[YourMEasureName],
ALLSELECTED('YourTableName')
)
If this answer solves your problem, accept it as a solution so others would find what they need easier.
Regard,
Loran
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
6 |