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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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