Calculated members or member formulae
Hi all
Would there be some documentation available on calculated members or member formulae?
I have been trying to find startups, but all the blogs are for those who already have been working with these features for some time. I understand this involves script logic, but am also interested in finding out why or where these features may actually be used.
Unfortunately, the SAP documentation on this is very scant.
regards
Shrikant
Thanks both, but if I may.
My issue is that I need a bit of context on why to use these. If it is on the fly, I could very well just add in excel formulae onto the main EPM reports as well, couldnt I? So why require these features? That's how I have come up with certain calculations in my input schedule. It's a tad slow, but it works. Can't attach the file here though.
(I am now referring to Vadim's blog - excellent blog by the way) If indeed this is the way to go, when postings are made, the default logic will post to the GrossSales and NetSales members. Then in later BPC input forms/reports, do I refer to these members in member formula as a way to derive the calculated members (DiscountCalc and PriceCalc)?
So, effectively, DiscountCalc and PriceCalc are calculated members, and the formula below is the member formula? Is that the way to look at it?
DiscountCalcD = IIF([NetSalesD]=0,NULL,([GrosSalesD]-[NetSalesD])/[NetSalesD])
Apologies if this is turning into a training session, but I am known to be thick on Wednesdays
rgds
Shrikant
Similar Messages
-
I don't see Time Intelligence Calculated members in Universe
Hi there,
I use Universe (BO XI 3.0) designer over MSSSAS 2005. I created calculated member for Time dimension using wizard for YTD, MTD calculations. I can browse the results from cube no problem. But then I created a universe on top of my cube and tried to connect that universe from Desktop it doesn't show those calculated members at all.
Could you advice any tricks or tips that allow to solve a problem, please?
Any help is greatly appreciated.
Thank you,
MichaelMichael,
A universe contains only metadata: dimensions, hierarchies and levels
The only members defined in the universe are the measures.
Other members are only accessible and visible in the final document or in the list of values.
So concerning your calculated member, if it is not linked to a particular hierarchy and linked to a parent I doubt that we will see it in a document. But for sure you will never see it in the universe.
Didier -
Several calculated members in MDX query error
Hi all,
When I try to run this query on TX MDXTEST:
WITH
MEMBER [Measures].[284B70E6-5D9B-48A9-A8,39,F6,8C,24,8F,3D,84]
AS ' [Measures].[4GPT8EYWQP8HAE0GFNSERQ9ZC]-[Measures].[4GPT8D1S01T3MR5EZ57C98LJC] '
MEMBER [Measures].[97630961-6154-4C5F-8C,72,C,DF,23,48,B1,19] AS
' [Measures].[4GPT8D1S01T3MR5EZ57C98LJC]-[Measures].[4GPT8EYWQP8HAE0GFNSERQ9ZC] '
SELECT
{ [Measures].[284B70E6-5D9B-48A9-A8,39,F6,8C,24,8F,3D,84],
[Measures].[97630961-6154-4C5F-8C,72,C,DF,23,48,B1,19] } ON COLUMNS
, NON EMPTY
CROSSJOIN(
CROSSJOIN( { [0CALMONTH].[200912] } , { [0STOR_LOC__ZCHINEYP].[X] } ), [0PLANT].[LEVEL01].MEMBERS )
DIMENSION PROPERTIES [0CALMONTH].[20CALMONTH], [0STOR_LOC__ZCHINEYP].[20STOR_LOC__ZCHINEYP] ON ROWS
FROM [ZIC_MP01/ZIC_Q01]
I get the following error:
System error in program CL_RSD_MULTIPROV and form GET_IOBJNM_PROVID-03
I run the report CL_RSDRC_MULTIPROV of the note 1090490 explains (Error in class CL_RSD_MULTIPROV) and nothing happened.
When I delete any of the calculated members of the query, the query works
WITH
MEMBER [Measures].[284B70E6-5D9B-48A9-A8,39,F6,8C,24,8F,3D,84]
AS ' [Measures].[4GPT8EYWQP8HAE0GFNSERQ9ZC]-[Measures].[4GPT8D1S01T3MR5EZ57C98LJC] '
SELECT
{ [Measures].[284B70E6-5D9B-48A9-A8,39,F6,8C,24,8F,3D,84] } ON COLUMNS
, NON EMPTY
CROSSJOIN(
CROSSJOIN( { [0CALMONTH].[200912] } , { [0STOR_LOC__ZCHINEYP].[X] } ), [0PLANT].[LEVEL01].MEMBERS )
DIMENSION PROPERTIES [0CALMONTH].[20CALMONTH], [0STOR_LOC__ZCHINEYP].[20STOR_LOC__ZCHINEYP] ON ROWS
FROM [ZIC_MP01/ZIC_Q01]
Any ideas?
RegardsHi,
just to make sure. this forum is about the SAP Integration Kit. are those MDX items coming from an OLAP Universe ?
thanks
Ingo -
BPC Logic Script: Copy from calculated members (non-base) to base members
Hi experts,
I want to copy some values from some calculated members to base members in the same dimension. It appears I have a hard time scoping the calculated members.
This is my C_ACCOUNT dimension:
And this is the COPYCALC.LGF script I am running:
LGX:
*XDIM_MEMBERSET C_ACCOUNT = 450
*WHEN C_ACCOUNT
*IS 450
*REC( EXPRESSION = %VALUE%, C_ACCOUNT = 50)
*ENDWHEN
LOG:
LOG BEGIN TIME:2014-02-26 17:21:12
FILE:\ROOT\WEBFOLDERS\STEP_UNIT_TEST \ADMINAPP\BUDGET_CASH\TEST.LGF
USER:KAROLISB
APPSET:STEP_UNIT_TEST
APPLICATION:BUDGET_CASH
[INFO] GET_DIM_LIST(): I_APPL_ID="BUDGET_CASH", #dimensions=16
AA_NUMBER,AUDITTRAIL,BUDGET_OBJECT,BUDGET_TYPE,CATEGORY,COFOG,CURRENCY,C_ACCOUNT,C_ACCOUNT_DT,ENTITY,FLOW,GRANTS,MEASURES,TIME,TIME_DT,VERSION
#dim_memberset=4
CATEGORY:RES,1 in total.
CURRENCY:LC,1 in total.
TIME:2012,1 in total.
C_ACCOUNT:450,1 in total.
SCRIPT RUNNING TIME IN TOTAL:1.00 s.
LOG END TIME:2014-02-26 17:21:12
My model structure:
So as you can see I am trying to copy from account 450 (which is non base) to account 50 ( which is base member). Also you can see that in the previous example no record was generated.
Whereas, if I replace the account 450 with 4500 I get record generated in order:
LGX:
*XDIM_MEMBERSET C_ACCOUNT = 4500
*WHEN C_ACCOUNT
*IS 4500
*REC( EXPRESSION = %VALUE%, C_ACCOUNT = 50)
*ENDWHEN
LOG:
LOG BEGIN TIME:2014-02-26 18:26:26
FILE:\ROOT\WEBFOLDERS\STEP_UNIT_TEST \ADMINAPP\BUDGET_CASH\TEST.LGF
USER:KAROLISB
APPSET:STEP_UNIT_TEST
APPLICATION:BUDGET_CASH
[INFO] GET_DIM_LIST(): I_APPL_ID="BUDGET_CASH", #dimensions=16
AA_NUMBER,AUDITTRAIL,BUDGET_OBJECT,BUDGET_TYPE,CATEGORY,COFOG,CURRENCY,C_ACCOUNT,C_ACCOUNT_DT,ENTITY,FLOW,GRANTS,MEASURES,TIME,TIME_DT,VERSION
#dim_memberset=4
CATEGORY:RES,1 in total.
CURRENCY:LC,1 in total.
TIME:2012,1 in total.
C_ACCOUNT:4500,1 in total.
REC :%VALUE%
CALCULATION BEGIN:
QUERY PROCESSING DATA
QUERY TIME : 0.00 ms. 1 RECORDS QUERIED OUT.
QUERY REFERENCE DATA
CALCULATION TIME IN TOTAL :0.00 ms.
1 RECORDS ARE GENERATED.
CALCULATION END.
ENDWHEN ACCUMULATION: 1 RECORDS ARE GENERATED.
DATA TO WRITE BACK:
AA_NUMBER AUDITTRAIL BUDGET_OBJECT BUDGET_TYPE CATEGORY COFOG CURRENCY C_ACCOUNT C_ACCOUNT_DT ENTITY FLOW GRANTS TIME TIME_DT VERSION SIGNEDDATA
AA_NONE LIM NONE 10 RES FA_NONE LC 50 CAD_NONE A00 F99_1 NONE 2012 TD_NONE CURRENT 222.00
1 RECORDS HAVE BEEN WRITTEN BACK.
WRITING TIME :1.00 ms
Why can I not copy value from 450 ? How do I solve this problem ?
PS: currently I am testing this as a DM package run script but in the future I would like to make it a Default.lgf functionality.
I am working on:
BPC 10 SP5 for NW, calculation engine ABAP, BW 7.4Sorry to keep you in darkness. My code has developed since I have started this thread:
*SELECT(%ADMISSIBLE%, "[ID]", C_ACCOUNT, " [THIERARCHY]<>'' AND [ACCTYPE]<>INC ") // DEFINE THE SET OF REAL(ACTUALY EXISTING), NON-REVENUE AND NOT ANCIENT CASH ACCOUNTS HERE.
*SELECT(%INADMISSIBLE%, "[ID]", C_ACCOUNT, " [ID] <> %ADMISSIBLE% ")
*SELECT(%L1%, [ID], C_ACCOUNT, "[ID] = %C_ACCOUNT_SET%") // DEFINE BASE LEVEL ACCOUNTS
*SELECT(%L2%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L1% ") // DEFINE FIRST(COUNTING FROM BASE) LEVEL PARENTS
*SELECT(%L3%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L2% ") // DEFINE SECOND(COUNTING FROM BASE) LEVEL PARENTS
*SELECT(%L4%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L3% ")
*SELECT(%L5%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L4% ")
*SELECT(%L6%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L5% ")
*SELECT(%LALL%, "[ID]", C_ACCOUNT, "[ID] = %L1%,%L2%,%L3%,%L4%,%L5%,%L6%") //UNION OF ALL LEVELS
*XDIM_MEMBERSET AUDITTRAIL = INPUT
*XDIM_MEMBERSET VERSION = CURRENT
*XDIM_MEMBERSET AA_NUMBER = AA_NONE
*XDIM_MEMBERSET TIME_DT = TD_NONE
*XDIM_MEMBERSET C_ACCOUNT_DT = CAD_NONE
*XDIM_MEMBERSET C_ACCOUNT = %INADMISSIBLE% //SCOPE LEAVES ALL POTENTIAL DESTINATIONS FOR MEMBERS IN %PARS%
*FOR %A% = %PARS% //LOOP OVER ALL ADMISSIBLE PARENTS
*WHEN C_ACCOUNT
*IS L_C_%A%
*REC( EXPRESSION = [C_ACCOUNT].[%A%], C_ACCOUNT = L_C_%A%) //SUM UP THE VALUES OF LEAVES AND WRITE THE SUM TO DESTINATION ACCOUNT
*ENDWHEN
*NEXT
screen shot of part of member table for C_ACCOUNT:
continuation in next reply (I have problems with my text editor) -
Evaluating Calculated members in Sub Cube space
Hello all,
I have a question about evaluating calculated members against sub queries. For an example take a look into the following MDX query;
with
member [Product].[Category].[All Categories]
as sum({[Product].[Category].&[1], [Product].[Category].&[3]})
select {[Measures].[Sales Amount]}
on columns,
[Date].[Calendar].[Month].members * {{[Product].[Category].AllMembers} - [Product].[Category].[All Products]}
} on
rows
from
select {[Product].[Category].&[1], [Product].[Category].&[3]}
on columns,
{[Date].[Calendar].[Month].&[2008]&[6] :
parallelperiod([Date].[Calendar].[Month], 5, [Date].[Calendar].[Month].&[2008]&[6])}
on rows
from [Adventure Works]
This query returns the data from January 2008 to June 2008 for Bikes and Clothing categories. I noticed that the Product dimension’s Category hierarchy’s [All] member is named as “[All Products]” ([All Categories] would be a nice name) and I want to name it
a bit different. So I created “with
member [Product].[Category].[All Categories]
as sum({[Product].[Category].&[1], [Product].[Category].&[3]})” calculated member. So far I get the expected results.
Further I wanted to get rid of the hard-coded members from the calculated member and I wanted to force the members in the current context (members which is specified in the sub cube space). So I modified the query as follows;
with
member [Product].[Category].[All Categories]
as [Product].[Category].[All Products]
select {[Measures].[Sales Amount]}
on columns,
[Date].[Calendar].[Month].members * {{[Product].[Category].AllMembers} }
} on
rows
from
select {[Product].[Category].&[1], [Product].[Category].&[3]}
on columns,
{[Date].[Calendar].[Month].&[2008]&[6] :
parallelperiod([Date].[Calendar].[Month], 5, [Date].[Calendar].[Month].&[2008]&[6])}
on rows
from [Adventure Works]
I expected “[Product].[Category].[All Products]” will accept the current context and will give me the results only for sub cube context. Unfortunately [All Products] returns all
the members in the Category hierarchy. My question is how would I force the calculated member to take only members specified in the sub cube space?Hi Lakmal,
Thank you for your question. I am currently looking into this issue and will give you an update as soon as possible.
Thank you for your understanding and support.
Regards,
Charlie Liao
TechNet Community Support -
Calculated members In Excel 2013 - subtotals and grand totals missing
I am using Excel 2013 to query an SSAS OLAP cube. I have selected 2 dimensions in the row area, and I need to consolidate specific combinations of members values of each dimension. To do this I have created calculated members which combine sets of members
of each dimension, as in the code example below.
These members produce the desired results except that I do not have any subtotals on a 3rd dimension in the row area (Internal segment name, cf. image below), nor grand totals in the pivot table.
I am fairly new that MDX and would appreciate any advice on how to correct the code below.
Code for the member [Manufacturing Item].[Item Type].[All].[Cards Contact]
AGGREGATE(
CROSSJOIN(
{[Manufacturing Item].[Item Type].&[CARD BODY OTHER],
[Manufacturing Item].[Item Type].&[CARD BODY],
[Manufacturing Item].[Item Type].&[SMART CARD]},
[Techno cards contact]In my previous post, the solution happened to work because the combination of the calculated members was equal to the whole dimension. But I found a cleaner method: subtotals need to be calculated for the combination of all the calculated members, so the
logic is to create a set that contains all of them. Then aggregate the measure for this set only for subtotals. To do this, I have created the following calculated measure:
IIF(
ISLEAF([Manufacturing Item].[Item Type].CurrentMember),
[Measures].[Manufacturing Volume],
SUM({[CalcMembers]},[Measures].[Manufacturing Volume]) -
Speed up calc times for compley member formulae
Hello together,
I am seeking to speed up calc time for one of the steps in a business rule. Besides the required dimensions (+ currency), the application includes custom dimensions for cost centre, products and distribution channel. The members for the currency dimension include EUR, GBP, USD, ..., Curnone (currency not relevant).
FIX (
FY12,
"Forecast",
"Final",
@LEVMBRS("Cost Centre",0),
@LEVMBRS("Products",0),
@LEVMBRS("Currency,0),
"Distribution Channel",
SET FRMLBOTTOMUP OFF;
"500400";
"500600";
SET FRMLBOTTOMUP ON;
ENDFIX
The member formula are:
500400 = 500000 * 400000
500600 = 500000 * 600000 -> Curnone
The accounts 400000, 500000 and 600000 are calculated themselves from member formulas including complex crossrefs. In order to speed things up, I tried to fix on the source and push the result onto the target account:
"500000"("500400" = "500000" * "400000")
which seems to speed up things considerably (I kept the setting FRMLBOTTOMUP ON). However, I'm not sure how to go about it for the second formula (the crossref is making it difficult). Does anybody have any advice? thanx in advance
Florian
Edited by: 943380 on 21.08.2012 01:56I am sorry re my comment of "A + B" calculations as they are, uh, obviously not. Sometimes I wonder about my eyes, other days it's my brain that is in question, and then yet other days it's both...
Okay, so with that out of the way, let me ask if you must calculate everything all at once? Per your (hopefully closely read this time) comment, I am guessing this is for a Planning application. If so, is this a calculation that could be fired from a form, using that form's dimensionality? If it is, its scope could be limited and thus appear to be quicker.
Failing that, yes, CALCPARALLEL can help, but is probably not a great idea within the context of planner-initiated calcs as it will chew up CPUs even faster than single-threaded calcs.
Regards,
Cameron Lackpour
Edited by: CL on Aug 21, 2012 8:39 AM
I was just going through the tabs in my browser and I found the OP's post (I am sort of lazy when it comes to closing tabs). The OP's OP did have +'s instead of *'s. I thought I was losing what little sanity I have left.
https://docs.google.com/open?id=0B_qdhXKUMwSdTEFVcU1uSUlMWkk
I can't tell you how happy this makes me. :) Sometimes I wonder about my advancing years, but this time I wasn't totally bonkers. -
I'm a newbie to SSAS and am having trouble creating a calculated member. My goal is to calculate the number of requests based on status in a specific month/year, however I'd like to enable users to show all amounts on a single report.
An excerpt of my cube is as follows:
FACT REQUESTS
Measures.Request Count
DIM STATUS
Status Description (i.e. Active/Inactive)
I'd like to create calculated members that will produce the following type of report:
Month Year Total Active Total Inactive
Jan 2013 10 20
Feb 2013 10 25
I previously processed the following code:
CREATE MEMBER CURRENTCUBE.[Measures].[Total Active Requests]
AS NULL, VISIBLE = 1;
Scope [Measures].[Total Active Requests];
Scope [DIM STATUS].[Status Description].[ACTIVE];
THIS = SUM ([Measures].[Request Count]);
END SCOPE;
END SCOPE;
CREATE MEMBER CURRENTCUBE.[Measures].[Total Inactive Requests]
AS NULL, VISIBLE = 1;
Scope [Measures].[Total Closed Requests];
Scope [DIM STATUS].[Status Description].[INACTIVE];
THIS = SUM ([Measures].[Request Count]);
END SCOPE;
END SCOPE;
However when pulling the values over to the report, the users were unable to see both Active and Inactive at the same time (so I'm guessing Scope isn't the best approach). Is there another method I can follow? I appreciate any help you can offer.
Thanks!!no need for a scope statement, try the following with 2 different calc measures.
IIF(ISERROR([DIM STATUS].[Status Description].&[ACTIVE]), NULL,([DIM
STATUS].[Status Description].&[ACTIVE],[Measures].[Request Count]))
IIF(ISERROR([DIM STATUS].[Status Description].&[INACTIVE]),
NULL,([DIM STATUS].[Status Description].&[INACTIVE],[Measures].[Request
Count]))
you can ignore the iif statement, thats just for error handling. -
Script Logic - Calculated Members
Hello:
Im trying to build a script member using calculated members:
*WHEN CUENTA
*IS U4000
*ENDWHEN
*COMMIT
U4000 is a calculated member in the account dimension member. I tried using another account, that is not a calculated member and it works.
How can use calculated member in this sintax?
Thanks in advance.
LucianaI would like to mention few things:
1. OLAPLOOKUP it doesn't work anymore into 7.5. James can you double check. My tests is showing that OLAPLOOKUP is not even validate into 7.5
2. Calc_Dummy_Org it is an option to get the values of calculate members
3. It is strange that kind of condition because into script logic you are doing input for base members.
So that condition to test when an account is a an account which is not base member for me doesn't seems to be right.
I can understand if you are looking about the value of that account but not testing if an account it is an account which is not base member.
So if you want to record something with value of your calculate member just use:
*BEGIN
ACCOUNT.#basememberforinput = ACCOUNT.Calculatemember
*END
*COMMIT
Edited by: Sorin Radulescu on Nov 9, 2010 4:04 PM -
Excel 2010 - Calculated Members on Dimension
Hi
Was wondering if there was any workaround in Excel 2010 to make these appear. My understanding is that the behaviour is unchanged from 2007.
Does anyone know of any plans to support calculated members on dimensions in Excel?
CheersI added the following to Adventure Works and it displays in Excel 2010 if I make sure to tick the option to display calculated members from the OLAP server.
CREATE
MEMBER
CURRENTCUBE.[Date].[Calendar].[All Periods].test
AS 123,
VISIBLE = 1 ;
The other approach is to add a physical member to your dimension and then use a SCOPE to set the value based on an expression. This way you don't need to set the option to display calculated members.
http://geekswithblogs.net/darrengosbell - please mark correct answers -
Calculated members in cross tab
Hi all,
I have a profit and losses in a cross tab created by a group and I need to add some rows to have the totals.
For example
Revenue 1
Revenue 2
Revenue 3
Total Revenue
Cost 1
Cost 2
Total Costs
For total revenue I used a calculated members with that formula:
GridValueAt(GetRowPathIndexOf("Revenue 1"), CurrentColumnIndex, CurrentSummaryIndex)
+ GridValueAt(GetRowPathIndexOf("Revenue 2"), CurrentColumnIndex, CurrentSummaryIndex)
+ GridValueAt(GetRowPathIndexOf("Revenue 3"), CurrentColumnIndex, CurrentSummaryIndex)
but the problem is that if I haven't for example any data for revenue 2 an error occurs -->argument # 1of "gridvalueat" is out of range.
It's possible to check if the argument exist??
thankshi alessandro,
i just found your forum post in the unanswered list...hopefully you've already found the answer for this.
GetRowPathIndexOf is looking for the text in a specific cell and not the actuall Row or Column Name.
When it doesn't find it, its output is -1...so you can use that in your formula to ensure that it doesn't break.
for example, if you have a cross-tab that looks like
Canada 1006
USA 5555
Mexico 2331
GetRowPathIndexOf("Mexico") = 2 (as the index starts at 0 for Canada)
GetRowPathIndexOf("Brazil") = -1
hope this helps,
jamie -
Sorting measures (calculated members) in SSAS cube designer
Hi,
In SSAS 2012 cube designer, on the "Calculations" tab I am writing some simple calculated members and displaying it in a folder (Display Folder=)
FolderA
am So this FolderA has the members as below :
[<-A1], [-A1], [A],
[A1], [A2], [A3], [A4], [A5],
and [>A5]
While I am browsing the cube from Excel 2007, this FolderA is deployed correctly along with the above measures. All fine till here.
However, while I expand FolderA, Sorting is not done correctly. It is displaying like below :
<-A1, >A5, A, A1, -A1, A2, A3, A4, A5
But I want it to be sorted correctly so that it looks good as below :
<-A1, -A1, A, A1, A2, A3, A4, A5, >A5
How to do this at cube level ? Any property or any work around (using the latest SSAS 2012 version)
Thanks
Hi Yvanlathem,
I am not talking about sorting of folders/subfolders.
I want to short calculated members within the folder
As my first post itself says, For ex.,
in FolderA
this FolderA has the members as below :
[<-A1], [-A1], [A], [A1], [A2], [A3], [A4], [A5], and [>A5]
However, while I browse cube and expand FolderA ; Sorting is not done correctly. Currently it is displaying like below :
<-A1, >A5, A, A1, -A1, A2,
A3, A4, A5
But I want it to be sorted correctly as below (After
use of this solve order keyword it should sort as per below):
<-A1, -A1, A,
A1, A2, A3, A4, A5, >A5 -
USING CALCULATED MEMBERS IN DISCOVERER OLAP WORKSHEET
How to sort the calculated members based on folders like the way saved selection is e.g.
/root/Users/UserA/AccountDim
As many users are creating and using shared calculated members its very hard to find the saved selection created by a particular user. We need a similar feature (folder view) for calc members as that of saved selectionAs this is an enhancement request I would post on the Discoverer Forum page and also open a TAR with Oracle Support and request the information be forwarded to product management.
Keith Laker
Oracle EMEA Consulting
OLAP Blog: http://oracleOLAP.blogspot.com/
OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
DM Blog: http://oracledmt.blogspot.com/
OWB Blog : http://blogs.oracle.com/warehousebuilder/
OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html -
Calculated members in Data Manager when run package
Hi All
Do you know why calculated members in C_ACCT dim (which has child and are calculated by hierarchy) are not available in data manager when I want to run package. I want copy this calculated members to another account by using script logic and run it by data manager.
Below is my script
*XDIM_MEMBERSET C_ACCT = IC_BSAS05
*WHEN ENTITY
*IS 1013
*REC(FACTOR=2,C_ACCT="ICX_BSCS02")
*ENDWHEN
*COMMIT
IC_BSAS05 is caclulated by hierarchy.
It works for non-calculated, please tell me if it is possible to run script also for calculated members.
Regards!Hi Justyna,
When you say that IC_BSAS05 is "calculated by hierarchy" do you mean that IC_BSAS05 is hierarchy node?
If this is true then try replacing the first line of your script with
*XDIM_MEMBERSET C_ACCT = BAS(IC_BSAS05)
Regards,
Gersh -
Duplicate member names in member formulae
How do you reference duplicate member names in a member formulae? In Excel or dimension building you say i.e. [TEST].[test1]. That format doesn't work in member formulae. Is anyone using duplicate name? If you do, maybe you have an answer.
In System 9 databases, you can use a "duplicate member name" outline, in which case when you have the same member name more than once in an outline, Essbase automatically tells them apart. For example, you could have a Gen3 member named "New York" with a child named "New York", or many different states with children named "Springfield", for example. Or you could have a product code named "100" and also a customer code named "100".<BR><BR>You don't have any control over how the names are constructed, and unfortunately the automatically-generated name for a member may change if a duplicate for it is introduced in the outline, so you really don't want to use the "unique name" values returned from API calls. You can always refer to them by using a full ancestor path, like this:<BR><BR>[Geography].[East].[New York].[New York]<BR><BR>I don't know for sure but I would imagine the same is true in calc scripts and non-MDX member formulas:<BR><BR>"Geography"."East"."New York"."New York"<BR><BR>HTH<BR>
Maybe you are looking for
-
My iphone wont let me delete my credit card information why
i have an iphone4... it will not let me add either a different credit card or delete my old one and not have any linked to it. when i try a card it says invalid securty code for some reason?... how do i change itttttt
-
I use a MAC desktop and Thunderbird with latest update. Recently, when I've tried to open an e-mail that I saved earlier as a file with the .eml suffix, what opens is always the same unrelated e-mail that I saved earlier to an unrelated file. It seem
-
Controller Error is not working for Custom Responsibility
Hi All I create a controller , Its working with Standard Responsibility. I am Setting two Values , One from database Column and other from calling a custom funciton . Its working in Standard Responsibilty. But same thing I am trying in Custom Respons
-
Using DB_REGISTER under cygwin returns "Permission Denied"
I'm trying to use the DB_REGISTER flag when opening an environment but under cygwin I get a "Permission denied" error when I run two process. I run the attached test case in a cygwin shell and let it wait. When I run it the second time in a different
-
Saving files in Elements 3.0 to a default file
I am editing about 300 pictures and am placing them in a folder for printing purposes. When I go to Save As.. I always get a particular folder but it is not the one that I want. Is there a way to set a default somewhere that will result in the correc