Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
rupaliqlik
Creator
Creator

How to convert Oracle Month Difference function in QLik

Hi Folks,

This is the oracle query which I need to calculate in qlikview scritlevel .Please guide me.

round(MONTHS_BETWEEN(sysdate,BIRTHDATE)/12,2)

 

sunny_talwar

swuehl

@Gysbert_Wassenaar

Labels (1)
2 Solutions

Accepted Solutions
sunny_talwar

You can try this

Round((Today() - BIRTHDATE + 1)/365.2422, 0.01)

Here 365.2422 is the approximate number of days in an year. 

View solution in original post

Brett_Bleess
Support (Former)
Support (Former)

Rupali, did Anil or Sunny's posts help you get things working?  If so, do not forget to return to the thread and use the Accept as Solution button on the post(s) that did help, as that gives the guys credit for the help and lets the other Community Members know what actually worked.  If you still need further help, leave an update for us.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.

View solution in original post

3 Replies
Anil_Babu_Samineni

May be

Round(Interval(Today(), BIRTHDATE,'MM')/12,2)
Or
Round(Age(Today(), BIRTHDATE)/12, 2)

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
sunny_talwar

You can try this

Round((Today() - BIRTHDATE + 1)/365.2422, 0.01)

Here 365.2422 is the approximate number of days in an year. 

View solution in original post

Brett_Bleess
Support (Former)
Support (Former)

Rupali, did Anil or Sunny's posts help you get things working?  If so, do not forget to return to the thread and use the Accept as Solution button on the post(s) that did help, as that gives the guys credit for the help and lets the other Community Members know what actually worked.  If you still need further help, leave an update for us.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.

View solution in original post