Search found 534 matches

by Duncan P
Thu Mar 12, 2015 10:10 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Small CubeView Failing
Replies: 5
Views: 3021

Re: Small CubeView Failing

Again, what's on rows, what's on columns and what's on pages? If you have time on columns and incident on rows then from your earlier view results I would expect a view of 40500000 cells, which is very different from 8178. And also have you tried it with static subsets? Or have you created new dimen...
by Duncan P
Thu Mar 12, 2015 10:05 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TI - Setting Element variable
Replies: 6
Views: 4607

Re: TI - Setting Element variable

Ok, so now I understand. You want to loop through the elements of the dimension. itemIndex = 0; itemCount = DIMSIZ('dim'); while ( itemIndex < itemCount ); itemIndex = itemIndex + 1; itemName = DIMNM( 'dim', itemIndex ); ... the rest of your code that is using this item ... end; It may seem a bit od...
by Duncan P
Thu Mar 12, 2015 9:09 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TI - Setting Element variable
Replies: 6
Views: 4607

Re: TI - Setting Element variable

If I understand you correctly something like this should do it, normally in the "Prolog" sub-tab.

Code: Select all

dimNameVariable = 'dimName';
by Duncan P
Thu Mar 12, 2015 9:06 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Small CubeView Failing
Replies: 5
Views: 3021

Re: Small CubeView Failing

I think it would help if you said exactly what dimensions there are, and in the view that's failing if you said exactly what was on rows, columns and pages, and if you have anything other than time and incident on rows or columns to give an indication of the structure of those dimensions and what is...
by Duncan P
Thu Mar 12, 2015 8:50 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Clearing Out Rules during Run Time
Replies: 18
Views: 6860

Re: Clearing Out Rules during Run Time

A single TI will definitely single-thread, and furthermore if you kick off a number concurrently then any calculations that they do will be held in caches local to the TI threads, and only shared globally when each TI commits. This was also a characteristic of early MTQ which is why in some cases it...
by Duncan P
Thu Mar 12, 2015 8:44 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TI process taking too long to update Dimension attributes
Replies: 6
Views: 4914

Re: TI process taking too long to update Dimension attribut

When I was there I argued for a "rules cannot use aliases" config option to improve performance, but it fell on deaf ears. If your attribute cube has an alias in it I have a feeling that this recompilation used to happen whenever you wrote to any attribute, whether an alias or not. However...
by Duncan P
Wed Mar 11, 2015 4:01 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TI process taking too long to update Dimension attributes
Replies: 6
Views: 4914

Re: TI process taking too long to update Dimension attribut

If the attribute is an alias there will be performance implications as rules of cubes using that dimension will need to be recompiled.
by Duncan P
Fri Mar 06, 2015 10:09 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Scan Fun and Games
Replies: 2
Views: 2152

Re: Scan Fun and Games

SCAN finds the first string in the second, not the second string in the first.

HTH
by Duncan P
Tue Feb 17, 2015 9:07 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: error handling of SubsetCreateByMDX when 0 elements returned
Replies: 10
Views: 9191

Re: error handling of SubsetCreateByMDX when 0 elements retu

There was a feature put in that SubsetCreateByMDX could take an additional argument of the dimension name to apply the subset definition to if the MDX didn't return any elements. It was put in about 2 to three years ago and I think it's in 10.1.? but definitely in 10.2. It hadn't been documented whe...
by Duncan P
Sat Feb 14, 2015 12:36 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Decimal precision
Replies: 11
Views: 13732

Re: Decimal precision

there should be no limit to the size of a number, large or small, only the precision TM1 uses IEEE754 double precision for its numbers (explained here http://en.wikipedia.org/wiki/Double-precision_floating-point_format ) and that format does have limits, if you can call them that. From that page .....
by Duncan P
Sun Feb 08, 2015 7:16 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Shorthand vs Longhand impact on performance?
Replies: 4
Views: 3658

Re: Shorthand vs Longhand impact on performance?

The evaluation of which dimension it is from is done at compile time - as you will see if you use an ambiguous name. There is no effect on runtime performance.
by Duncan P
Wed Jan 28, 2015 8:51 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: DB function inside the same cube and other questions
Replies: 3
Views: 3202

Re: DB function inside the same cube and other questions

The DB function is useful, indeed necessary, within the same cube in the following scenarios Accessing string data - this can not be done with the ['item'...] syntax Accessing data where the location of the source cell depends on other data - the ['item'...] syntax only allows constant strings, wher...
by Duncan P
Fri Jan 23, 2015 10:29 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: ELSLEN Function throws error in TI
Replies: 4
Views: 3580

Re: ELSLEN Function throws error in TI

IBM Doc for ELSLEN wrote: ELSLEN
This is a CXL worksheet function, valid only in worksheets.
by Duncan P
Thu Dec 18, 2014 9:47 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: [TM1 10.2.2] Avg&Sum Consolid on multiple dim [SOLVED]
Replies: 3
Views: 3571

Re: [TM1 10.2.2] Consolidation mix Avg & Sum on different di

I'm not sure that I would use ConsolidateChildren, as it doesn't play well with feeders. If you are doing a ConsolidateChildren over e.g. four large dimensions with multiple levels of hierarchy in each, then in order to get the top level it will be repeating the ConsolidateChildren call at each of t...
by Duncan P
Wed Dec 03, 2014 4:13 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 Rule DB with IF Statement
Replies: 7
Views: 6568

Re: TM1 Rule DB with IF Statement

Also on closer inspection you haven't got enough closing brackets. My guess is that you haven't given a value for "if fails condition". I'm also guessing that this is because it should be 0. If that is the case try this :- ['_3552','GIP Value']=N:if(DB('}ElementAttributes_MET Cost Codes',...
by Duncan P
Thu Nov 20, 2014 2:51 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: reorder dimensions string elements
Replies: 2
Views: 3069

Re: reorder dimensions string elements

I do however recollect being able to add a string element to the last dimension after doing the reorder - and everything worked fine as far as I recall.

Not that I'm advocating it mind. It's just that sometimes documentation fails to tell the full story. It might be worth experimenting.
by Duncan P
Fri Oct 31, 2014 12:14 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: RULE LINE ERROR [] = S:
Replies: 6
Views: 5260

Re: RULE LINE ERROR [] = S:

Try

Code: Select all

[] = S: IF('New' @<> !Version, CONTINUE, STET);
by Duncan P
Sun Oct 26, 2014 10:00 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Odd logical "AND" behaviour in TI
Replies: 6
Views: 4820

Re: Odd logical "AND" behaviour in TI

TM1 does not have the optimization that only evaluates the right of a logical expression if needs to. It is stack based and it evaluates both sides, putting their results on the stack, before it sees that they are being combined with an "&".
by Duncan P
Tue Oct 14, 2014 8:34 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Fix Pack Releases: 10.2 Series
Replies: 49
Views: 293692

Re: Fix Pack Releases: 10.2

Is it this feature?
by Duncan P
Mon Sep 01, 2014 9:18 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TI process hangs on
Replies: 8
Views: 4169

Re: TI process hangs on

Easier than putting in loads of AsciiOutput statements, but quite a lot more verbose, is setting DEBUG logging for process functions.

I described how to do it here.

[Edit] and you can read the log while the process is running.