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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum() where property = Max()

Let's assume we have

Entity

{

     Date

     Value

}

How to Sum(Value) for the latest day?

=Som({<$Date=.........>}Value)

I'm still trying to understand the syntax, I tried several ways but without no luck.

P.S. Any article regarding syntax like this?

Labels (1)
1 Solution

Accepted Solutions
Nicole-Smith

=sum({$<Date={'$(=max(Date))'}>}Value)

or

=sum({$<Date={'$(=date(max(Date)))'}>}Value)

View solution in original post

1 Reply
Nicole-Smith

=sum({$<Date={'$(=max(Date))'}>}Value)

or

=sum({$<Date={'$(=date(max(Date)))'}>}Value)