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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Filtering a matrix visual by measures

I am trying to filter a matrix visual by the measures within that visual. Here is what the matrix currently looks like: matrix

Each of the matrix values are individual measures. I would like to be able to filter this matrix such that only selected values show up, so for example I could select only 'Ttl Case Qty' and under each month only the values and the column for 'Ttl Case Qty' would show up, and not the values and columns for the other measures. I can't put a measure on a filter visual since Power BI does not allow it. I have tried putting this measure

MonthlyElementSelect = SWITCH(
    SELECTEDVALUE(s_MonthlyElementSelection[Index]),
    1, [Ttl Case Qty],
    2, [Gross Sales less POD's],
    3, [GP%],
    4, [Material Margin %],
    BLANK()
)

into a column in this table to try and visually create a filter as a kind of workaround (see here, second post from top; the original method just creates the measure and puts it on a waterfall, but here I'm trying to create a column with that same measure and putting that column on a filter visual) but no values are showing up in this column, so this does not appear to be the right approach. Any help would be very appreciated!

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

Hi @Anonymous ,

 

If you want to display  the values of one measure in matrix by default, it will be implemented.  I modify the formula you can reference.  However if to display the values of all the measures, I’m afraid it will not be implemented.

Measure 2 =
    SWITCH (
        SELECTEDVALUE ( Table2[Index] ),
        1, [Ttl],
        2, [POD],
        3, [GP],
        [Ttl]
    )
you can change the default measure of Ttl to what you want.

1.png2.png3.png

 

Best Regards,

Xue Ding 

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

 

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

View solution in original post

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

 

If you want to display  the values of one measure in matrix by default, it will be implemented.  I modify the formula you can reference.  However if to display the values of all the measures, I’m afraid it will not be implemented.

Measure 2 =
    SWITCH (
        SELECTEDVALUE ( Table2[Index] ),
        1, [Ttl],
        2, [POD],
        3, [GP],
        [Ttl]
    )
you can change the default measure of Ttl to what you want.

1.png2.png3.png

 

Best Regards,

Xue Ding 

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

 

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

Hi @Anonymous ,

Could you tell me if your problem has been solved? If it is, kindly mark the helpful answer as a solution if you feel that makes sense. Welcome to share your own solution. More people will benefit from here.

 

Best Regards,

Xue

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

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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors