This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |