Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
iswarya
Partner - Creator
Partner - Creator

Split a single row value into many rows

Hi All,

I want to split a single row's value into multiple rows.

E.g: For location 11 & item ABC, the qty is 2 so its corresponding fields(NO,DATE,COMMENTS) should be split into next two rows. If the qty is 5 then 5 corresponding rows to be added.

Image.JPG

2 Replies
asinha1991
Creator III
Creator III

you will have to create two nested for loop, one for loop will read qty from each row (using peek function)...and the other will loop till qtv in current iteration and create as many rows

ArnadoSandoval
Specialist II
Specialist II

Hi @asinha1991 

This is a duplicated thread, the original one is here 

Regards,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.