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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
tomhovens
Contributor II
Contributor II

Need help for Function YTD

Hello all,

I'm looking for a function to calculate the YTD of amount but:

- Peolpe can make a selection on the month doesn't change the outcome of the function

- People can choose the country does change the outcome of the function

This is the function I have till now

=Sum({$<Month=>}amount)

3 Replies
sunny_talwar

Have you checked out this blog -> YTQ, QTD, MTD and WTD

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Perhaps these blog post help:

Year-over-Year Comparisons

Relative Calendar Fields


talk is cheap, supply exceeds demand
Not applicable

Hi

Whatever filter you want on sum you can add as you added Month.

eg.

=Sum({$<Month=>,Year=>}amount)


like wise. it will just ignore your selection and show the sum.


Regards,

Lokesh