Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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;

Labels (1)
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.