Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
nvrphanikumar
Creator
Creator

Calculating YTD Numbers

Hi,

Fairly New

Trying to calculate YTD Filled numbers.

At first tried this

COUNT({$<[Current Disposition Status]={'090 Hired'},year([Filled Date]) = {'$(=Year(Today()))'}>} [Application ID])

and learnt that i cant use Functions on the left side.

Tried this

Count(if(Year([Filled Date]) = {$(=Year(Today()))}), [Application ID]))

Still cant get the right values,Can someone please correct where i'm wrong?

3 Replies
MK_QSL
MVP
MVP

Create FilledYear in script as below

Year([Filled Date]) as FilledYear

Count({<[Current Disposition Status]={'090 Hired'}, FilledYear = {'$(=Year(Today()))'} >}[Application ID])

nvrphanikumar
Creator
Creator
Author

There are many Metrics for which i need to calculate YTD, Is there a better way than creating the Year Column in the dataset ?

MK_QSL
MVP
MVP

Provide source data or sample application. Can suggest you something only after checking that..