Hi all,
I'd like to build the following calculation using in-cube calculation :
['calc amount']=N: [ 'amount1' ] +[ 'Total_Year', 'amount2' ] * [ 'rate1' ];
I cannot find how to do the [ 'Total_Year', 'amount2' ] ?
I'm afraid I'll have to use an import link for this.
Thank you for your help !
in-cube calculation referring to another slice
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: in-cube calculation referring to another slice
Hi
The syntax is fine with [ ] and ' '
[ ] is shorthand notation for the DB( ) function.
The syntax is fine with [ ] and ' '
[ ] is shorthand notation for the DB( ) function.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- Posts: 3
- Joined: Mon May 18, 2015 3:37 pm
- OLAP Product: TM1
- Version: 10.2
- Excel Version: 2010
Re: in-cube calculation referring to another slice
Sorry I was not clear enough. I'm trying to convert an existing rule into an in-cube calculation, the new feature of Perf Modeler.
In this editor the syntax is like : [dimName]:[elName] and I can't find a way to tell something like : [ [dimName1]:[elName], [dimName2]:[elName] ]
In this editor the syntax is like : [dimName]:[elName] and I can't find a way to tell something like : [ [dimName1]:[elName], [dimName2]:[elName] ]
- mattgoff
- MVP
- Posts: 518
- Joined: Fri May 16, 2008 1:37 pm
- OLAP Product: TM1
- Version: 10.2.2.6
- Excel Version: O365
- Location: Florida, USA
Re: in-cube calculation referring to another slice
Syntax is ['dimName':'elementName']. You can also use ['dimName':{'elementName1','elementName2','elementNameN'}] on the LHS if you have multiple targets.jeromeM wrote:Sorry I was not clear enough. I'm trying to convert an existing rule into an in-cube calculation, the new feature of Perf Modeler.
In this editor the syntax is like : [dimName]:[elName] and I can't find a way to tell something like : [ [dimName1]:[elName], [dimName2]:[elName] ]
Matt
Please read and follow the Request for Assistance Guidelines. It helps us answer your question and saves everyone a lot of time.
-
- MVP
- Posts: 600
- Joined: Wed Aug 17, 2011 1:19 pm
- OLAP Product: TM1
- Version: 9.5.2 10.1 10.2
- Excel Version: 2003 2007
- Location: York, UK
Re: in-cube calculation referring to another slice
I have a vague memory that the new "In cube calculation" feature of Performance Modeler has a slightly different syntax, but that it generates normal rule statements under the cover. Perhaps there is an IBMer or IBM Partner out there who is familiar with demonstrating it and can confirm or deny this.
-
- Posts: 3
- Joined: Mon May 18, 2015 3:37 pm
- OLAP Product: TM1
- Version: 10.2
- Excel Version: 2010
Re: in-cube calculation referring to another slice
I confirm the syntax is different in Perf Modeler in-cube calculation editor.
If it's not possible I find this really limiting.
If it's not possible I find this really limiting.