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

how to make all possible combination for data given

sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
edited January 2021 in Help
Hello,
Parameter
DIR=PURCHASE;SALE
DIR=INWARD;OUTWARD
DIR=PURCHASE;SALE;INWARD;OUTWARD
FPRODUCT=REMITTANCE;FCY;BILL PAYMENT;CREDIT CARD COLLECTION;FAWRI;TRAVEL CARD
FPRODUCT=REMITTANCE;FCY

want column like this
ParameterCombination

DIR=PURCHASE;SALE|
FPRODUCT=REMITTANCE;FCY;BILL PAYMENT;CREDIT CARD COLLECTION;FAWRI;TRAVEL CARD
DIR=PURCHASE;SALE|FPRODUCT=REMITTANCE;FCY

DIR=INWARD;OUTWARD|FPRODUCT=REMITTANCE;FCY;BILL PAYMENT;CREDIT CARD COLLECTION;FAWRI;TRAVEL CARD
DIR=INWARD;OUTWARD|FPRODUCT=REMITTANCE;FCY

DIR=PURCHASE;SALE;INWARD;OUTWARD|FPRODUCT=REMITTANCE;FCY;BILL PAYMENT;CREDIT CARD COLLECTION;FAWRI;TRAVEL CARD
DIR=PURCHASE;SALE;INWARD;OUTWARD|FPRODUCT=REMITTANCE;FCY

DIR=PURCHASE;SALE
DIR=INWARD;OUTWARD
DIR=PURCHASE;SALE;INWARD;OUTWARD
FPRODUCT=REMITTANCE;FCY;BILL PAYMENT;CREDIT CARD COLLECTION;FAWRI;TRAVEL CARD
FPRODUCT=REMITTANCE;FCY



Answers

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

    Creating all combinations between two tables is usually done with the Cartesian Product operator. You can always self join two copies your data using Multiply and possibly cleaning up duplicates. After that you would use Generate Attributes to concatenate the two columns. If I interpret your output correctly, you would also Append the original table at the end.

    Regards,
    Balázs
Sign In or Register to comment.