I would like to write a RANKX formula that ranks the TOP and BOTTOM 5 Country and Categories based off of IYA. So as different slicers are selected it will change the Top and Bottom 5.
For example "LA" is selected in the Region slicer then the TOP 5 will show the top 5 country/categories that have the top 5 IYA and bottom 5 IYA. As the timeframe slicer is changed as well the TOP and Bottom 5 can change as well. Example LW Canada ^&8 could be in the top 5 but L52W it may not be. Below is a picture of how I invision is roughly looking but only 5 rows.
I know it will be a RANKX formula and I can then use the TOPN function on the filters... Thank you for all the help and I look forward to hearing from you
The way the formulas are set up is that some of the slicers need to be selected for the tables to display figures... Some categories may not have sales in certain markets so you will need to sort by IYA or POS to bring the numbers to the top of the table. Please let me know if you need anything else. I appreciate all of the help.
I will re-post the link to download the file but I downloaded it from the file from the original link and made a selection on the time frame slicer and it worked fine... If you could download the orignial file again and make a selection on this slicer
Once this selction is made it will populate the table in the bottom left... I've verified this several times...
Here is the new link: https://drive.google.com/file/d/1Yqix6czPTLJ981_TRB8VmxnvZLi07ftW/view
This measure will rank all glb_category within a market
If you wish to rank the market, then remove the glb_category from the visual and write this measure
You may now filter this measure by Top 5/Bottom 5.