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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
arif_tsrm
Helper I
Helper I

Filtering table using slicer

I have a simple measure, returning % value, ( please see attached) , how can I filter the measure value  using slicer, when I will select 0-25% then only the value within this range will appear others are filter out, similar for 26-50% and so on.measuremeasureslicerslicertable visualizationtable visualization

2 ACCEPTED SOLUTIONS
Ritaf1983
Super User
Super User

Hi @arif_tsrm 
Please refer to the linked tutorial video.
Your ranges are the "names".

https://www.youtube.com/watch?v=AHiCE1N0XHE

 

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

Anonymous
Not applicable

Hi  @arif_tsrm ,

 

Here are the steps you can follow:

1. Create measure.

Flag =
SWITCH(
    TRUE(),
    MAX('Slicer table'[Score%])= "0-25%" && [Score%ForBottomTbl] >=0&&[Score%ForBottomTbl]<=0.25,1,
    MAX('Slicer table'[Score%])= "25-50%" && [Score%ForBottomTbl] >=0.26&&[Score%ForBottomTbl]<=0.5,1,
    MAX('Slicer table'[Score%])= "51-75%" && [Score%ForBottomTbl] >=0.51&&[Score%ForBottomTbl]<=0.75,1,
    MAX('Slicer table'[Score%])= "76 to up" && [Score%ForBottomTbl] >=0.76,1,0)

2. Place [Flag]in Filters, set is=1, apply filter.

vyangliumsft_0-1692773659984.png

3. Result:

vyangliumsft_1-1692773659986.png

 

 

Best Regards,

Liu Yang

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
Anonymous
Not applicable

Hi  @arif_tsrm ,

 

Here are the steps you can follow:

1. Create measure.

Flag =
SWITCH(
    TRUE(),
    MAX('Slicer table'[Score%])= "0-25%" && [Score%ForBottomTbl] >=0&&[Score%ForBottomTbl]<=0.25,1,
    MAX('Slicer table'[Score%])= "25-50%" && [Score%ForBottomTbl] >=0.26&&[Score%ForBottomTbl]<=0.5,1,
    MAX('Slicer table'[Score%])= "51-75%" && [Score%ForBottomTbl] >=0.51&&[Score%ForBottomTbl]<=0.75,1,
    MAX('Slicer table'[Score%])= "76 to up" && [Score%ForBottomTbl] >=0.76,1,0)

2. Place [Flag]in Filters, set is=1, apply filter.

vyangliumsft_0-1692773659984.png

3. Result:

vyangliumsft_1-1692773659986.png

 

 

Best Regards,

Liu Yang

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

Ritaf1983
Super User
Super User

Hi @arif_tsrm 
Please refer to the linked tutorial video.
Your ranges are the "names".

https://www.youtube.com/watch?v=AHiCE1N0XHE

 

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.