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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

replicate set analysis in script

Hi i've created this expresion in a graph

Num(sum({$<Flag=Flag - {Value1}>} Importe*Cambio) + sum(ImporteAV),'.###,0')

I need to replicate this in the script

I tried a few things but they didn't work

What should i do?

Thank you!

1 Reply
Anonymous
Not applicable
Author

Maybe this:

LOAD

...

num(sum(if(Flag<>'Value1', Importe*Cambio)) + sum(ImporteAV), '.###,0') as NewField

...

LOAD (or RESIDENT or FROM) ...

GROUP BY ...