Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
nareshthavidishetty
Creator III
Creator III

Set analysis

Hi,

I'm getting the below error in set analysis.Please let me know the correct logic.

Untitled.png

Thanks..

11 Replies
saimahasan
Partner - Creator III
Partner - Creator III

Hi Naresh

Since your MaxReportedDate field must be having only single record, you cantake that value in variable by using

LET vMaxDate = Date(Peek('Max_A',0,'B'));

Then using the set expression:

=Sum({$<Date={"$(vMaxDate)"}>}Sales)

You can get the required output.

vishsaggi
Champion III
Champion III

Yes, I missed it. Thanks.