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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

How to filter by highest and lowest value in a table?

Hi, 

 

I am having a problem. I am using a dataset that contains date, type and number of submissions. I would like to use a slicer which limits are the highest value (max point) and the lowest value in the table (min point). 

Highest: AndrejBI_0-1611857425805.png     Lowest: AndrejBI_1-1611857438040.png

 

When I drag submissions into a slicer it gives me this: 

AndrejBI_2-1611857512642.png

182 is the highest number of occurances per day per type. Is there a way how to remove this kind of filtering and focus on what is solely in the table? 

 

1 ACCEPTED SOLUTION

Hi @Anonymous ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

slicer.JPG

Best Regards

Community Support Team _ Rena
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

8 REPLIES 8
v-yiruan-msft
Community Support
Community Support

Hi @Anonymous ,

What the lowest and highetst values means? Is it the number of submissions or the lowest and highetst number of each type per day? Assuming that your table has the same data as the table below, what is the result you want? When your date slicer select the date as 1/12/2021, the slicer with the lowest and highetst value is from 20 to 40?

Date Type Submitted
1/12/2021 A 20
1/12/2021 B 30
1/12/2021 C 40
1/13/2021 A 50
1/13/2021 C 40
1/14/2021 A 30
1/14/2021 B 60

Best Regards

Community Support Team _ Rena
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 @v-yiruan-msft, and thanks for your interest.

 

I am interested in the number of total submissions, so in your case it is A= 100 (20+50+30) which is the highest number. The lowest number is C=80 (40+40). In other words, I want the slicer to ignor the individual values yet slice based on the total number of submissions for the period.

Hi @Anonymous ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

slicer.JPG

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-yiruan-msft This is a great solution, but I just realised it doesn't work with a date slicer. 

AndrejBI_0-1612279825707.png

I am using this kind of slicer, yet the totals are always the same no matter what I select, I tried adding ALLSELECTED to your formula but there was no effect. Do you have any idea? 

Hi @Anonymous ,

I refer the following video to update the pbix file(see attachment), please check whether that is what you want.

Power BI - Filter by a Measure in a Slicer

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

You are the man, thanks a lot! 

parry2k
Super User
Super User

@Anonymous so you are using Submitted column in the slicer? If yes, is there any filter/slicer on the page?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

@parry2k  thanks for your answer. Yes, there is a date slicer on the page. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.