Hello, I need to replicate the number of rows based on the value of the quantity column. Example.
thank you.
Hello, I need to replicate the number of rows based on the value of the quantity column. Example.
thank you.
Hello @Gfranco2021
you can achieve the expected result with the following sequence of nodes:
20240618_depetite_rows_according_to_quantity_v0.knwf (11.2 KB)
BR
Excellent thank you very much,
Hello @Gfranco2021
Just for the records. Alternatively you could use only the ‘One Row to Many’ node straight away; and with the help of some ‘String Manipulation’, you would be able to isolate the target integers from the ‘Row ID’, for the subset counts.
String Manipulation:
toInt(regexReplace($$ROWID$$, ".+(\\d+)", "$1")) - 1
BR
Excellent thank you very much.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.