Moving a parent in a Dimension using a rules file
I would like too move a parent in one of my dimensions to the bottom of that Dimension using a rule file
Please advise
I have a confusion over here. For instance:
If I have Margin (parent) Sales (child) and COGS (child) defined in the data source in that order, than how will I change it to sales, cogs and than margin in the data source.
Parent child build method has the following statndard format, if i am not wrong:
PARENT (say accounts) DIMENSION NAME (code say A10001) ALIAS (Margin) AGGREGATION (+) and DATA STORAGE (The code for store)
Thanks in advance
Similar Messages
-
Building BSO using ASO Rules file
Hi All,
We are building a new application where in we want to have both ASO and BSO. Eventually we wanted to do partition between these two cubes.
We already have a fully functional ASO with data loaded into it. This ASO also has bunch of rules files using which the ASO cube was built.
We need to build a new BSO and it should have same outline as ASO and in order to achieve this as used the same rules file that are in ASO. I already built the BSO usinng ASO rules files
My issue is with the dimension which are deifned as Multiplw Heirarchy and I would appreciate if some one can help me how do i define them in BSO. Also if some one canhelp me understand what are additional changes that needs to be taken care when I am building BSO using ASO rules files
I am trying to apply a caluclation which is in ASO and I am getting following error -- Error(1200337) - Error compiling formula for [Feb YTD] (line 1): [)] without [(]. As part of my research i found that error code is very generic. I checked the caluclation for missing ) or ( but everything looks good
Any help is greatly appreciated
Thanks
SatishYour ASO formulas will not work in BSO cube. ASO uses MDX formulas and BSO uses Essbase calc script language. There is a guide in the technical reference that helps convert from one to the other.
As far as multiple hierarchies, BSO does not have this concept. You should be able to load the hierarchies as is with perhaps a few changes to the load rule to address how to handle shared members.
You will not have a direct one to one from BSO to ASO. They are a different architecture and as such have variances that are not 1 to 1 compatible. -
How to tune data loading time in BSO using 14 rules files ?
Hello there,
I'm using Hyperion-Essbase-Admin-Services v11.1.1.2 and the BSO Option.
In a nightly process using MAXL i load new data into one Essbase-cube.
In this nightly update process 14 account-members are updated by running 14 rules files one after another.
These rules files connect 14 times by sql-connection to the same oracle database and the same table.
I use this procedure because i cannot load 2 or more data fields using one rules file.
It takes a long time to load up 14 accounts one after other.
Now my Question: How can I minimise this data loading time ?
This is what I found on Oracle Homepage:
What's New
Oracle Essbase V.11.1.1 Release Highlights
Parallel SQL Data Loads- Supports up to 8 rules files via temporary load buffers.
In an Older Thread John said:
As it is version 11 why not use parallel sql loading, you can specify up to 8 load rules to load data in parallel.
Example:
import database AsoSamp.Sample data
connect as TBC identified by 'password'
using multiple rules_file 'rule1','rule2'
to load_buffer_block starting with buffer_id 100
on error write to "error.txt";
But this is for ASO Option only.
Can I use it in my MAXL also for BSO ?? Is there a sample ?
What else is possible to tune up nightly update time ??
Thanks in advance for every tip,
ZeljkoThanks a lot for your support. I’m just a little confused.
I will use an example to illustrate my problem a bit more clearly.
This is the basic table, in my case a view, which is queried by all 14 rules files:
column1 --- column2 --- column3 --- column4 --- ... ---column n
dim 1 --- dim 2 --- dim 3 --- data1 --- data2 --- data3 --- ... --- data 14
Region -- ID --- Product --- sales --- cogs ---- discounts --- ... --- amount
West --- D1 --- Coffee --- 11001 --- 1,322 --- 10789 --- ... --- 548
West --- D2 --- Tea10 --- 12011 --- 1,325 --- 10548 --- ... --- 589
West --- S1 --- Tea10 --- 14115 --- 1,699 --- 10145 --- ... --- 852
West --- C3 --- Tea10 --- 21053 --- 1,588 --- 10998 --- ... --- 981
East ---- S2 --- Coffee --- 15563 --- 1,458 --- 10991 --- ... --- 876
East ---- D1 --- Tea10 --- 15894 --- 1,664 --- 11615 --- ... --- 156
East ---- D3 --- Coffee --- 19689 --- 1,989 --- 15615 --- ... --- 986
East ---- C1 --- Coffee --- 18897 --- 1,988 --- 11898 --- ... --- 256
East ---- C3 --- Tea10 --- 11699 --- 1,328 --- 12156 --- ... --- 9896
Following 3 out of 14 (load-) rules files to load the data columns into the cube:
Rules File1:
dim 1 --- dim 2 --- dim 3 --- sales --- ignore --- ignore --- ... --- ignore
Rules File2:
dim 1 --- dim 2 --- dim 3 --- ignore --- cogs --- ignore --- ... --- ignore
Rules File14:
dim 1 --- dim 2 --- dim 3 --- ignore --- ignore --- ignore --- ... --- amount
Is the upper table design what GlennS mentioned as a "Data" column concept which only allows a single numeric data value ?
In this case I cant tag two or more columns as “Data fields”. I just can tag one column as “Data field”. Other data fields I have to tag as “ignore fields during data load”. Otherwise, when I validate the rules file, an Error occurs “only one field can contain the Data Field attribute”.
Or may I skip this error massage and just try to tag all 14 fields as “Data fields” and “load data” ?
Please advise.
Am I right that the other way is to reconstruct the table/view (and the rules files) like follows to load all of the data in one pass:
dim 0 --- dim 1 --- dim 2 --- dim 3 --- data
Account --- Region -- ID --- Product --- data
sales --- West --- D1 --- Coffee --- 11001
sales --- West --- D2 --- Tea10 --- 12011
sales --- West --- S1 --- Tea10 --- 14115
sales --- West --- C3 --- Tea10 --- 21053
sales --- East ---- S2 --- Coffee --- 15563
sales --- East ---- D1 --- Tea10 --- 15894
sales --- East ---- D3 --- Coffee --- 19689
sales --- East ---- C1 --- Coffee --- 18897
sales --- East ---- C3 --- Tea10 --- 11699
cogs --- West --- D1 --- Coffee --- 1,322
cogs --- West --- D2 --- Tea10 --- 1,325
cogs --- West --- S1 --- Tea10 --- 1,699
cogs --- West --- C3 --- Tea10 --- 1,588
cogs --- East ---- S2 --- Coffee --- 1,458
cogs --- East ---- D1 --- Tea10 --- 1,664
cogs --- East ---- D3 --- Coffee --- 1,989
cogs --- East ---- C1 --- Coffee --- 1,988
cogs --- East ---- C3 --- Tea10 --- 1,328
discounts --- West --- D1 --- Coffee --- 10789
discounts --- West --- D2 --- Tea10 --- 10548
discounts --- West --- S1 --- Tea10 --- 10145
discounts --- West --- C3 --- Tea10 --- 10998
discounts --- East ---- S2 --- Coffee --- 10991
discounts --- East ---- D1 --- Tea10 --- 11615
discounts --- East ---- D3 --- Coffee --- 15615
discounts --- East ---- C1 --- Coffee --- 11898
discounts --- East ---- C3 --- Tea10 --- 12156
amount --- West --- D1 --- Coffee --- 548
amount --- West --- D2 --- Tea10 --- 589
amount --- West --- S1 --- Tea10 --- 852
amount --- West --- C3 --- Tea10 --- 981
amount --- East ---- S2 --- Coffee --- 876
amount --- East ---- D1 --- Tea10 --- 156
amount --- East ---- D3 --- Coffee --- 986
amount --- East ---- C1 --- Coffee --- 256
amount --- East ---- C3 --- Tea10 --- 9896
And the third way is to adjust the essbase.cfg parameters DLTHREADSPREPARE and DLTHREADSWRITE (and DLSINGLETHREADPERSTAGE)
I just want to be sure that I understand your suggestions.
Many thanks for awesome help,
Zeljko -
Substitution variable using in rules file
Hi,
I have a requirement to load the data only for the current month. But, my source file is having data for all the months till current month.
ex: I have to load data for MAY. But, source file is having data from JAN to MAY
Its a monthly process and it should load the data only for the current month using substitution variable.
Means next month I will be having JAN to JUN data. But, I should load only JUN data.
Could any one help in building rules file for this requirement.
Thanks
SriIs the data coming from SQL or a flat file? And is JAN through MAY represented in multiple columns or multiple rows?
As Evgeniy says if it's a SQL source, you can use a subvar in the SQL statement. If it's a flat file (and your periods appear as multiple rows) you can use a subvar in a SELECT/REJECT criteria.
Honestly though, if a feeding system is producing a flat file for you, I would try and arrange to have the flat file contain only the data that is actually required. Parsing a file that is up to 12 times larger than necessary is inefficient. -
Essbase Build Dimension using load rules - Jagged Recursive hierarchy
Hi,
I am building a dimension from data that has the following parent/child relationship
PARENT CHILD
A B
C D
C E
C F
A C
Load dimension results in the following hierarchy:-
A
|__B
|__C
|_F
C
|_D
|_E
I would like the hierachy to be:-
A
|__B
|__C
|_F
|_D
|_E
Is there a way to achieve this? Is is to do with the order of rows in the data file?
Thanks
DineshHi,
I agree with the advice already posted about allowing moves in your dim build settings on the dimension in question. I just want to help clarify the other comment about how your file is sorted. As long as you are building a main rollup only (i.e., no shared member, alternate hierarchies in the same input file), the Essbase parent/child build method doesn't require any particular record order (as long as the pairings are correct in and of themselves). Essbase p/c method is powerful for ragged hierarchy creation and also able to "figure out" the intended hierarchy.
Now if you are including shared member relationships in the file, just be sure to have those records AFTER all records for the main rollup (logically as if you were simply using a second input file for the same rule). They don't have to be sorted within the rollup either.
BTW, the other strength of the p/c method is the ability to handle upper level shares (i.e., when your shared members are referencing members that are above level 0 in their stored (main hierarchy) positions.
Darrell -
Hyperion DLL use in Rule file?
This is probably a stretch to even ask this, but has anyone attempted to reference the DLL/API commands through the rules file? Since it's VB code, it seems like it might be possible to some how reference the dll files stored on the server to allow a subroutine to perform tasks such as open a journal period.
Does anyone know if this is possible?Theoretically you can do anything within the bounds of VBScript. Keep in mind that the DCOM user is the one performing the operations, so whatever you do must be accessible/executable by the DCOM user. We have had discussions with development to restrict the boundaries of VBScript from rules since this can pose a security hole. So, even if you could run some code from rules in 9.3, it's possible that it won't run in 11.x. When we developed Calc Manager, we researched hundreds of applications and found the majorit of non-calculation activities launched from rules encompassed "Write To File" and "Timers and Counters". For these reasons, we added logging and timers directly into Calc Manager.
Is there something else you'd like to specifically try with rules, or are you just curious?
--Chris -
Dimension Build using Rule File
I am using Oracle Hyperion Ver 9.3.1. While formatting the dimensions built using the rule file i came across the options "JOIN" and "Create Using Join". Can anyone help me in knowing the difference between these two options?
Edited by: 873675 on Jul 20, 2011 12:25 AMThe documentation explains the difference with examples, now I was going to post the link but I might as well post the info from the link.
Joining Fields
You can join multiple fields into one field. The new field is given the name of the first field in the join. For example, if a data source has separate fields for product number (100) and product family (-10), you must join the fields (100-10) before loading them into the Sample.Basic database.
Creating a Field by Joining Fields
You can join fields by placing the joined fields into a new field. This procedure leaves the original fields intact. Creating a field is useful if you need to concatenate fields of the data source to create a member.
For example, if a data source has separate fields for product number (100) and product family (-10), you must join the fields (100-10) before you load them into the Sample.Basic database. If, however, you want to preserve the two existing fields in the data source, you can create a field (100-10) using a join. The data source now includes all three fields (100, -10, and 100-10).
For other rule options read - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag/ddlfield.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Building shared members using rules file
How to build Shared members in the outline using load rule file.
I tried but it is not working correctly.Hi,
If you are loading the build file in parent child format...you don't need to mention the member as shared or stored.
Essbase automatically makes the second one shared.
If you are using generations or levels format to build the dimension then I suggest you to refer the docs to understand it clearly.
http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/esb_dbag.pdf
Thanks,
Jeeth -
How to load shared members into a duplicate outline using load rules
Hello, I am trying to load an alternate hierarchy into the same dimension in an outline that accepts duplicate members using EAS load rules ... there is no property for shared members so i can't specify it in the load rule .. i tried using parent child and it is not working - no shared members are loaded in the alternate hierarchy .. any ideas? would another utility make it happen?
thxYou might find this useful: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/dotdimb.htm
Especially the Building Shared Members by Using a Rules File section: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/dotdimb.htm#dotdimb1061244
Cheers,
Mehmet -
Query regarding Metadata load in Essbase using rule file
Hi
In our application,we are loading metadata using Essbase rule file and here we are facing one problem.Suppose we have to load a level 0 member called "xxxx" under two different parent,assume the parent members are Parent_AAAA and Parent_BBBB.But our requirement is the consolidation operator for the first occurrence ( i.e under Parent_AAAA) is "+" and for the shared member under Parent_BBBB is "-".But,when we are loading using rule file the consolidation operator for the shared member always being loaded as "+".Is there any trick to change the consolidation operator for shared member other than changing it manually in outline?
Pls help....Thanks in advance.I don't think there is a way to change the default setting.
However, what you can do is to have a different load rule and different text file with only the metadata that you want to have an exception for shared members. That way, you can achieve it as you do not have to change the existing rule file.
Regards
ORACLE | Essbase -
Create Attribute Dimension by rule file
Hi,
How can we create an attribute dimension and associtae members of sparse dimension with members of attribute dimension by using a rule file?
There is no option of 'Attribute' under dimension type in dimension propertites.
Plz help on it.
Atul KFirst you have to create a standard dimension and made the storage setting sparse.
Then, you can create another dimension of type Attribute and associate it with the standard sparse dimension.
Then you can write rule files for attributes.
If you are assigning the attribute dimension MKT_TYPE to the standard dimension MARKET and the generation 4 is the last.
The typical rule file is like this:
Gen4, MARKET MKT_TYPE 4, MARKET
New york Big Market
Washington Small Market -
Change from Dynamic m,ember to Store members using a rule
Hi there,For adding a dynamic member using a rules files i'm using the X property but what is the property to set uip a store member ??? I've been searching some manuals but i didn't found it.thanksd in advanvebest regards Rubianes
Hi - There is no code for Storing Members. That is assumed as the default.
-
A problem happened when building dimensions with Rule File
Hi All,
I was trying to build dimensions with the rule file. But it showed the error 1030100, which means "cannot open file".
I can load data with a data source (.txt). Thus, I assumed that it's a problem to open a rule file.
I don't think it's the problem about the rule files I wrote since I cannot even build dimensions with rule files in the Sample/Basic database.
Anyone knows how to solve the problem? Thanks for the help.
Best Regards,
Anderson854285 wrote:
Hi Prebhas,
Here are the error messages:
Object [Basic] is locked by user [admin]
Building Dimensions Elapsed Time: [0.016] seconds
Cannot open file: [E:\Hyperion\products\Essbase\eas\Client\dataload.err]
Unexpected Essbase error 1030100
Object [Basic] is unlocked by user [admin]
p.s. Even I re-install my system is English, the word "Client" is shown in Chinese. Is it possible this is the reason? If so, how I change the folder?
After I saw this message, I checked the folder and there is no such file. I tried to created one, but it disappear after I tried to build dimensions.
Best Regards,
Anderson
Edited by: 854285 on 2011/4/25 上午 3:27HI,
E:\Hyperion\products\Essbase\eas\Client\dataload.err
This path is referred to error message .... it will show the errors in that file...
and one more thing...
while adding data source to rule file it will ask you provide a path for the error message...there you can see this path...
Just check dataload.err file after running the rule file...
have you associated the out line to the rule file ???
is that rule file validate fine?
if not associate it and try...
Regards,
Prabhas
Edited by: P on Apr 25, 2011 4:43 PM -
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 -
Load Parent-Child dimension with attributes by rule file
Well, I've cracked my head open while banging against this wall.
Task is plain & simple:
How can I load build dimension from such table, using rule file?
Data
ProductParent ProductChild ProductAttribute
Balls Ball_8 Round
I want to load both product dimension and attribute by single rule file (neither of these dimensions exists in database before load), so I do the following:
1) Set dimension build settings, creating dimension Products (marking it P\C generated, sparse), having an attribute dimension AttributeDim
2) Mark the fields as Parent, Child and AttributeDim of dimension Products
After loading rule file a get three types of errors:
a) "Base member (Balls) association level does not match base dimension association level" -- does this mean that I cannot assign attributes in P\C way?
b) "Record #327 - Can not uniquely identify member by Balls (3335)
Balls Ball_8 Round" -- That's strange, I thought member should be identified by Ball_8 (and this column is unique)
c) "\\Record #418 - Error in association transaction [Ball_8] to [Round] (3362)"
I've read all I could find on topic from this forum, network45 board and going to start my way through metalink3, but maybe some kind soul will rescue me from drowning in information ocean?Hi,
Outline is blank at the start of load and I expect dimensions Product and ProdAttribute to be added.
Generations are unapplicable, since I can't turn this parent-child dimension (it's ragged) into generation one.
And, by the way Integration Services manages to do this somehow, why rule files wouldn't?
Maybe you are looking for
-
I have been using an external drive (Imation Apollo) to access only, old files from previous computer (PC) on a new Mac Air. I had not transferred them across to new computer (didn't want to do that) just accessing them from the HD. It had been wo
-
When I plug in my MacBook Pro to charge, the light is green for a minute and then it turns red and the plug gets very hot. The plug works fine on another computer and charges it. Why won't my MacBook Pro charge?
-
I have the latest version of iTunes for Windows Vista, and when I download a song, or play a song, the info bar at the top runs a process called "determining song volume". when ever that runs, iTunes stops working, and shuts down. then Vista loads a
-
Dynamic link to external files
Is there a way to dynamically link to an external file? Currently, when you link to a file, RH puts a copy of it in its working directory and lists it as a Baggage File. Once that's done, that file's dead; if the original file gets updated, I have to
-
Hi We have upgraded BW and applied the JAVA stack etc but we are getting a problem when trying to use the report designer. When we try and open something or create a new report the following message pops up 'Error while loading query metadata, check