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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sivarajan21
Post Prodigy
Post Prodigy

Adding a field parameter fields to TopN visual filter pane

Hi,

 

I have created a field parameter table as below:

sivarajan21_0-1715193934260.png

 

I have used above field parameter in below visual x-axis:

sivarajan21_1-1715194028449.png

Now its working well! But I want to filter this visual for TopN values as shown below based on parameter table fields column as shown below:

sivarajan21_2-1715194176286.png

 

But when i drag this field parameter column in filter this visual pane 'By value' it shows First Parameter and it doesn't aggregate.

I am confused how to filter visual by the top 20 'Name' column by variance Field parameter fields column.

Can you please help us with this?

 

PFA file here Portfolio Performance - v2.12 - Copy.pbix

 

Thanks in advance!

@Ahmedx @amitchandak @marcorusso 

2 REPLIES 2
amitchandak
Super User
Super User

@sivarajan21 , I think it is better to use TOPN measure in the field parameter created for measures

 

if you want switch base on axis

Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f

 

Get Super Dynamic TOPN using Window, Numeric, and Field parameters along with calculation groups- https://youtu.be/YW1SOk9V9xk

 

Dynamic TOPN using TOPN/Window and Numeric parameter: https://youtu.be/vm2mdEioQPQ

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak ,

 

Many thanks for your quick response!

Can you please guide me how to implement them in file i attached?

 

Thanks in advnace!

@amitchandak @Greg_Deckler @marcorusso @lbendlin @Ahmedx 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.