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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to get Sum of multiple dates in addmonth or Add year function

Hi Team,

i use below expression for get sum of sales at select date vs same day as last year

=num(sum({1<U_SalesDate = {"$(=date(Addmonths(U_SalesDate,-12,0),'DD/MM/YYYY h:mm:ss TT'))"}>}

U_Value),'##0.00')

but its work only single day its not working with multiple date selection in calendar input field.

Kindly solve this

Regards

SASIKUMAR

14 Replies
Anonymous
Not applicable
Author

i attached sample file u r ref.

u select any one date on using  calendar date filed & after select any two date.

and give the solution where i have to stuck

Anonymous
Not applicable
Author

TEST.jpgi attached sample file u r ref.

u select any one date on using  calendar date filed & after select any two date.

and give the solution where i have to stuck

Kushal_Chawda

Please check the variables , I have created on front end.

Capture1.JPG

Capture.JPG

Anonymous
Not applicable
Author

Thanks kush141087


its Working


Kushal_Chawda

Awesome