Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MalvikaBhasin
Helper III
Helper III

Data Filtering

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?

 

Filtering.JPG

 

Regards

Malvika

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Use a Filter in the Filter pane to the Top 5 by amount

View solution in original post

Ritaf1983
Super User
Super User

Hi @MalvikaBhasin 
The wanted filtering logic is unclear. If, for example, it's a top/bottom 5, you can do it like this:

Ritaf1983_0-1723815120388.pngRitaf1983_1-1723815160812.pngRitaf1983_2-1723815241679.png

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @MalvikaBhasin 
The wanted filtering logic is unclear. If, for example, it's a top/bottom 5, you can do it like this:

Ritaf1983_0-1723815120388.pngRitaf1983_1-1723815160812.pngRitaf1983_2-1723815241679.png

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Anonymous
Not applicable

Use a Filter in the Filter pane to the Top 5 by amount

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors