Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

YTD Calculation

Hi All

I have an AP table as

AP period Year    startdate   enddate

AP01        2012   2-Jan-12   31-Jan-12

AP02        2012   2-Feb-12   28-Feb-12

I need to calculate YTD calculation

Fact table has a field  induction date.  expression is  sum (field)  from  today of induction date to start of the induction date of  same year, but it should be till the  AP start date.

for ex in above scenario induction date from today to 2-Jan-12  should be taken as YTD should be used and sum(field) has to be calculated ...

Field contains numeric value.

should i link induction date with AP start date..??

how to calculate YTD??

2 Replies
Not applicable
Author

anyone is there ??

pls share your idea......

Anonymous
Not applicable
Author

Hi

     Hope the attached qv file will be solve your YTD calcualtion

Regards

Ashok