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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-eqin-msft
Community Support
Community Support

Hi @jakseadog ,

 

Method1 : As @Anonymous  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
v-eqin-msft
Community Support
Community Support

Hi @jakseadog ,

 

Method1 : As @Anonymous  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.

Anonymous
Not applicable

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.