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

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