Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi,
Why is my filtering option not working?
I want to limit my data in bar graph to just 5 cities. How can I do that?
Regards
Malvika
Solved! Go to Solution.
Use a Filter in the Filter pane to the Top 5 by amount
Hi @MalvikaBhasin
The wanted filtering logic is unclear. If, for example, it's a top/bottom 5, you can do it like this:
The pbix is attached
If you meant something else
please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @MalvikaBhasin
The wanted filtering logic is unclear. If, for example, it's a top/bottom 5, you can do it like this:
The pbix is attached
If you meant something else
please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Use a Filter in the Filter pane to the Top 5 by amount
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |