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

Announcements
Check out our latest virtual session where BARC Fellow, Doug Laney, highlighted the opportunities data monetization can offer enterprises. Watch here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tOracleOutput insert AND update

Hi,
I have a problem ...
I have an input file :
Desc :
code;mois;valmois1;valmois2;valmois3;
S1; 01; 11; ; ;
S2; 01; 21; ; ;
S3; 01; 31; ; ;
S4; 02; ; 42; ;
S5; 02; ; 52; ;
S3; 02; ; 32; ;
S6; 02; ; 62; ;
S7; 03; ; ; 73;
S5; 03; ; ; 53;
S3; 03; ; ; 33;
S8; 03; ; ; 83;
...
I want writting on DB (Oracle) :
Desc :
code;valmois1;valmois2;valmois3;
S1; 11; ; ;
S2; 21; ; ;
S3; 31; 32; 33;
S4; ; 42; ;
S5; ; 52; 53;
S6; ; 62; ;
S7; ; ; 73;
S8; ; ; 83;
...
with (?)
tFileInputDelimited --> ? --> tOracleOutput
I don't see how I can do that ...
Thank you for your help
Quartz
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hello,
u have some trouble, i have a respond
Replace "?" by a tAggregateRow : group by mois, use max ( or first ... ) function for valmois1, valmois2, valmois3
Anonymous
Not applicable
Author

Hi,

use tAgregateRow with sum function (see capture) before insert on database

Jeremie
Anonymous
Not applicable
Author

Thank you !!!!
You are very good
Quartz