Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Age Field

Hi.

I have to field, 1. Employee Number and 2. Date of Birth. I need third field of age of each employee from today.

Calculation = Today - Employee (Date of birth). I am trying but it not comming correct.

Please find the attached qvw for data reference.

Regards,

Balachandra

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

There exists a function AGE .... in date and time functions ...

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Have a look at the attachement.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Try below.

age(Today(),Date(Date#(Field,'YYYYMM')))

Not applicable
Author

thanks for reply, how we can do the same in edit script.

regards,

Balachandra