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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.