Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Gowtham174
Creator
Creator

YEARFRAC Function In qlik

Hi Team,

In Excel we have function called YEARFRAC , is there a same function in Qlik.

Start DateMaturity dateYearFrac
2020-02-042020-08-0449.73%
2020-02-042021-02-04100.00%
2020-02-042023-02-04300.07%
2020-02-042025-02-05500.36%

 

Thanks,

Gowtham

Labels (1)
2 Replies
sunny_talwar

I think you are using Basis = 1 in your calculation, right? I believe Excel has it way of determining the actual number of days in the year. I am unable to determine how exactly does it estimate this... To answer your question, there is no easy function which would do this for you, but if you can estimate the denominator, numerator can be determine by doing Maturity date - start date.

Sue_Macaluso
Community Manager
Community Manager

@Gowtham174 Are you using QlikView or Qlik Sense? I would like to move this into the correct product forum.

Sue Macaluso