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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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