Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
j_qlikview
Creator
Creator

Need to get the year - month

Hi,

We have the customesrs who are about to finish their 5 years of service with our client ,so i have to get the list of people who would be reach their service to 5 years by next month (i mean to say for 5 years it will be 60 months so i need to shortlist the people who are in their 59month of service) how can i achieve it in i did tried to use this following expression "age(AddMonths(today(),1), ServiceYears) as NextMonthemp.

Please need help on this..

Thanks in advance

Jahnavi...

1 Reply
prma7799
Master III
Master III

Like this?

Age:

LOAD

    Customer,

    DateofJoin ,

    Year(DateofJoin) as Years ,

    age( Today () , DateofJoin ) as ServiceYears

FROM

Age.xlsx

(ooxml, embedded labels, table is Sheet1);