Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I would like to use the following statement in my script, but it doesn't work:
"reisezeit" is a variable which can be 0 or 1.
if reisezeit = 1 then
sum(if(Reisezeit='Nein', Stunden) )as Stunden_Projekt;
elseif
reisezeit = 0
sum(Stunden) as Stunden_Projekt;
ELSE
sum(Stunden) as Stunden_Projekt;
end if
Does someone has an idea why?
Thank you for your help.
Thank you very much for your help! " "