Integrate a counter as a dimension by counting the measures
I have a pretty easy question for you but I can not find a solution based on diagram functions.
I need a counter as a dimension which is counting my measures. I do not need a aggregated number.. I want that it just counts from 1 to the end of the values of my measures. Backround is that I want to sort my measures from high values to smaller values. There should not be a specific value which is connected with the measure.. that is why i want the counter.
Does someone has a solution for this problem in diagram scripting or do I have to script something in the code area?