Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
GDunn1
Contributor II
Contributor II

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 II
Contributor II
Author

Thanks @Vegar works perfectly