Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Vinil
Contributor III
Contributor III

Calender is not working

Hi Team,

 I need to see the total price for the previous month(example:03/01/2020 to 03/31/2020) instead of that I am seeing different i:e  previous month's first day to one day before the last date of the previous month(example:03/01/2020 to 03/30/2020). This is happening for all the months. When I am checking for an individual date total purchases then that total is matching with my data set totals but when checking for month-wise it's not populating correctly.

Please take a look at the variables that I am using to display dates on the calendar.

Thanks in Advance.

 

Thanks,

Vinil

 

 

 

 

vinil
5 Replies
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

You have a sample app?

Vinil
Contributor III
Contributor III
Author

I couldn't share it here.

 

Thanks,

Vinil

 

 

vinil
Vinil
Contributor III
Contributor III
Author

Please help me with that issue. Today, I saw that calendar is working for few months and showing the right data but not happening same for a few months.

Thanks in Advance.

Vinil

 

vinil
Vinil
Contributor III
Contributor III
Author

=Sum({<[invoice date]={">=$(=date(admonths(v_start_date,0),'MM/DD/YYYY'))<=$(=date(v_end_Date,'MM/DD/YYYY'))"),[corp_acct_key]={1}>}Purchase dollar amnt])

 

This is my set analysis to get the sum of the selected months or year. But I am getting a different sum for the selected .month

example:03/01/2020 to 03/31/2020) instead of that I am seeing different i:e  previous month's first day to one day before the last date of the previous month(example:03/01/2020 to 03/30/2020). This is happening for all the months. When I am checking for an individual date total purchases then that total is matching with my data set totals but when checking for month-wise it's not populating correctly.

vinil
Brett_Bleess
Former Employee
Former Employee

Very difficult to troubleshoot without sample app/data, not likely going to be able to help without it in this case, so if you cannot post, you may have to use other means to get assistance.  Best I can offer otherwise is the following Design Blog posts:

https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344

https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822

There are some other links in the posts, so be sure to check those too.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.