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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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!

Labels (1)
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 ...