CellPutN doent put value in to the cube

csjean
Posts: 40
Joined: Mon Mar 01, 2010 2:53 pm
OLAP Product: TM1
Version: 9.5 9.5.1 9.5.2
Excel Version: 2007

Re: CellPutN doent put value in to the cube

Post by csjean »

Hi JayM,

I have oppened your .rar file.

In your view definition check that:
  • There is something defined in your "Time" dimension subset.
  • NONE of the subsets contain "consolidations" because you checked "Skip Consolidations"
I have repackaged your docx file and zipped it an included it in this post.

Hope this helps.
Attachments
Screen shots.zip
Repackaged Screen shots.rar -> Screen shots.zip
(500.83 KiB) Downloaded 538 times
Cheers!

--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca
JayM
Posts: 23
Joined: Wed Sep 14, 2011 3:21 pm
OLAP Product: TM1
Version: 9.5
Excel Version: 2007

Re: CellPutN doent put value in to the cube

Post by JayM »

Hi

I have attached a .pro file here. Please let me know if this works or not...

Thanks
Attachments
Spread.pro
(1.42 KiB) Downloaded 463 times
lotsaram
MVP
Posts: 3702
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: CellPutN doent put value in to the cube

Post by lotsaram »

You have selected to SKIP all calculated (that is consolidated or non-leaf) values. The most important thing to check is that in the subsets in your processing view that ALL of the elements are of type "N" or leaf. Otherwise if any of these dimensions don't contain at least one N level element then you are skipping your entire record set, in which case you are getting the result you would expect.
JayM
Posts: 23
Joined: Wed Sep 14, 2011 3:21 pm
OLAP Product: TM1
Version: 9.5
Excel Version: 2007

Re: CellPutN doent put value in to the cube

Post by JayM »

Hi All,

Thanks a lot for all your help.. Finally I am able to do it successfully... I really appreciate all your help..

Thanks again..

Regards
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: CellPutN doent put value in to the cube

Post by tomok »

JayM wrote:Thanks a lot for all your help.. Finally I am able to do it successfully... I really appreciate all your help..
For the benefit of others who may read this thread looking for solutions, please post what steps you took to fix your problem.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
JayM
Posts: 23
Joined: Wed Sep 14, 2011 3:21 pm
OLAP Product: TM1
Version: 9.5
Excel Version: 2007

Re: CellPutN doent put value in to the cube

Post by JayM »

tomok wrote:For the benefit of others who may read this thread looking for solutions, please post what steps you took to fix your problem.
I had a consolidated value in my view which was not allowing me to put values in my cube with CellPutN.

***Following are the steps I took to solve the issue****

1) Created a view with Skip Zero/Blank values and Skip consolidated values options UNCHECKED .

2) Selected all the leaf nodes/values in the view.

3) Assigned contents of all the variables to OTHER under variable tab.

4) Under Data tab, "I have" used following code to put the values in the cube.
if(Value=0);
CellPutN(1, 'GL', Variable-1,Variable-2,Variable-3,'Actual');
EndIf;

5) Save and Run....
Post Reply