If measures are all empty/zero in all dimensions

Post Reply
User avatar
macsir
MVP
Posts: 785
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

If measures are all empty/zero in all dimensions

Post by macsir »

Would CELLGETS function work on thoese cells to get values? In my example, I can see this funtion skips all these kind cells. Can someone help to explain?
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: If measures are all empty/zero in all dimensions

Post by tomok »

CellGetS is a TI function to return values from a cube cell that has been configured to hold string values. If the cell in question is empty then the function will return a null value. If the cell is not configured to hold strings then the function will return a null value, regardless of what is in the cell. FWIW, the CellGetS and CellGetN functions do not "skip" anything.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
User avatar
macsir
MVP
Posts: 785
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: If measures are all empty/zero in all dimensions

Post by macsir »

tomok wrote:CellGetS is a TI function to return values from a cube cell that has been configured to hold string values. If the cell in question is empty then the function will return a null value. If the cell is not configured to hold strings then the function will return a null value, regardless of what is in the cell. FWIW, the CellGetS and CellGetN functions do not "skip" anything.

Thanks, Man. I have figured out where the problem is. In the Data soure view which I have created, the default "Skip" option selects "Skip Consolidated Values" and "Skip Zero/Blank Values". If I unchecked "Skip Zero/Blank Values", the function can find all these empty measures and it would not skip them anymore.


Cheers :)
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
Post Reply