Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 68 | |
| 66 | |
| 64 |