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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
genupula
Contributor
Contributor

need to convert below case statement in talend

Hi  All,

 

   i need to convert the below case statement in talend

 

CASE WHEN mcw_qualitypot_prod_event_deduped.qualitypot_prod_task_type  ="IMAGE_REVIEW"
AND mcw_qualitypot_prod_event_deduped.qualitypot_prod_error :: text ='incorrectRejected'
THEN count(
mcw_qualitypot_prod_event_deduped.qualitypot_prod_error
) ELSE NULL END AS quality_incorrectrejectedpots,

 

please provide solution for the above requirement

Labels (3)
1 Reply
TRF
Champion II
Champion II

You may have a sequence with a name based on the value of both qualitypot_prod_task_type + qualitypot_prod_error fields:

Numeric.sequence(row1.qualitypot_prod_task_type+row1.qualitypot_prod_error, 1, 1)

Use this to populate a global variable or tMap local variable and get the result where needed.