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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
panipat1990
Creator II
Creator II

Rolling Month with maximum day

Dear Team,

i stuck a requirement.

i am calculating rolling month 12. But i am want to calculate last 12 month of maximum day data.

Suppose we have data last month1 to 30.and i want to sum of sale only 30's day means max day of the month.Same last 12 month.How is it. Kindly help me.

1 Solution

Accepted Solutions
sunny_talwar

May be like this:

=Count({<date_field={"=Day(date_field) = Day(MonthEnd(date_field))"}>} DISTINCT Client_id)

View solution in original post

3 Replies
pathiqvd
Creator III
Creator III

Hi,

     Try this may be you will get,

=Count({<date_field={">=$(=date(max(date_field)-360))<=$(=date(max(date_field)))"}>}DISTINCT Client_id)

Regards,

panipat1990
Creator II
Creator II
Author

i want to calculate last Each  month data's of maximum day.Like 30 and 31.

sunny_talwar

May be like this:

=Count({<date_field={"=Day(date_field) = Day(MonthEnd(date_field))"}>} DISTINCT Client_id)