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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

set analysis based on dates(Urgent)

Hello All,

I am new to qlikview and need your help.

I need make a chart for returned sales.

The condition is closed date - opened date less than 20 days.

How would i do it in set analysis?

Please help me

Thanks & Regards,

Jaya

Labels (1)
1 Reply
Anil_Babu_Samineni
MVP
MVP

May be this?

Sum(If(([closed date]-[opened date])<20,[returned sales]))

OR


If(([closed date]-[opened date])<20, 1,0) as Flag

Expression is this?

Sum({<Flag = {1}>} [returned sales])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful