Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have this in my script:
PorcentajeCalc:
Left Join (Junt)
Load Num_Tarjeta,
if(sum(DateDebt)= , FF1 * 0),
if(sum(DateDebt)>=1 And sum(DateDebt)<=30, FF1 * 0,01) as RER
resident Junt
Group By Num_Tarjeta;
It seems * 0 and *0,01 is wrong. How can I put this formula in qlikview?
Thanks
Hi
I think, You also include FF1 in group by..
The problem I suspect is the , in 0,01
Try it like this:
PorcentajeCalc:
Left Join (Junt)
Load Num_Tarjeta,
if(sum(DateDebt)= , (FF1 * 0)),
if(sum(DateDebt)>=1 And sum(DateDebt)<=30, (FF1 * 0.01)) as RER
resident Junt
Group By Num_Tarjeta;
Hi, Thanks for your reply.
PorcentajeCalc:
Left Join (Junt)
Load Num_Tarjeta,
if(sum(DateDebt)= 'Date', (FF1 * 0)),
if(sum(DateDebt)>=1 And sum(DateDebt)<=30, (FF1 * 0.01)) as RER
resident Junt
Group By Num_Tarjeta;
But Still Appears "Invalid Expression"
HI
Try like this
Left Join (Junt)
Load Num_Tarjeta,
if(sum(DateDebt)= 'Date', (FF1 * 0),
if(sum(DateDebt)>=1 And sum(DateDebt)<=30, (FF1 * 0.01))) as RER
resident Junt
Group By Num_Tarjeta;
Hope it helps
Hi, Appears the same error.
Hi
I think, You also include FF1 in group by..
That was it.
Many Thanks.