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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Laocsulak
Helper I
Helper I

best sellers column and filter

Hello,

I have created a simple matrix with the customers and their purchases, like in the next dummy example:

Laocsulak_0-1675448685547.png

I would like to know if there's a way to add a column and/or a filter that shows who are the 3 top sellers, who are "1", "2" and "3" in this example.

 

Files:

https://drive.google.com/drive/folders/1HuK9I8zG1F3urpJhjnjxr4L3d15CoAko?usp=sharing

 

Thanks in advance!

 

1 REPLY 1
FreemanZ
Super User
Super User

hi @Laocsulak 

try to add a measure to the matrix visual:

Ranking =
RANKX(
    ALLSLEECTED(TableName[buyer]),
    CALCULATE(SUM(TableName[amount]))
)

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors