Forum Discussion
Anonymous
6 years agoNot applicable
TopN with Multiple Dimensions
Hi there clever people! I have a ranking situation that I am trying to solve and have approached it from 5 different ways and reach the same result every time, so I may be about to go insane. Ho...
- Anonymous6 years ago
Here's the solution.
Best
D
- Anonymous6 years agoWell, my solution has the advantage that it can be used in ANY visual and restrict stores even if other measures used in there return values for all stores.
Best
D
Anonymous
6 years agoNot applicable
Here's the solution.
Best
D
Anonymous
6 years agoNot applicable
Thank you very much, D
I also got the following solution from another site that worked well too:
Rank Stores = VAR Top5Stores = CALCULATETABLE ( TOPN ( 5, CALCULATETABLE ( VALUES ( Locations[Store Name] ) ), [Weeks of Sales] ), ALLSELECTED() ) RETURN CALCULATE ( [Weeks of Sales], KEEPFILTERS ( Top5Stores ) )
Cheers,
Phil
- Anonymous6 years agoNot applicableWell, my solution has the advantage that it can be used in ANY visual and restrict stores even if other measures used in there return values for all stores.
Best
D - vinayakaggrawal3 years agoFrequent Visitor
Can you share the website where you got this solution?