Search found 21 matches

by mitch23
Mon Jan 14, 2019 12:56 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Action button conditional navigation
Replies: 3
Views: 3636

Action button conditional navigation

Have a rather perplexing problem. Need an action button to navigate to one of two other possible target sheets but need the target sheet to be conditionally determined based on the row element of the selected DBRW. I know this isn't natively supported so I have a VLOOKUP that will extract the target...
by mitch23
Tue Apr 30, 2013 3:19 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: QUSUBSET Performance Problem
Replies: 2
Views: 2208

Re: QUSUBSET Performance Problem

I know it's obvious but sometimes it's the little things that get us; have you confirmed that the calculation mode in Excel hasn't changed from manual to automatic?
Yes.
by mitch23
Sun Apr 28, 2013 3:26 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: QUSUBSET Performance Problem
Replies: 2
Views: 2208

QUSUBSET Performance Problem

I have a VBA routine that uses the QUSUBSET macro function to retrieve into an Excel worksheet a set of non-zero elements. I have been using this for some years now and it usually takes less than 5 seconds to execute. After upgrading to 10.1, it has now started taking between 30 and 60 seconds which...
by mitch23
Tue Oct 16, 2012 11:56 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Multiple ATTRS logical comparisons not allowed?
Replies: 14
Views: 9143

Re: Multiple ATTRS logical comparisons not allowed?

Duncan - thanks for the suggestion of reversing the order of comparison. I set it as follows and it works fine:

...
!Period @= ATTRS('Version_Core', 'Forecast', 'ActualsMonth') &
!Entity_Core @= ATTRS('Job', !Job, 'Entity'),
12,0);

Not sure why it would make a difference but it does.
by mitch23
Tue Oct 16, 2012 10:36 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Multiple ATTRS logical comparisons not allowed?
Replies: 14
Views: 9143

Multiple ATTRS logical comparisons not allowed?

I am getting syntax error messages when attemping to use more than one ATTRS comparion in an IF statemenet in a rule, which is as follows: ['4310.10', 'TSE - Actual - Rule', 'Current Activity']=N: IF( DB('Control', 'Post_WOH_JE', 'Input')@='1' & ATTRN('Job', !Job, 'UseConstructionCalcs')=1 &...
by mitch23
Sun Oct 14, 2012 3:30 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Limit rule based on attribute
Replies: 2
Views: 2873

Limit rule based on attribute

I have a pretty simple G/L cube with the dimensions Entity, Account, Job, Period, Version, Measure. Each element of the Job dimension "belongs" to an element of the Entity dimension and that relationship is specififed via an "Entity" attribute of the Job. I want to write a rule a...
by mitch23
Mon May 21, 2012 12:37 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Dynamic Subset Defined by Element Security?
Replies: 3
Views: 3522

Re: Dynamic Subset Defined by Element Security?

Thank you. One thing I'm not clear on is how this works with the reality that the current user's permissions is defined by there membership in the collection of groups they are members of so I am not sure how to determine the permission of a particular user to elements?
by mitch23
Sat May 19, 2012 11:44 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Dynamic Subset Defined by Element Security?
Replies: 3
Views: 3522

Dynamic Subset Defined by Element Security?

Try as I may, I have not been able to figure out how to create a dynamic subset based on element security. I need to define a subset limited to elements for which the current user has Write permissions. Is this possible? FWIW - This all has to be done through Excel VBA such as the elements contained...
by mitch23
Thu May 17, 2012 12:09 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Write to security cube with DBSS?
Replies: 2
Views: 2141

Re: Write to security cube with DBSS?

You would think this is simple but I'm trying to write (thru Excel) a string value to to the }ClientGroups control cube with no success (keep getting *KEY_ERR). I have checked the syntax, spelling, etc. a hundred times. What obvious thing am I missing?? Is there a prohibition on writing directly to...
by mitch23
Wed May 16, 2012 10:34 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Write to security cube with DBSS?
Replies: 2
Views: 2141

Write to security cube with DBSS?

You would think this is simple but I'm trying to write (thru Excel) a string value to to the }ClientGroups control cube with no success (keep getting *KEY_ERR). I have checked the syntax, spelling, etc. a hundred times. What obvious thing am I missing?? Is there a prohibition on writing directly to ...
by mitch23
Thu Sep 08, 2011 1:07 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Mass commit of users' sandboxes
Replies: 2
Views: 2793

Mass commit of users' sandboxes

I have an unexpected issue with a budgeting application I just rolled out. It appears that the data users are entering through Excel (DBSWs) is being stored by default in their "Personal Workspace" and hence not in the "base" data available for all to see. I understand that I can...
by mitch23
Thu Apr 15, 2010 9:40 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: VBA wrapper for TM1 API?
Replies: 3
Views: 3249

VBA wrapper for TM1 API?

Does anyone know if Cognos has any plans for exposing more of the API functionality through VBA (I guess essentially a VBA wrapper around the API)? The API is obviously very difficult to use.
by mitch23
Sun Dec 06, 2009 5:40 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: 9.4.1 Subset Editor
Replies: 2
Views: 3320

Re: 9.4.1 Subset Editor

Wow! you put a lot of effort into that! Thanks for the info. I suspect your are right about the permissions issue as this was inadvertanlty chnaged during the upgrade to 9.4 and I thought it had all been corrected but apparently not. Thanks again and I will look into that. Point about including rele...
by mitch23
Tue Dec 01, 2009 7:31 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: 9.4.1 Subset Editor
Replies: 2
Views: 3320

9.4.1 Subset Editor

Has anyone else noticed that in 9.4.1 the subset editor does does not retain the previous view settings (screen placement, size, etc) when closed? For example, in 9.1, each time I opened a subset editor for any dimension, it would open in the same place on the screen and at the same size it was when...
by mitch23
Thu Oct 22, 2009 9:38 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Open Cube Browser with VBA?
Replies: 7
Views: 6936

Open Cube Browser with VBA?

Does anyone know if there is a way to open up a cube browser with VBA (and ideally with a specified layout and subsets present)?
by mitch23
Thu Sep 03, 2009 6:34 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: VBA code determine if user logged in
Replies: 2
Views: 3562

VBA code determine if user logged in

Is there a way to determine through VBA whether a user is logged in to TM1? I have a reporting spreadsheet with a lot of VBA code, some of which I only want to execute if the user is logged in.
by mitch23
Tue Jun 23, 2009 7:15 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Gah! Inconsistant QuDefine behaviour
Replies: 8
Views: 5922

Re: Gah! Inconsistant QuDefine behaviour

I think I just figured this out. It is not a VBA issue. If any of the elements are invalid, the function will fail silently and act like it just didn't execute. You can trap this by capturing the bollean return value into a variable. Returns true is successfully created the view and false if not.
by mitch23
Sun May 24, 2009 2:48 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1APIFinalize problem
Replies: 1
Views: 1932

Re: TM1APIFinalize problem

It seems that I may have stumbled accross the answer. It appears that the declaration syntax in the help file is incorrect. The help file is:

Declare Function TM1APIFinalize Lib "tm1api.dll" ()

but it should be:

Declare Sub TM1APIFinalize Lib "tm1api.dll" ()
by mitch23
Sun May 24, 2009 2:27 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1APIFinalize problem
Replies: 1
Views: 1932

TM1APIFinalize problem

I am trying to learn the TM1 API and will probably post a few questions here as I do. The firt problem I'm having is properly disconnecting and cleaning up the session. I have followed the example in the help file verbatim and use the function TM1APIFinalize as the final line. The problem is that I ...