Add MIN and MAX aggregates for string column

GrantSmith
GrantSmith Indiana πŸ₯·

A lot of times I'm processing data within Magic ETL 2.0 and need to take the minimum or maximum of a string column after a group by however in Magic 2.0 it's not an option in the group by tile. It'd be great if these aggregate functions were added as part of the group by tile.



**Was this post helpful? Click the heart icon**

**Did this solve your problem? Accept it as a solution!**
3
3 votes

Β· Last Updated

Comments

  • GrantSmith
    GrantSmith Indiana πŸ₯·

    It is possible to utilize a Rank tile to calculate the rank by sorting the column and then filter for rank 1, then joining back to the original dataset however it'd be easier and simpler if MIN and MAX were just included in the options in the Group By tile.



    **Was this post helpful? Click the heart icon**

    **Did this solve your problem? Accept it as a solution!**
This discussion has been closed.