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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
pgalvezt
Specialist
Specialist

Form Script

How Should read into my sxript this?

if(aggr(sum(date(TDFECPRO)-TD_Mora),Num_Tarjeta)= TDFECPRO, Debt * 0,

if(aggr(sum(date(TDFECPRO)-TD_Mora),Num_Tarjeta)>=1 And aggr(sum(date(TDFECPRO)-TD_Mora),Num_Tarjeta)<=30, Debt * 0.01))

I tried:

if(sum(TDFECPRO - TD_Mora)= 'TDFECPRO',Debt * 0),

if(sum(TDFECPRO - TD_Mora)>=1   And  sum(TDFECPRO - TD_Mora)<=30, Debt * 0.01) as RER

But Nothing Happens.

Thank you

2 Replies
pljsoftware
Creator III
Creator III

Hi,

have you try to use Group By in your script?

Load

.....

if(....) as RER

Resident Table

Group By Num_Tarjeta

Regards

Luca Jonathan Panetta

PLJ Software

sebastiandperei
Specialist
Specialist

Pgalvez, if I understand, you need to put these expression in a field in the script. Please, say me if im wrong.

For do that, you (or we, to help you) need to know the data structure and format. Many times, the data isn't related in the tables like are in the expressions, of the final app.

Could you send us a reduced copy?