Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Auto increment data based on column

$
0
0
Hi Sir,Madam,

PDI 6.1, JAVA 1.7, MySQL DB.
I want to add my sample transformation and my sample excel file to explain in-detailed about my logic but PDI forum is not allowing me to add any objects. Sorry for that. below is my excel data.

PRODUCT DESCRIPTION UNITS
F00001 added 350
I need to generate rows 350 times based on UNITS column.

example: While generating the 350 rows PRODUCT column data i.e. should start fromF00001 and end with value F0000350 that means, record should auto increment based on UNITS column. I am able to generate 350 rows using Clone row step but not able to increment the value. Could you please help on this scenario.

expected output :

PRODUCT DESCRIPTION UNITS
F00001 added 350
F00002 added 350
F00003 added 350
F00004 added 350
F00005 added 350
F00006 added 350
.
.
.
F0000350 added 350
Thanks,
Santhi

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>