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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Amrnader1979
New Member

Rank

 

 I have a table with the name of the branch, the sales department, the seller, and the value of each sales invoice. I created a standard for net sales and put it on a card, and it works well. I want to create a standard by arranging each seller according to his sales for the branch to which he belongs, so that if I select him from a table or visual, his order will appear. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Amrnader1979 

 

Thanks for the reply from lbendlin .

 

Amrnader1979, I created a sample data to do the test for your reference. If it doesn't meet your needs, as lbendlin said, you need to provide the sample data and the expected results based on the sample data so we can better help you. Please remove any sensitive data in advance.

 

My sample:

vxuxinyimsft_0-1733710631150.png

 

sum = SUM('Table'[Sales Invoice Value])

 

Rank = RANKX(ALLEXCEPT('Table', 'Table'[Branch Name]), [sum], , DESC, Dense)

 

Output:

vxuxinyimsft_1-1733710790264.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Anonymous
Not applicable

Hi @Amrnader1979 

 

Thanks for the reply from lbendlin .

 

Amrnader1979, I created a sample data to do the test for your reference. If it doesn't meet your needs, as lbendlin said, you need to provide the sample data and the expected results based on the sample data so we can better help you. Please remove any sensitive data in advance.

 

My sample:

vxuxinyimsft_0-1733710631150.png

 

sum = SUM('Table'[Sales Invoice Value])

 

Rank = RANKX(ALLEXCEPT('Table', 'Table'[Branch Name]), [sum], , DESC, Dense)

 

Output:

vxuxinyimsft_1-1733710790264.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

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!

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.

Users online (25)