POWER PIVOT: How do I return the name of the top rank of data if the values column is not in totals?

PooleS

New Member
Joined
Jul 13, 2018
Messages
1
I am currently looking at a transaction list data set where each line shows a location with an amount sold in an adjacent column. I have found out how to rank the values data so I know the amount the top location sold using =MINX ( TOPN ( MIN( 'Rank'[Order] ) ,VALUES (Location [Provider short name] ), CALCULATE ([Sales (Total)] ) ), CALCULATE ([Sales (Total)] ) ) This is useful but I need to retrieve the location which these total sales belong to. I can take my spreadsheet offline and do this separately but would prefer to know how to do this using a new POWER PIVOT measure.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,214,596
Messages
6,120,438
Members
448,966
Latest member
DannyC96

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top