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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
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 ...