The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Filter data: If data contains | then don't consider those records

sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
Hello,

If multiple attribute contains attribute value like A|B or 123|987
how to handles dynamically w.r.t all attributes

Thanks,
Sachin N
Tagged:

Answers

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi,

    you could use Loop Attributes and inside that Generate Attributes with something like:
    match = match || contains(%{attr}, "|")

    Initialize match with false, and filter records that have match = true after. The expression changes to true if one of the attribute values contains the character |.

    If it were a different character, you could use Generate Aggregation with the concatenate function - but unfortunately it uses exactly | for separating the resulting string.

    Regards,

    Balázs
Sign In or Register to comment.