Forum Discussion
dentonblake
8 years agoHelper II
Top 50 Rank
Have a table with sales for specific restaurants - would like to rank top 50 by 'xMonthActual_TABC' sales and 'xYearActual_TABC' sales. (see screenshot below) Appreciate all insight & ...
- 8 years ago
That's correct.
This is because rank was created with two columns, [location_name] and [location_city].
When you select a city, it does the rank considering the two columns. To work as you wish, consider only the [location_name] column in the rank and put the [location_city] column as the filter.
To do this, change the two measures.
Rank MonthPrevius = IF ( HASONEVALUE (ft_SALES [location_name]); RANKX (ALL (ft_SALES [location_name]); [xMonthPreviusToDate_TABC] ;; DESC; DENSE)) Rank MonthActual = IF ( HASONEVALUE (ft_SALES [location_name]); RANKX (ALL (ft_SALES [location_name]); [xMonthActual_TABC] ;; DESC; DENSE))Please try and test using it. And please mark the right reply as answer if your issue has been resolved, otherwise, please feel free to ask if you have any other issue.
Best Regards,
Rfranca
Anonymous
8 years agoNot applicable
Hello Guys
I need to create 2 ranking
- Add graph for Top 5 largest increases to the number of times a Category is linked
- Add graph for Top 5 largest decreases to the number of times a Category is linked
Can anyone help me with it?