Hello, I am trying to lookup a range of criteria from a lookup cube to another cube.
I have build 2 cubes:
1.socso
2.overhead
I need to lookup the salary I key in the overhead cube and get a contribution.
Overhead input view:
socso:
I used the following logic formula.
['Socso Employee'] =N:if( (['Salary']<=DB('socso','1','Max')) ,DB('socso','Employee Contribution'),CONTINUE);
However when i key in 20, it return 0.
wondering any part that i missed?
Thanks,
Range Lookup
-
- Posts: 24
- Joined: Thu Aug 29, 2013 7:05 am
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2010
-
- MVP
- Posts: 3241
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: Range Lookup
You miss the element '1' in your True part:
DB('socso','Employee Contribution')
Every cube has at least 2 dimensions.
By the way, Trace calculation on a cell is a hady feature...
DB('socso','Employee Contribution')
Every cube has at least 2 dimensions.
By the way, Trace calculation on a cell is a hady feature...

Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly