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...
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
Anonymous
6 years agoNot applicable
Well, 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
Best
D