Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jaarroyl
Contributor III
Contributor III

Max in Load Script

Hello, Please help to understand why this part of script says Invalid.

Regards

Invalid expression

LEFT JOIN (Filtro_Llamados)

ULTIMA_FECHA:

LOAD POLTIME,

If(FECHA_LLAMADO_POLIZA = 0, '0', Num(MAX(FECHA_LLAMADO_POLIZA),00)) as FECHA_ULTIMO_LLAMADO

Resident FECHA_LLAMADO

Group By POLTIME;

1 Solution

Accepted Solutions
vishsaggi
Champion III
Champion III

Try this:

LEFT JOIN (Filtro_Llamados)

ULTIMA_FECHA:

LOAD POLTIME,

     Num(Max(If(FECHA_LLAMADO_POLIZA = 0, '0', FECHA_LLAMADO_POLIZA)),00) as FECHA_ULTIMO_LLAMADO

Resident FECHA_LLAMADO

Group By POLTIME;

View solution in original post

2 Replies
vishsaggi
Champion III
Champion III

Try this:

LEFT JOIN (Filtro_Llamados)

ULTIMA_FECHA:

LOAD POLTIME,

     Num(Max(If(FECHA_LLAMADO_POLIZA = 0, '0', FECHA_LLAMADO_POLIZA)),00) as FECHA_ULTIMO_LLAMADO

Resident FECHA_LLAMADO

Group By POLTIME;

jaarroyl
Contributor III
Contributor III
Author

Thanks!!!

It works.