Forum Discussion

Arnault_'s avatar
Arnault_
Icon for Resolver III rankResolver III
4 years ago
Solved

Filter / Summarize Table by Max Value index

Hi All, I have one table with duplicated rows. I would like to remove these duplicates. It can be achieved by using one column and keeping the highest index. Here is a simple example. For each perio...
  • amitchandak's avatar
    4 years ago

    Arnault_ ,

    You can create a flag column new column

    =

    var _max - maxx(filter(Table, [Period] = earlier([Period]) && [item] = earlier([item] ) ) , [category_index] )

    return

    if([category_index] =_max, false(), true())