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: 
Anonymous
Not applicable

Quarter to till date

Hi,

How to get a sum from current quarter to till date.

Can you guide me on this.

Regards,

Kumar

Labels (1)
3 Replies
sunny_talwar
MVP
MVP

May be using your date field:

Sum({<Date = {"$(='>=' & Date(QuarterStart(Max(Date)), 'YourDateFieldFormatHere') & '<=' & Date(Max(Date), 'YourDateFieldFormatHere'))"}, Quarter, Year, Month, Date, Day>} Sales)

Anonymous
Not applicable
Author

Thanks Sunny. In expression is it require Quarter, Year, Month, Date, Day irrespective of YTD,MTD and QTD.

sunny_talwar
MVP
MVP

Those are there so that selection in these fields doesn't impact the expression. Everything should be driven based on DateField.