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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,224,585
Messages
6,179,696
Members
452,938
Latest member
babeneker

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