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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
vin26
Resolver I
Resolver I

Show the multiple measures value based on the filter selection

Hello,

Please help me to get below issue resolved, I am looking for solution on the filter the measures which are having values when multiple slicer items are selected. Here is the example:

I have created 3 measures with multiple conditions and added a independent table for slicer to switch the measures. In below example when I select Measure 2 and Measure 3, the table should show both the measure having number 1, which are Product A, B and C. When Measure 1 and 2 are selected table should filter Product B, C and D. When all selected all the Product should get filtered.

 

Capture.PNG

Expected result:

Capture1.PNG

3 REPLIES 3
vin26
Resolver I
Resolver I

HI Team,

 

I am yet to get solution for above query, any help on this would be appreciable.

 

vin26
Resolver I
Resolver I

Hi @Anonymous  Thanks a lot for the this solution. With this solution I have couple of challenges:
1. I don’t want to hide or disappear Measures which are not selected, but just have to filter only Products 

2. I have a few other columns/Measures (other than above 3 measure) as well, which I don’t want to show in slicers

 

Just wanted to filter Products where Measure 2 and Measure 3 values are 1

 

Here is expected result:

 

Capture1.PNG

Anonymous
Not applicable

Hi @vin26,

 

I suggest you to create a measure name table and then create a matrix.

RicoZhou_0-1677223213637.png

Measure = 
VAR _Measure1 = SUM('Table'[Value1])
VAR _Measure2 = SUM('Table'[Value2])
VAR _Measure3 = SUM('Table'[Value3])
RETURN
SWITCH(SELECTEDVALUE('Measure Name'[Measure]),"Measure 1",_Measure1,"Measure 2",_Measure2,"Measure 3",_Measure3)

Result is as below.,

RicoZhou_1-1677223248542.png

RicoZhou_3-1677223284567.png

RicoZhou_2-1677223263496.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.