3 Replies Latest reply on Feb 11, 2019 4:41 AM by Zhouyi Zhang

    Top N within each Sub-Category

    Nimit Bhardwaj
      * Viz LOD : [Category] , [Sub-Category] * * Tableau 2018.2 *
      I'm trying to calculate the top N subcategories within each Category by Sum of sales. When I apply a Top N filter on Subcategory by Sum of sales, it return only 3 marks. I want the viz to look like this :
      * When parameter N = 3 *
      Top N.png
      I was able to achieve this by using Index() but wanted to know if I can also do this using a parameter and a LOD calculation.