Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Martijn_W
Contributor III
Contributor III

Look up time values and return proper item

Hello everyone,

I wouldn't normally ask a question like this but I've nearly cracked my head open trying to solve this with still limited knowledge of Qlikview functions/syntax.

comparedate.PNG

 

What I'm trying to accomplish is the following:

I have an internal system that records all calls and I have an Invoice from a telephone company that has the costs of these calls. I need to know how much each indivdual phone call costs. To figure this out, I need to find a way for Qlikview to evaluate this information to come up with a unambiguous answer.

 

Can someone please help me?

 

Kind Regards,

Martijn

Labels (1)
1 Solution

Accepted Solutions
Stoyan_Terziev
Partner - Creator III
Partner - Creator III

Hi Martijn,

 

You are looking for the IntervalMatch() function.

You can find an example of this here: https://community.qlik.com/t5/QlikView-App-Development/left-outer-join-help/m-p/1637789#M446950

Keep in mind that since you have time included in your time-related dimension, you need to use TimeStamp() or a date format which includes the hh:mm:ss setting.

I hope this helps!

Kind regards,

Stoyan

View solution in original post

3 Replies
Stoyan_Terziev
Partner - Creator III
Partner - Creator III

Hi Martijn,

 

You are looking for the IntervalMatch() function.

You can find an example of this here: https://community.qlik.com/t5/QlikView-App-Development/left-outer-join-help/m-p/1637789#M446950

Keep in mind that since you have time included in your time-related dimension, you need to use TimeStamp() or a date format which includes the hh:mm:ss setting.

I hope this helps!

Kind regards,

Stoyan

Brett_Bleess
Former Employee
Former Employee

Martijn, just adding one additional link related to IntervalMatch from the Design Blog area.  If Stoyan's post got you what you needed, please be sure to use the Accept as Solution button on his post to give him credit, if you are still trying to sort things, have a look at the following link to see if that may help fill things in a bit further for you and leave an update if you need further help.

https://community.qlik.com/t5/Qlik-Design-Blog/IntervalMatch/ba-p/1464547

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.
Martijn_W
Contributor III
Contributor III
Author

Sorry for the late response, but this was very helpful, thank you!