Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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 ...