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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

How to write set analysis ?

Hi all,

How to write set analysis ?

Capture.PNG

My expression :

sum({$<TranType = {$(vAmountType)}>} Amount)

I need the sales should be calculated on current_date but the results is only displaying for trans Date 20140206 .

Thanks,

11 Replies
suvechha_b
Creator III
Creator III
Author

Please find the sample attached.

sunny_talwar

It seems that your data model is what might be causing the issue. Look at this table box

Capture.PNG

It seems that Amount values repeat for each of the current_date. Now how would you decide which Amount value should show up for which current_date? Attaching the qvw back with the table box for you to see.