TI or Rule function to check if element exists in dimension

Post Reply
harrytm1
Regular Participant
Posts: 226
Joined: Thu Apr 02, 2009 2:51 pm
OLAP Product: IBM Planning Analytics
Version: Latest version
Excel Version: 2003 to 2019

TI or Rule function to check if element exists in dimension

Post by harrytm1 »

hi all,

i look through the reference guide and found TI functions to check if cube or dimension exists. however, i could not find any function to check if an element exists in a dimension and return 1 or 0.

any idea how i can achieve this check? many thanks!
Planning Analytics latest version, including Cloud
Alan Kirk
Site Admin
Posts: 6667
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: TI or Rule function to check if element exists in dimens

Post by Alan Kirk »

harrytm1 wrote:hi all,

i look through the reference guide and found TI functions to check if cube or dimension exists. however, i could not find any function to check if an element exists in a dimension and return 1 or 0.
Use the DimIx function. If DimIx returns 0, you can return 0 yourself from an If() function. It it doesn't, you can return 1.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
harrytm1
Regular Participant
Posts: 226
Joined: Thu Apr 02, 2009 2:51 pm
OLAP Product: IBM Planning Analytics
Version: Latest version
Excel Version: 2003 to 2019

Re: TI or Rule function to check if element exists in dimens

Post by harrytm1 »

thanks Alan! it works!
Planning Analytics latest version, including Cloud
Post Reply