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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
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.

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

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
MVP
MVP

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