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: 
Not applicable

How i do this sum

I have a field in table named COMPT_SIAB this filled with date i need sum field NASCIDOS_VIVOS when date is last date in table i try this but dont work.. please i need help

SUM({$<COMPT_SIAB=MAX(COMPT_SIAB)>}NASCIDOS_VIVOS)

3 Replies
ManuelRühl
Partner - Specialist
Partner - Specialist

1. Make a variable: V_MAXCOMPTSIAB = MAX(COMPT_SIAB)

2. Use the variable like that:

SUM({$<COMPT_SIAB=(#V_MAXCOMPTSIAB)>}NASCIDOS_VIVOS)

i hope that works ...

Manuel Rühl
Not applicable
Author

Hi,

here are an example that hopefully helps to solve your requirement.

Good luck!

Rainer

Not applicable
Author

i dont understand your question but try to check the attached file and see if it help.