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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

InQuarter or what?

Hi everybody

I wanna have a SUM(Money) in the actual quarter in the actual year like quarter to date

how can i do that?

Thanks,

Cheers!

Labels (1)
2 Replies
maxgro
MVP
MVP

maybe with some flags (IsInQTD, IsInYTD) in the calendar as explained here

Year-over-Year Comparisons

sunny_talwar

‌Flags are usually the best option because it makes the application so much more efficient. But in case you cannot change the script or you are looking for an alternative solution, you can try this:

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