cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jakseadog
New Member

Slicer to show values less or equal

Hello,

 

Here's my scenario:

 

In the Table I have column "A" with following values: 1,2,3,4.

I added slicer from this column, so I'm able to select between 1,2,3,4.

I want this slicer to filter table with column A, but in a little different way than normal - I want it to show rows with value A less or equal to value from slicer. Example:

1) On slicer I select 3 -> In the table I get rows with values A = 1,2 and 3

2) On slicer I select 2 -> In table I get 1 and 2

 

Could you guide me how can I achieve it?

 

 

1 ACCEPTED SOLUTION
Eyelyn9
Community Support
Community Support

Hi @jakseadog ,

 

Method1 : As @Jasper_N  said, just choose "Less than or equal to"  as the type for the slicer:

less than or equal to.gif

 

Method2:

  • Create a new table for slicer 

table for slicer.PNG

  • Apply the following measure to filter pane like this:
Measure = IF(MAX('Table'[A])<=MAX('ForSlicer'[A]),1,0)

select value.gif

 

Best Regards,
Eyelyn Qin
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
Eyelyn9
Community Support
Community Support

Hi @jakseadog ,

 

Method1 : As @Jasper_N  said, just choose "Less than or equal to"  as the type for the slicer:

less than or equal to.gif

 

Method2:

  • Create a new table for slicer 

table for slicer.PNG

  • Apply the following measure to filter pane like this:
Measure = IF(MAX('Table'[A])<=MAX('ForSlicer'[A]),1,0)

select value.gif

 

Best Regards,
Eyelyn Qin
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

Jasper_N
Frequent Visitor

Hi,

 

On your slicer there should be a little downward V icon in the top right corner when you hover over it. You can use it to select "less than or equal to", which I believe is what you're looking for.

Regards, 


Jasper

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors