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

Did 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

Reply
JH
Frequent Visitor

Top N Ranking in Concentration Chart

Hello,

 

I'm trying to create a concentration chart, ranking our customers according to their revenue. I should look somehow like this: 

Unbenannt.PNG

I need to use some sort of formula, such as: TOPN or RANKX to always have automatically the top 5 vendors pictured. I further need to filter it by Country. 

 

However, I can't get my head around the TOPN Formula as I keep making syntax mistakes.

 

The data used is the following:

Vendor_name in the vendor table

Total_revenue in the revenue table 

(both tables are correctly joined)

 

What I need is that the vendor_name ranks themselves according to the Total_revenue collumn. 

 

Can smn help me out? 

 

(No, I can't just use the TOP N Filter 🙂 )

 

 

Thank you!  

 

 

 

 

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi JH,

 

Could you give more details about your tables and measures you are using? In addtion, you said "vendor_name ranks themselves according to the Total_revenue collumn", vendor_name is a table, right? So which column do you want to rank by column [Total_revenue]? Are there some other columns should be used as category column to be group by? Please clarify more details about your expected requirement.

 

Regards,

Jimmy Tao

Hi Jimmy,

 

Thanks for your reply and sorry for my late answer! 

 

I want the different vendors name (vendor being the table, and name the measure) ranked by total revenue (Internal Revenue being the Table and Total internal revenue the measure). I do not need any extra category for now 🙂 

 

iu.PNG   iui.PNG

iuiu.PNG

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.