Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

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