🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

sort and group by variables

User: "rpanizza"
New Altair Community Member
Updated by Jocelyn
Is it possible to sort a data set by 2 variables? And group by 2 variables?

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "IngoRM"
    New Altair Community Member
    Hi,

    in the data views (tables) it is possible to sort according more than one column by pressing the CTRL-key while selecting several of the column headers.

    The sorting, grouping, and aggregation operators however do currently only support one column, sorry.

    Cheers,
    Ingo
    User: "TobiasMalbrecht"
    New Altair Community Member
    Hi,

    we recently extended the [tt]Aggregation[/tt] operator in so far that it allows grouping by more than one attribute. The parameter [tt]group_by_attributes[/tt] now allows the specification of multiple attributes using regular expressions. However, the extension is at the moment only contained in the RapidMiner developer version which is accessible via CVS and Eclipse. You find an explaination of how to checkout the developer version at

    http://rapid-i.com/content/view/25/48/lang,de/

    Regards,
    Tobias
    User: "achint_kumar"
    New Altair Community Member
    Do we have any update here? Can we sort an attribute by grouping another attribute? I dont want the sort all the data but only for per patient/unique.

    This is one of the reasons i am stuck with my delivery, it is not possible in RM to process this way? Its an ETL operation, im generating a KPI.
    Hi,
    you can use group into collection to get a collection per patient. Then you can use loop collection and sort.

    Let me know if you need an example for this.

    Best,
    Martin