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.
Hello, I have used the visual filter to filter top 5 Facilities based on a measure value. I have another visual for the bottom 5. How could I show the remaining Facilities? The measure is a simple count function.
Solved! Go to Solution.
Hi, @billuran2009 ;
You could create a flag measure then apply it into filter.like belows:
flag =
VAR _top =
TOPN ( 5, SUMMARIZE ( ALL ( 'Table' ), [Value] ), [Value], ASC )
VAR _bottom =
TOPN ( 5, SUMMARIZE ( ALL ( 'Table' ), [Value] ), [Value], DESC )
RETURN
IF ( MAX ( [Value] ) IN _top || MAX ( [Value] ) IN _bottom, 0, 1 )
Then apply it into filter.
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @billuran2009 ;
You could create a flag measure then apply it into filter.like belows:
flag =
VAR _top =
TOPN ( 5, SUMMARIZE ( ALL ( 'Table' ), [Value] ), [Value], ASC )
VAR _bottom =
TOPN ( 5, SUMMARIZE ( ALL ( 'Table' ), [Value] ), [Value], DESC )
RETURN
IF ( MAX ( [Value] ) IN _top || MAX ( [Value] ) IN _bottom, 0, 1 )
Then apply it into filter.
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Pragati11 I think the question is (if I understood it correctly), @billuran2009 already have top and bottom 5 but want to have another visual that shows the remaining facility (except top and bottom 5), correct @billuran2009 ?
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.
Hi @parry2k ,
Yes you are right. I mis-read the question. Thanks for mentioning that.
Thanks,
Pragati
Hi @billuran2009 ,
Visual level filter on a visual gives both TOP and BOTTOM capabilites.
So, you can show Bottom 5 in the same way you have applied Top 5 on your visual.
Just try to modify your Top N to Bottom N. There are both options available at visual level filter.
Thanks,
Pragati
Thanks but what i would want is to sho the middle if you will. Exlude the top 5 and exlcude the bottom 5.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
138 | |
107 | |
104 | |
82 | |
63 |