Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Multiply/Duplicate row by given multiplier

Hi,
is it possible to multiply/duplicate a row. It should be based on a given multiplier column (in the pic column "available_copies") without using a scripting component.
0683p000009MEez.png
Labels (2)
3 Replies
alevy
Specialist
Specialist

Input --> tFlowToIterate -iterate-> tLoop -iterate-> tFixedFlowInput --> output.
Use the available_copies value as the To variable in tLoop.
Anonymous
Not applicable
Author

Input --> tFlowToIterate -iterate-> tLoop -iterate-> tFixedFlowInput --> output.
Use the available_copies value as the To variable in tLoop.

Hey,
is it possible that you explain it in more detail? What settings do i have to do in the components?
in tflowToIterate i used the available_copies as key_value
in tLoop i used the variable from tflowToIterate for my to value ((Integer)globalMap.get("avail_copies"))
but i don't know what i have to setup in tfixedFlowInput (makes no sense to me)
alevy
Specialist
Specialist

tFixedFlowInput is used to make the output row, getting values from the input row that have been stored in the globalMap by tFlowToIterate.