Discussion Board for collaboration on QlikView Scripting.
I just want to set my variable when a condition is true so I tried:
when $(aktuellerMulti)>=$(j) set rundungs = $(rundungs)#$(rundung);
Anyone knows why this doesnt work and has got a solution?
Thanks in advance !
Go to Solution.
Generally it's done with an if then else statement:
if $(aktuellerMulti)>=$(j) then
set rundungs = $(rundungs)#$(rundung);
If that doesn't work you'll have to explain what you're trying to do and how, i.e post the script or better, post the document your working on.
Works great, but why the hell is there the when-condition available? I really dont get it.
This works for me:
Let a = 1;
When a=1 Set B = 2;
So maybe just try:
when aktuellerMulti >= j set rundungs = $(rundungs)#$(rundung);