Skip to main content

I have the category and product hierarchy, a classification is applied to this hierarchy.

For example, rank 5 should show me 5 categories and each category should show me 5 products.

There is some way to calculate the ranking in this way without the product dimension being in view.

?

4 answers
  1. Nov 9, 2021, 11:57 PM

    Okay so here's what I did:

    1. Create a new calculated field, Index Filter = INDEX() <= [top]
    2. Add it as a filter to your view and select True
    3. Remove the [Ranking] filter
    4. Right click the [Index Filter] filter, hover over Compute Using..., then select Pane Down
    5. Now add [Subcategoria] as a filter to you view and (a) under the General tab, select Use all values, then (b) under the Top tab, select By field, then Top [top] (from the 2nd dropdown) by the sum of [Ganancia]
    6. Add your [Subcategoria] filter to context (right click the filter and select Add to Context)

     

    I've attached your workbook with these steps followed for reference.

    I hope this helps!

    Kelsie

0/9000