Hi All,
I have Requirement to reterive the id based on the range of value,Please help to resolve this.
Eg:
Table1:
Date1 Date2 AGE_Diff
20-01-2010 20-10-2010 9
Table2:
id MIN_VALUE MAX_VALUE
1 1 5
2 6 10
3 11 100
How to loookup Table1.AGE_DIFF to Table2.MIN_VALUE,MAX_VALUE(based on the range) i have to reterive the id 2 result for the above example.
Noted :Table1.AGE_DIFF is the driven.
Thanks for posting idea and solution in advance
AGE BAND lookup
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 92
- Joined: Wed Mar 05, 2008 4:09 am
- Location: chennai
- Contact:
AGE BAND lookup
pradeep.v
-
- Participant
- Posts: 2
- Joined: Sun Dec 20, 2009 11:09 pm
-
- Participant
- Posts: 92
- Joined: Wed Mar 05, 2008 4:09 am
- Location: chennai
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Indeed, anyone can, not just U (one of our posters).kadale.nilesh wrote:U can directly check the value in a particular range.
The descriptions in the manual are quite clear. Show us what you have attempted.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 92
- Joined: Wed Mar 05, 2008 4:09 am
- Location: chennai
- Contact:
ray.wurlod wrote:Indeed, anyone can, not just U (one of our posters).kadale.nilesh wrote:U can directly check the value in a particular range.
The descriptions in the manual are quite clear. Show us what you have attempted.
Hi Ray,
I have drived the Table1 has my primary and while i perform look up with Table2(which is reference),I can see only one value that is "AGE" derived for MIN value, Max value,hence unable to retrieve exact band id.So i need some guidelines to incorporate the logic.
Thanks ,
pradeep.v
In your lookup stage in the bottom left box, specify "Key Type" as "Range" in order to do a range lookup.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>