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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
anindya_manna
Creator II
Creator II

How to calculate MTD

I want to display MTD sales based on shipdate DD-MM-YYYY format.

1 Solution

Accepted Solutions
sunny_talwar

May be like this:

Sum({<shipdate = {"$(='>=' & Date(MonthStart(Max(shipdate)), 'DD-MM-YYYY') & '<=' & Date(Max(shipdate), 'DD-MM-YYYY'))"}>}Measure)

View solution in original post

2 Replies
sunny_talwar

May be like this:

Sum({<shipdate = {"$(='>=' & Date(MonthStart(Max(shipdate)), 'DD-MM-YYYY') & '<=' & Date(Max(shipdate), 'DD-MM-YYYY'))"}>}Measure)

anindya_manna
Creator II
Creator II
Author

Thanks