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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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 ...