Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
ziabobaz
Creator III
Creator III

(min) function in set analysis

Hi!

I have dates and revenues for each date, DATE and REVENUE fields

When the user selects the range of DATE, I want to calculate sum of REVENUES for the minimum date in the selected range.

The formula does not work, why? I tried different ways and still don't get anything, unless I put the fixed date inside. Thank you!

Sum({<[DATE]={min(DATE)}>} [Revenue] )


Sum({<[DATE]={=min(DATE)}>} [Revenue] )

3 Replies
dsharmaqv
Creator III
Creator III

ziabobaz
Creator III
Creator III
Author

The dollar sign solved it:

Sum({<Дата={"$(=min(Дата))"},[Revenue])

rupamjyotidas
Specialist
Specialist

Maybe you can close the discussion