Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 31 | |
| 26 | |
| 26 |