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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Need a slicer that's opposite of "between"

I need a slicer that has the opposite effect of the "between" slicer setting.

Something like this:

PowerBINewbie__0-1699888918583.png

When the buttons are slid to, for example, 1,16 and 1,17, I want to see all the correspondig data for the values 1,14 - 1,15 and 1,18.

The use case is for machine data that was collected, and data that either falls under or exceeds certain limits should be able to be filtered out.

 

Is there a possibility to implement this? Doesn't have to be visualized as a slider like above, of course.

 

 

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

Hi @Anonymous 

You can not set the opposite slicer, but you can refet to the following solution to replace it.

Slicer table

vxinruzhumsft_0-1700018222461.png

 

Sample data 

vxinruzhumsft_1-1700018233988.png

You can create a measure to contro display the opposite of the slicer and put it to the visual filter

Measure =
VAR a =
    ALL ( Parameter[Parameter] )
VAR b =
    EXCEPT ( a, VALUES ( Parameter[Parameter] ) )
RETURN
    IF ( COUNTROWS ( FILTER ( 'Table', [Value] IN b ) ) > 0, 1, 0 )

vxinruzhumsft_0-1700025404669.png

Output

vxinruzhumsft_1-1700025567337.png

 

 

Best Regards!

Yolo Zhu

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-xinruzhu-msft
Community Support
Community Support

Hi @Anonymous 

You can not set the opposite slicer, but you can refet to the following solution to replace it.

Slicer table

vxinruzhumsft_0-1700018222461.png

 

Sample data 

vxinruzhumsft_1-1700018233988.png

You can create a measure to contro display the opposite of the slicer and put it to the visual filter

Measure =
VAR a =
    ALL ( Parameter[Parameter] )
VAR b =
    EXCEPT ( a, VALUES ( Parameter[Parameter] ) )
RETURN
    IF ( COUNTROWS ( FILTER ( 'Table', [Value] IN b ) ) > 0, 1, 0 )

vxinruzhumsft_0-1700025404669.png

Output

vxinruzhumsft_1-1700025567337.png

 

 

Best Regards!

Yolo Zhu

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

chonchar
Helper V
Helper V

@Anonymous 
Try this. You can find it under the filters on this visual pane. 

 

chonchar_0-1699905474411.png

@ me if this doesn't work for you. 

 

Best of luck,

Cam

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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