Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi every body,
I wonder is someone have a little exemple of using a for-next loop using a list of values instead a correlative numbers.
for exemple I need the variable 'n' takes the values 'ACG' , next 'BPJ', next 'HJP'...
Thanks
For each n in 'ACG' , 'BPJ', 'HJP'
...
Next n
See more on https://community.qlik.com/t5/Qlik-Design-Blog/Loops-in-the-Script/ba-p/1473543
For each n in 'ACG' , 'BPJ', 'HJP'
...
Next n
See more on https://community.qlik.com/t5/Qlik-Design-Blog/Loops-in-the-Script/ba-p/1473543
Thank you Henric,
do you know the sintaxis to avoid "Field not found error Field 'ICO' not found"
in this script?
FOR EACH EMP IN 'ICO','HJP'
temp:
LOAD
$(EMP) AS EMPRESA,
...
Sorry I see the solution in your bolg '$(EMP)' AS EMPRESA.
Thank you very much