Anyone have experience with MDX-Topcount?

largeselection

Active Member
Joined
Aug 4, 2008
Messages
358
Hello,

So I'm using an Olap connection to create some pivot tables for some reporting. I know how to use the topcount function to create a dynamic set which will show, for example, top 30 salesman by sales volume this year.

Topcount(Salesman, 30, SalesVolume TY)

Then when I use that set in the pivot table it will update based on filters and such in place - so if I put Country as a filter I can see the top 30 salesman by country by salesvolume.

My question - is it possible to see top 30 salesman by largest sales volume increase over last year?

I don't have a variance to LY field in the cube, but I do have SalesVolume this year and SalesVolume last year.

So is it possible to do something like:

Topcount(Salesman, 30, (SalesVolume TY - SalesVolume LY))

??

Any references, insight, help is appreciated
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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