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

Join 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

Reply
Anonymous
Not applicable

Rankx function

hi all,

 

i'm pretty new to Power BI. I'm currently running data by product range and site / store. I'm trying to create a rank which will highlight to top x number of ranges sales for all sites. Then using this rank I want to create a summary of the site / store sales. I've used the basic rank functionality but when i filter for a selection of sites / stores the top ranges changes based on the selection of sites / stores and doesn't reflect the total top ranks etc.

 

thanks in advance

Rich

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

It seems that you have problem with fiter and rankx. 

 

To understand your sceanrio better, could you share some data sample and your desired output so that we could help further on it?

 

Best  Regagrds,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.