How to aggregate a dense member
Hi
"Time" is set as Dense dimension, and level 0 data is individual month, e.g Jul, Aug, Sep etc ...
I have to create a partition across to another application that required YTD data replicated, e.g JulYTD, AugYTD ...
How do I aggregate YTD data for a dense dimension?
I cannot create Time dynamic calc as the replication will not work.
Your advice is much appreciated.
Thanks
We perform YTD calculations via member formulas in our Period (time) dimension as follows.
P01YTD
"P01";
P02YTD
IF(@ISDESC("Headcount") OR @ISMBR("Exchange Rate"))
@AVG(SKIPNONE,"P01":"P02");
ELSEIF(@ISACCTYPE(FIRST))
"P01";
ELSEIF(@ISACCTYPE(LAST))
"P02";
ELSE
@SUM("P01":"P02");
ENDIF
(same logic used for P03YTD thru P11YTD)
and finally, P12YTD is simply
"Full Year";
Retrieve performance isn't great on monster spreadsheets, but otherwise it works reasonably well.
Hope this helps.
Similar Messages
-
How to aggregate until parent member?
Hello all,<BR><BR>How to calculate the parent member of the current member?<BR><BR>Background: I want to offer users a limited dimension aggregation option. This to reduce the calculation time. Users are most interested in calculation of the level just above the input level. Therefore, I want to create the possibility to calculate the parent of the current member which is given with a prompt in Business Rules. <BR><BR>I have been exploring the possibility of @PARENT or @ANCESTOR but I could not find a possibility (since I can not use them in a Fix statement).<BR><BR>Do you see a possibility here?<BR><BR>Philip Hulsebosch<BR>Trexco<BR><BR><BR>
We perform YTD calculations via member formulas in our Period (time) dimension as follows.
P01YTD
"P01";
P02YTD
IF(@ISDESC("Headcount") OR @ISMBR("Exchange Rate"))
@AVG(SKIPNONE,"P01":"P02");
ELSEIF(@ISACCTYPE(FIRST))
"P01";
ELSEIF(@ISACCTYPE(LAST))
"P02";
ELSE
@SUM("P01":"P02");
ENDIF
(same logic used for P03YTD thru P11YTD)
and finally, P12YTD is simply
"Full Year";
Retrieve performance isn't great on monster spreadsheets, but otherwise it works reasonably well.
Hope this helps. -
How do you delete a member in outline?
Hi,
I am sure this question has been asked many times in this forum but I can't seem to find the answer. Also, it seems to me that this forum does not retrieve threads that are older than 2 years.
When I tried to delete a member in outline, I get the error message"Deletion of member "Working" failed as member is used in a data form"
how do you delete a member in outline that is already used in a FORM?
I guess I will have to do the following steps:
+Find the object name in the Object table by doing a query – “Where object name = member”
Write down Member ID of the oultine-member you want to delete
Go to "HSP_UNIQUE_NAMES" table found in SQL.
Delete the row.
Do a refresh
Then delete that member in the following tables:
HSP_MEMBER
HSP_MRU_MEMBERS(System 9 Only)
HSP_OBJECT
(no need to do anything in HSP_DIMENSION)
Go to each form and change the old member name to new member name.
Can anyone confirm the steps above?user8806264 wrote:
When I tried to delete a member in outline, I get the error message"Deletion of member "Working" failed as member is used in a data form"
how do you delete a member in outline that is already used in a FORM?Hi,
You have to remove the member from the form first and then delete the member, there is no point trying to hack the tables as they have constraints on them, so you can't delete a member before it is removed from a form.
Cheers
John
http://john-goodwin.blogspot.com/ -
How to aggregate the PO history in batch
How to aggregate the PO history in batch? thanks !
I know this transaction,but it can't select all items to aggregate,i must select one item and aggregate, so it is not very convenient,so i write a program to batch process it
Thansk! -
When I send a Group message from my address book, the entire group gets listed in the "To" line. How do I get each member to receive the message individually without listing all members? Its just messy is all. Any help is greatly appreciated.
Hey Grupo Castillo,
Thanks for the question. You can actually configure this behavior from Mail preferences:
1. Choose Preferences from the Mail menu.
2. Click Composing.
3. Deselect the checkbox for "When sending to a group, show all member addresses".
When you send an email to the group, only the groups name will be seen.
Mac OS X: Mail - How to Hide Address Book Group Member Names When Sending an Email
http://support.apple.com/kb/TA21082
Thanks,
Matt M. -
How to delete Hyperion Planning member using ODI
Hi All,
Anyone know how to delete Hyperion Planning member using ODI? And how to update account type on Hyperion Planning Using ODI?
e.g.:
I have a member with account type Saved Assumption, and I need to change to Revenue, but it cannot change. But if I change to Expense, it can. So what's wrong with the mapping?
This is my csv file for update a member on Hyperion Planning.
Parent,Account,Default Alias,Operation,Data Storage,Two Pass Calculation,Account Type,Time Balance,Skip Value,Data Type,Exchange Rate Type,Use 445,Variance Reporting,Source Plan Type,Aggregation,Member Formula
Account,Statistics,,Update,,,,,,,,,,,,
Account,Meal,,Update,Store,,Expense,,,,,,,,,
Account,Test1,,Update,Never Share,,Saved Assumption,Average,None,Non-currency,none,,,Consol,~,
Account,Test2,,Update,Never Share,,Revenue,Average,None,Non-currency,none,,,Consol,~,
Account,Test3,,Update,Never Share,,Saved Assumption,Average,None,Non-currency,none,,,Consol,~,
Thanks in advance.
Regards,
Sumardi
Edited by: Sumardi Wijaya on Mar 31, 2009 10:57 PMHi,
To delete a member you use the Operation column, the following values can be used.
Update – This is the default and is used if not populated, it Add, updates, moves the member being loaded.
Delete Level 0 - Deletes the member being loaded if it has no children
Delete Idescendants –Deletes the member being loaded and all of its descendants.
Delete Descendants –Deletes the descendants of the member being loaded, but does not delete the member itself.
Does the member you trying to change to Revenue have a variance reporting set to "Expense" as it will need to be set to "Non Expense"
Also in your interface you can add logging options in the IKM, this maybe will give a clearer indication where your problem lies.
Cheers
John
http://john-goodwin.blogspot.com/ -
How to check if a member is a base member
Hi,
I want to check in script logic if a member is a base member and only then create a record.
Does sb know how to check if a member is a basemember with the WHEN/IS statement?
Thanks!Hi,
in the beginning, I once tried to write aggregated values using a script, just to find out what will happen. I modified the script and the dimension structure and managed to "destroy" the whole application by doing that somehow. The application worked normally until I decided to optimize it, then, I got an error saying sth. like "ID already exists..." (the ID from the aggraged value) and I couldnt use the cube any more - I guess combining data from the WB cube and the fact cube with both aggregated values and "fixed" values for the aggregated members was too much/created the inconsistencies... after that experience, I got heavily depressed and didnt test writing aggregated values any more... afterwards looking at it philosophically, the database can do several things to the children's values when their parent's value is changed to an arbitrary value and not in all scenarios, it is obvious for the machine how to keep everything consistent :P.
Edited by: HPC-Berater on May 12, 2009 3:31 PM -
How to create a Unique Member List for PlugAccounts ?
Hello everybody,
Does anyone knows or did it in the past how to create a Unique Member List for Plug Accts? If anyone does could you please paste some scripting for reference?
Thank you very much, JBDim arrPlugs(100)
j = 1
Plug_Acct_List = HS.Account.List("","")
For Plug_Acct_loop = LBound(Plug_Acct_List) To UBound(Plug_Acct_List)
If Hs.Account.PlugAcct(Plug_Acct_List(Plug_Acct_Loop)) <> "" then
strPlug = Hs.Account.PlugAcct(Plug_Acct_List(Plug_Acct_Loop))
blnFound = False
For i = LBound(arrPlugs) to UBound(arrPlugs)
If arrPlugs(i) = strPlug then blnFound = True
Next
If blnFound = False then
HS.AddMemberToList strPlug
arrPlugs(j) = strPlug
j = j + 1
End If
End If
Next -
How to define Sparse/dense settings through MAXL script ?
Hi,
How to define Sparse/dense settings through MAXL script ?
By default its taking all dimensions as sparse dimension type. I want to define sparse and dense through MAXLand automate everything.
Please help me out or advice me work around.
Thanks,
Rajendra Prasad Gella.you cannot modify sparse/desne settings directly through MAXL.
The only way you will be able to build/modify/remove dimensions/members through maxl is using rules files.
So if you are building dimensions using rules files, for a new dimension you can specify dimension properties.
in rules file options -> dimension build settings -> dimension definition -> Rules file -> dimensions.
Here you can specify new dimensions and after specifying you can right click and edit properties where you can change various dimension level properties including sparse/dense settings.
And you knw me well (Krishna from Hyd) and so you can call me on my mobile if you need more info.. lol :)
- Krish -
How to aggregate a column based date column (for weekly single row)?
How to aggregate a column based date column (for weekly single row)?
Hi,
Consider the below statement for daily bases which is ok
SELECT ID, DATE, SUM(AMOUNT) FROM TABLE_NAME GROUP BY ID, DATE ORDER BY ID, DATE
The same like the above statement, I want output on weekly, fortnightly, and monthly bases, How to do this? Need your help... -
How to aggregate the measue when click '∑' ?
Hi Experts,
How to aggregate the measue when click '∑' ?
For example:
In table view.
A-----------A1-----------2
A-----------A2-----------3
ATotal-------------------5
B-----------B1-----------2
B-----------B2-----------3
BTotal-------------------5
GrTotal------------------10(It is not my expected result.)
However, GrTotal is not my expect result, the correct result is 5 , not 10. How to implement my requrement? Thanks.Hi,
If you want the result to be the average of your sub-totals (?) then I think the only way you can do is is by using a union query to give the 'illusion' of a grand-total.
Using this mechanism you can create a grand-total using whatever logic you wish, you then just combine the result and with cunning use of headings / formatting make it look exactly like a standard functionality total.
Helpful?
regards,
Robert. -
Essbase ASO - How to aggregate all Parents in multiple dimensions when using member formulas
We are trying to add a few MDX member formulae on some of our Accounts in the ASO cube. We recently understood that member formulas in ASO calculate both LEVEL0 and Parent members of other dimensions, So we are trying to tell Essbase to calculate LEVEL0's only and to aggregate all other levels in all dimensions. However we are unable to get the syntax right. Below is what we so far have
AccA has below formula:
CASE WHEN ISLEVEL([Period].Currentmember,0)
THEN
AccX+AccY
WHEN ISLEVEL([Period].Currentmember,1) OR ...etc
THEN SUM({LEAVES([Period].Currentmember)},[AccA])
END
This does work fine and gives correct values for Parent members in Period dimension. But we also have 3 other dimensions like Product, Area and Entity. We tried the below but this throws an error during retrival.
CASE WHEN ISLEVEL([Period].Currentmember,0)
THEN AccX+AccY
WHEN ISLEVEL([Period].Currentmember,1) OR ...etc
THEN SUM({LEAVES([Period].Currentmember),LEAVES([Product].Currentmember)},[AccA])
END
Should we add multiple SUM commands in there? All we want to do is tell Essbase to aggregate all other dimensions to parent levels. Please help.Sorry to reiterate the post again.
DanPressman Was wondering what would be other way to write calculations other than Accounts.
I have a case where the user wants to calculate Ending Equity and this should be calculated at level0 using the rates and all parents of entity has to aggregate.
1. Level0 of entities calculate with rates
2. aggregate its children to parent entity
I have used solve order to get it work but taking a lot of time.
Is there any other alternative way of doing it? Which other dimension i can choose to perform this calculation? This is exactly similar to productsum calculation -
How to insert a local member in a column between two different nested row dimensions
Hi Experts,
We have a report which has two dimensions in rows with nesting. The dimensions are PROGRAMS and ACCOUNT.
I have attached the layout of the report.
We need to have a column for local member in between Col A and Col B, wherein we have to pull the long description of the program.
We have long description of programs maintained in a property of PROGRAM dimension
So if we can insert a column between Col A and Col B, we can have a local member in it with formula "EPMMemberProperty" refering to Col A
Currently we are are not able to insert a local member in between Col A and Col B in EPM 10 SP 14 version because its not a data range
I remember we used to do it in BPC 7.5 using expansion ranges to insert a blank column. So I believe similiar thing can be done in EPM 10
I have tried the option of VBA macro to insert a column before Col A and populate the long description and then hide Col A. It works. But I dont want to complicate it with Macro, and want to use EPM functionality to achieve the same.
Please advise if this is possible with BPC 10 to have a column for local member in between Col A and Col B.
Thanks a lot in advance.
Regards,
ShivaHi Sathish,
Thanks a lot for replying. Since I had to insert the local member in between two dimensions, I couldnt use the position option in the local members. Because positions were staring from the data range.
How ever I have tried the suggestion given by Varaprasad and Bishwajith above and it worked.
Thanks,
Shiva -
How to maintain the dimension member that had large amount (over 10K)
Hi, all,
I am now doing a Project Planning using BPC and had some questions as follows:
1. the total amount of the project memeber is huge (exceeding 10K in total). it will be crazy for the Administrator to maintain it only by himself. Is it possible that we can find a workaround method to let the end user to do the restricted work of administrator. in another word, can we find a way that prevent the end user to enter the Administration interface but can add the member themselves through the front end. the process work can be done in shcedule or by manually by the administrator? Anybody had the experience on this? Or do you have any alternative and workaround way to solve the problem?
2. the project memeber adding is not finished within one time. that means, in the first time, maybe only add the highest level. and later, adding the members under it. how can we manage it? Dynamic Hierachy or the others?
ThanksYou could also have the end user update a regular excel spreadsheet with the same column format as a membersheet. Easiest would be to save off the membersheet in another location accessible to the end user. Then it can be modified using excel. Or have the end user maintain a delimited flat file containing all the information included in a membersheet.
Using the bpc makedim package as a starting point, you can create a custom version that takes the user updated document as input and updates the bpc sql mbr table for that dimension then process the dimension. As long as the member list does not exceed the excel limitations, I would also suggest updating the membersheet in bpc. In previous implementations this has meant taking a copy of the membersheet, deleting it, coping a template with the correct columns, then adding the members into it. Updating excel spreadsheets from SSIS can be challenging if you have to deal with deleted members.
Also if you have the potential of deleted members that might have associated facts, I have another post concerning that issue, but have not had time to try any of the suggestions.
Now, the end user is responsible for updating the member list without having access to BPC Admin tool, but someone with access to run datamanager packages would have to execute the datamanager package to process the dimension. -
How to aggregate data in SQL Query
Hi,
I have Table1 field1 and field2. Combination of these fields form the key of this table.
Next I have Table2 with field3 and field4. field1 is the unique key for this table.
My query is:
select T2.field4||','||T1.field2 from T1 inner join T2 on T1.field1 = T2.field3;
In the result I want to aggregate the data by T2.field4
How do I that? Please help
Thanks in advance,
RajaHow to aggregate data in SQL Query By using aggregate functions and group by:
SQL> select object_type, count(*), sum(decode(status,'VALID',0,1)) inv_obs
2 from all_objects
3 group by object_type;
OBJECT_TYPE COUNT(*) INV_OBS
CONSUMER GROUP 2 0
INDEX PARTITION 970 0
TABLE SUBPARTITION 14 0
SEQUENCE 226 0
SCHEDULE 1 0
TABLE PARTITION 349 0
PROCEDURE 21 0
OPERATOR 57 0
WINDOW 2 0
PACKAGE 313 0
PACKAGE BODY 13 0
LIBRARY 12 0
PROGRAM 9 0
INDEX SUBPARTITION 406 0
LOB 1 0
JAVA RESOURCE 771 0
XML SCHEMA 24 0
JOB CLASS 1 0
TRIGGER 1 0
TABLE 2880 0
INDEX 4102 0
SYNONYM 20755 140
VIEW 3807 72
FUNCTION 226 0
WINDOW GROUP 1 0
JAVA CLASS 16393 0
INDEXTYPE 10 0
CLUSTER 10 0
TYPE 1246 0
EVALUATION CONTEXT 1 0
Maybe you are looking for
-
How do I add a trusted connection one time in firefox?
I have a user who is trying to access my department's external site. The pages that she is trying to access pulls data from a different domain (One in our DMZ) than the external host domain. This DMZ domain is a trusted domain and pulling data from t
-
Everytime I try to do an upgrade via my PC it freezes the phone (screen set on pic of usb requesting to plug into itunes) and itunes fails to recognise device. This has happened with my iphone 3s, my ipad, my ipod shuffle, and now with my brand new
-
Reg: Exception while starting one of my managed servers in WL8.1
Hi, We have two managed servers in our application. Among them, ManagedServer2 is behaving in a puzzling way. Sometimes its getting started up without any problem. But sometimes its throwing me the exception "weblogic.rjvm.PeerGoneException:". Iam al
-
What libraries are attached to my form?
Is there a Forms built-in that will help me determine which libraries are attached to my form at runtime?
-
Opening new terminal in GNOME 3
I ofter have a terminal window open in a 2nd workspace running ncmpc. So when I want to use the terminal for something else I'll hit Alt+F1 and click the terminal icon I've added as a favourite to the 'dock' on the left. What this does is take me to