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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
EThanumalayan1602246470

Iterate tJavaRow Component

Hi All,

I have a excel File which has below data

0693p00000AZOukAAH.png

having a tJavaRow component to iterate through each row and perform a action by splitting each row into 2 rows. So the Desired output is

0693p00000AZPDqAAP.png

Help me to achieve the RowSplitting.

Note : Both Input and Output are of Excel file type

Labels (2)
3 Replies
Prakhar1
Creator III
Creator III

Hi,

I hv prepared a job with the same file input.

I have taken all the columns as string and also i have not used tjava row.

I have attached all the job SS in this message.0693p00000AZSaEAAX.png0693p00000AZSaOAAX.png0693p00000AZSaJAAX.png0693p00000AZSa9AAH.png 

Please give a like and select as answer if it worked for you..

EThanumalayan1602246470
Author

Thanks @prakhar dubey​, The above solution is going to split all the Rows from the input. If I need to split the rows by a condition Ex: (Num%2 ==0), the rows which satisfy the condition needs to be splitted. Is that possible ?

Prakhar1
Creator III
Creator III

yes @Elango Thanumalayan​ you can use tfilterow and use your condition to send the rows to tMap

or you can also use the condition in tMap