I have a dataset which has 1000s of records.
Every record needs to pass through a set of validations to determine the break type and input the corresponding type to a new column.
In dataset, there can be records with same primary key. Like ID 1 can be repeated 3 times for 3-4 potential break types.
Now nested IFELSE statement is used in formula tool to validate and output the break type using THEN value and ELSE is "" at the end.
And IFELSE is a top to bottom condition. So when ID 1 can have 3 break types - X, Y, Z. The nested IFELSE is outputting only the 1st break type as soon as it comes in all the 3 records. I want all 3 in output file in different row with break types written in the new column created "Type". This process must be followed on all records -
Pass a record on all validations. The first validation which gets satisfied is the output with the THEN value in the new column "Type". If the same ID record is present in input and enters the validations, then skip the validation which is already satisfied and return the 2nd validation which gets True with the THEN value in the earlier column "Type". And so on for 3rd etc..
Basically want an added feature in the flow to skip the validation which is already satisfied for the same ID and search for next one and then output that as well.
Might be difficult to send the dataset as it's confidential. Would love to have a piece of your mind.
Thanks