Skip to main content
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

1 Reply
Anil_Babu_Samineni

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