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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
GDunn1
Contributor III
Contributor III

Sum with MAX MonthKey

Hi,

I am attempting to return a value where the max MonthKey is selected. The below is accepted but returns zero values. I wonder if it is because each product line may not have a consistent max date...

It seems like a simple formula but I cannot get it to return values. Any help appreciated

num(sum( {max<MonthKey>} ClosingFUA ))

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try this

sum( {<MonthKey={'$(=max(MonthKey))'} >}ClosingFUA )

View solution in original post

2 Replies
Vegar
MVP
MVP

Try this

sum( {<MonthKey={'$(=max(MonthKey))'} >}ClosingFUA )

GDunn1
Contributor III
Contributor III
Author

Thanks @Vegar works perfectly