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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Syndicate_Admin
Administrator
Administrator

String Filtering with Segmenter

Hello

I have a question related to a segmenter. I'd like to see if there's a chance that filtering with a segmenter will filter me out more than one category. Let me explain:

I have a segmenter from 1 to 10, and I want that when you select 5, I select the immediately following ones, that is, from 6 to 10. I don't know if it's possible. Thank you

NachoAl_0-1716364293661.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

You can create a separate slicer table to control the segmenters (don't create a relationship). Then turn on show "select all" as on option in the slicer.

vkongfanfmsft_0-1716433157353.png

vkongfanfmsft_2-1716433239765.png

 

And finally use the following formula to control the selection range of the slicer.

M_ = 
var sel_ = SELECTEDVALUE('Values'[Value])
return IF(MAX('Table'[Value]) >= sel_,1,0)

vkongfanfmsft_3-1716433284248.pngvkongfanfmsft_4-1716433292353.png

Best Regards,
Adamk Kong

 

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 @Syndicate_Admin ,

 

You can create a separate slicer table to control the segmenters (don't create a relationship). Then turn on show "select all" as on option in the slicer.

vkongfanfmsft_0-1716433157353.png

vkongfanfmsft_2-1716433239765.png

 

And finally use the following formula to control the selection range of the slicer.

M_ = 
var sel_ = SELECTEDVALUE('Values'[Value])
return IF(MAX('Table'[Value]) >= sel_,1,0)

vkongfanfmsft_3-1716433284248.pngvkongfanfmsft_4-1716433292353.png

Best Regards,
Adamk Kong

 

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

 

Hello

Thank you very much for your answer and solution. It works perfectly, and by selecting one it filters out the other. But I've noticed that the filter is visual, and if I have the second table related to another one, the values are not updated when I do the filter. But that's another story. Thank you very much for your help.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors