Search found 62 matches

by nhavis
Mon Jun 01, 2009 5:34 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Mickey Mouse Feeder Question
Replies: 11
Views: 7189

Re: Mickey Mouse Feeder Question

The feeder is fine:

Are you looking at the correct cube?

Did you save the rule file?

Why doesn't the feeder work? - Are there non-zero values that are suppressed when they shouldn't be?
All cells with zero in them will be suppressed whether or not they are fed.
by nhavis
Thu May 21, 2009 4:20 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 Action Buttons - Cell mapping
Replies: 1
Views: 2346

TM1 Action Buttons - Cell mapping

Hi, I wish to map a value from cell1 in sheet1 in workbook1 to a value in cell2 in sheet2 in workbook2. There seems to be no available 'Value' option from the source workbook - as a workaround I created a dummy SUBNM with the correct value. However I can't seem to get that to work - what needs to be...
by nhavis
Mon May 18, 2009 2:03 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: nhavis's TM1 Questionnaire #1
Replies: 8
Views: 6575

Re: nhavis's TM1 Questionnaire #1

Martin: a search through every cell wouldn't be possible as there are too many cells to check - I was thinking something about checking consolidated cells and only searching the children when there was nothing in the consolidation - which may or may not be effective... Perspectives is not loaded in ...
by nhavis
Fri May 15, 2009 3:47 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: nhavis's TM1 Questionnaire #1
Replies: 8
Views: 6575

nhavis's TM1 Questionnaire #1

1. Can anyone think of an algorithm to search an entire cube for a specific value? Keep in mind that the possible number of cells usually far exceeds billions. 2. My VBA Macro that makes use of the TM1 API works correctly when 'Perspectives for MS Excel' has been loaded however does not work correct...
by nhavis
Mon May 11, 2009 5:41 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: FeedStrings - Cannot feed cell ref with string
Replies: 10
Views: 10079

Re: FeedStrings - Cannot feed cell ref with string

Rule-generated string values are not displayed when a view is zero-suppressed unless the string resides in a cell that is fed.
To enable feeding of string cells, insert the FEEDSTRINGS declaration as the first line of your rule:
FEEDSTRINGS;
by nhavis
Fri May 08, 2009 6:22 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: DBSS doesnt run at runtime but ok in Step Into
Replies: 2
Views: 2925

Re: DBSS doesnt run at runtime but ok in Step Into

I commonly come across errors/bugs in VBA code that suddenly seem to disappear once I use breakpoints and step through the code.
by nhavis
Fri May 08, 2009 1:17 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Feeders not feeding after dimension rebuilt
Replies: 9
Views: 6977

Re: Feeders not feeding after dimension rebuilt

To specify a dimension for an element: dimensionName:'elementName'

eg. [account:'1000', version:'forecast'] = [version:'actual'];
by nhavis
Fri May 08, 2009 1:06 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Weightings not changing
Replies: 9
Views: 6347

Re: Weightings not changing

Nothing wrong with some confirmation - AK.
by nhavis
Thu May 07, 2009 5:18 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Feeders not feeding after dimension rebuilt
Replies: 9
Views: 6977

Re: Feeders not feeding after dimension rebuilt

Sounds like your feeders are not correct which could have:

a) Always been the case but you never noticed - note that even though a cell is fed, it is not necessarily being fed properly.
b) Never been the case but now you have changed dimension elements
by nhavis
Wed Apr 29, 2009 4:13 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 Configuration Option - no error messages
Replies: 1
Views: 2283

TM1 Configuration Option - no error messages

Is there an option to turn of error message boxes popping up when the server loads?

I don't want to edit rules files, dimensions etc... I just don't want to see the error boxes.
by nhavis
Tue Apr 28, 2009 4:43 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: The TM1 API - VBA
Replies: 17
Views: 13716

Re: The TM1 API - VBA

Regards.
by nhavis
Tue Apr 28, 2009 4:10 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: The TM1 API - VBA
Replies: 17
Views: 13716

Re: The TM1 API - VBA

I imagine this will fix things also...

Why is it that VBA will 'print' the null characters instead of just taking it as a string terminator?

Edit: Erm, is there a function to null out a string?
by nhavis
Tue Apr 28, 2009 3:58 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: The TM1 API - VBA
Replies: 17
Views: 13716

Re: The TM1 API - VBA

If my strings were null terminated then 'cube1ings_Bonuses' would appear as 'cube1 ings_Bonuses'.
by nhavis
Tue Apr 28, 2009 3:36 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: The TM1 API - VBA
Replies: 17
Views: 13716

Re: The TM1 API - VBA

Take a look at the screenshot I posted - the strings are _not_ terminated with a null.

For example: cube1 is appearing as cube1ings_Bonuses
by nhavis
Tue Apr 28, 2009 2:54 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: The TM1 API - VBA
Replies: 17
Views: 13716

Re: The TM1 API - VBA

Here is the picture of output of sample code provided with the API. As you can see - left over characters are still on the string. A solution is to ReDim the String, however the proper length must be known. Does the API have a method for getting the length of the string it gives with TM1ObjectProper...
by nhavis
Tue Apr 28, 2009 2:45 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: The TM1 API - VBA
Replies: 17
Views: 13716

Re: The TM1 API - VBA

That's exactly what I've been having to do... Do you know anything about retrieving the name of say a dimension object with TM1ObjectPropertyGet and TM1ValueStringGet_VB? When I don't know the exact length of the name (practically always), the TM1ValueStringGet_VB function is returning the entire al...
by nhavis
Mon Apr 27, 2009 6:24 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: The TM1 API - VBA
Replies: 17
Views: 13716

Re: The TM1 API - VBA

I found some code (The samples provided by Cognos) that made use of the function TM1CellValueSet which is essentially the same in terms of arguments: It turns out that I needed to make these two calls in addition to everything else - Call TM1ValArraySet(elementArrayCapsule, elementArray(1), 1) Call ...
by nhavis
Mon Apr 27, 2009 4:34 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: The TM1 API - VBA
Replies: 17
Views: 13716

Re: The TM1 API - VBA

What am I suppose to use to get the integer out of a "TM1 value capsule containing an integer"? There certainly isn't a TM1ValIntegerGet() TM1ValIndexGet Purpose Retrieves the contents of an index value capsule. Definition Declare Function TM1ValIndexGet Lib "tm1api.dll" (ByVal h...
by nhavis
Mon Apr 27, 2009 3:48 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: The TM1 API - VBA
Replies: 17
Views: 13716

The TM1 API - VBA

Has anyone found it very hard to debug code that makes use of the API? Has anyone discovered that the Visual Basic section of the API in the help file seems to be a copied+edited version of the C section with a lot of inconsistencies (eg. code that works in C and not in VBA)? Here's my current troub...
by nhavis
Mon Apr 27, 2009 3:12 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Multicurrency best practice
Replies: 12
Views: 24154

Re: Multicurrency best practice

Are there any issues with having the other currencies in your measure dimension?