Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
Showing results for 
Search instead for 
Did you mean: 

YTD calulation


i was able to find the rolling current year and last year calculation in a text, but i'm not able to do so for ytd. can someone please help me on this.

='Current Year:'& Num((Sum({<week = {">=$(vMinDate)<=$(vMaxdate)"}>} NET_SLS_AMT)/1000000),'##.00')
& ' Last Year:'&num((((Sum({<week = {">=$(vRollingStart)<=$(vRollingEnd)"},Period=>} NET_SLS_AMT)/1000000)
Sum({<week = {">=$(vRollingStart)<=$(vRollingEnd)"},Period= {'LYTD'}> } NET_SLS_AMT)/1000000)),'##.00')

this code is for Rolling current and rolling last year calculation and i have two filter called view and period, and i want the same for tyd current and last year in the same text object. please help me on this, i got to deliver tomorrow.

1 Reply
Digital Support
Digital Support

The only thing I have is the following Design Blog post that may further help:


Here is the base URL for the Design Blog in case you wish to further search for other posts, there are hundreds in this area, just FYI and majority are how-to related...



To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.