Choosing Dimension Members / Creating Data Load Rule Files

Hi
Let me explain this problem using an example. Let's say I have a dimension table called "Product" and its has ProductId, ProductCode & ProductName fields, and a Fact table with ProductId and Value columns. As you can see ProductId has beed used to link to Fact table. I want to display ProductCode as dimension members (ProductName as Alias). I have no problem creating this scenario using EIS. But when I am not sure whether I could do this with EAS. I tried but I cannot get it working. Does anybody know to do this in EAS please? Also, how to create the data load rule for this problem using ProductId?
Regards
Chandra

You can do this using a SQL load rule.
One rule to build your dimension, simply select statement on the one Dimension table.
Second rule to load data is going to require a Select statement with a join to pull the product name from the dimension table and the data from the fact table linked on the Product id.

Similar Messages

  • Data Load Rules file - Conditional load

    Hi,
    I need to create a data load rules file to load sales data. The data comes at product, entity, month, year, version, scenario, account level. I need to load data only towards two of the entities, NCC and NCCCBU, i.e if the product is coming under a particular hierarchy called UK then it needs to get loaded against NCC entity member and if the product is under the CBU hierarchy it needs to be loaded against the NCCCBU entity.
    All of the data comes in the same file so I need to load it in one go without splitting the file into two.
    Thanks
    Vikash

    You can achieve this.
    In the data load rule when you are mapping the entity column.
    set the propperties like this:
    Field properties -> Global Prpoperties
    Replace with
    UK NCC
    CBU NCCCBU
    Field properties -> Data Load Prpoperties
    Map the column with entity dimension.

  • Error while opening SQL source for a Data Load Rules File

    Hi ,I have created Data Laod rules file.When I try to open a SQL source for this rules file (File->Open SQL) , I get an error saying "Your server does not have a SQL connection Option, Please check with your system administrator"Further I get a message "There are no data sources defined. PLease create one to continue.".I have created DSN on my Essbase server.What is the problem.What needs to done to open SQL files.Thanks.

    I have Essbase 7.1 I guess for version 7.1 the SQL interface option is intalled with the Analytic server itself .Am I right?I have setup the DSN also.Please help to resolve this issue.Thanks .

  • Do we need to re-create data load rules if we upgrade from EBS 11 to 12?

    If so, please explain the reason. Thanks.

    If you upgrade from EBS 11 to EBS 12 you would need to create a new source system registration in ERPi.
    Once the new source system is created, you would then need to initalize the source system in ERPi.
    From there you would need to associate it with an import format and locations in ERPI and your data load rules are then based on the location.

  • Method of creating data load rules

    Hi, I'm new to essbase and learning by creating a sample aplication from scratch. I'm looking for ways to create an outline dynamically from an Oracle table using the rules file and avoiding the Application Manager, which I find onerous.Is there a way to create or edit a rules file using a text editor and either esscmd or MaxL syntax?

    Unfortunately no - App Man (or EAS) is the only way to create load rules. Once you create the rules though there should be no need to change them, as long as the format of the data does not change (ie more/less columns, column ordering, etc)Regards,Jade---------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • Data Load Rule file -Date conversion

    Hi,While working on a Dataload rule file,I was facing this problem.I'm getting date in the format "m(m)/d(d)/yyyy hh:mm:ss". Is there a way to change this to "mm/yy" ??(There won't be anyproblem if I get mm/dd/yyyy hh:mm:ss style. but unfortunately not.)

    Can you run the file through a "conversion process" prior to loading?We do similiar thing here. We get a feed from Hyperion Enterprise and run it through a home grown conversion utility written in Windows Script before we load into Essbase.It reads in the file line by line and then writes out a new file properly formatted.

  • Loading data through rule files in Essbase

    Hi everyone,
    I really need help because something that I don't understand is happening when I am loading data through a rule files that I have created in Essbase. In the "Field Properties" of that rules files, I added few accounts in the "Global Properties" that I wanted to be replaced by others when I perform the load since I had troubles with the hierarchy of my accounts. My problem is that I have 3 accounts that I cannot add when I am loading my data and I don't understand why. By example, in my data extract file, I want to add the account : 601820SN60005 but since it doesn't exist in my Dimension Library I changed my rule file. I add the following propertie : Replace 601820SN60005 with 601820, so the system should put the data in that account instead. But it's not what'S happening. When I perform my load, the log tells me that the member 601820SN60005 does not exist in the database which is true but it seems that the propertie I had is not working. The load should work property. Is it possible that my rules files is corrupted? Or anything else?
    Please give me a clue of what's happening here because I really don't understand!
    Thanks a lot!

    I will just pipe in with the mostly worthless comment that doing any kind of ETL within a load rule is really not the world's best idea. Could you do your transformations in the source? There is this fantastic language called "SQL" that allows all kinds of cool data manipulations. Oracle even sells this product called ODI that I hear is just dandy for ETL work. :)
    A slightly more useful suggestion -- it's really tough to view all of the various transformations in a load rule, as you have found to your sorrow. Did you know you can print the load rule and get all of the transformations? I use it all the time when a client hasn't listened to my whine about not doing ETL in a load rule.
    Regards,
    Cameron Lackpour

  • Add formula field in data load rule

    Hello,
    I am trying to import data in Essbase from a txt file. The txt file contains data from an app with 12 dimensions and I want to load it into an app with 13 dimensions (View dimension for YTD is the extra dimension). Is that possible? I was thinking about adding an extra field in the data load rule which I would import as the sum of all other data fields. How would I do that?
    Thank you,
    Adina

    Hi,
    Thank you both for your answers. But what confuses me is this: I created a rules file using a file with 12 columns. I selected the appropriate member for each column in Field Properties, and added the View member in the data load header. Then I get the error message: "This field is also defined in the header definition" for all fields. However, if I don't set the members in Field Properties and just set them in the data load header, I get another error message: "There is an unknown member (or no member) in the field name."
    Can you please help?
    Thank you!

  • Essbase Load Rules File Header Issue

    Hi,
    Is it possible to specify more than one member for the same dimension in the Load Rules file Header?
    Example: I need to load the same data in all the remaining months in current year.
    I tried using a substitution variable in the header which is defined as Aug,Sep,Oct,Nov,Dec.
    It loaded randomly. For each account, only one month is loaded.
    It loads only as many data points as in the data file regardless of the number of members from the same dimension specified in the Header definition.
    Any suggestions to correct this.
    Using a Calc script to do a data copy cannot be used because of other process limitations.
    Appreciate your thoughts.
    Thanks,
    -Ethan.

    Randomly? That's really interesting. But yeah, I wouldn't expect that to work.
    I have a hard time thinking of a really good option that will handle an variable number of periods and is driven by a single subvar.
    Run the load multiple times, cycling through the subvar settings? Or (faster, if Period is dense) create one load rule for each period, with the data column copied multiple times using field manipulation and the future Periods assigned to each column (rather than using a 'Data' field) and run only the rule you need? That option doesn't use a subvar at all, but still requires conditional logic in the process.
    Alternatively, do the transformation in your source extract / parse the file. This is really the 'best' option but I appreciate there are sometimes constraints on changing upstream processes.

  • Data load rule

    I am able to open a database outline, this database has got just one data load rule, on opening this, I get to see a blank upper window with lower table having some columns matching with some of the dimensions in outline.What can I make out from this data load rule regarding the location from the data is coming into the dimension members?? In otherwords how can I know where is data source for the dimension members and rules applied to it before data is loaded to dimension members.

    Continued from above:This means your data source file can be located anywhere. You specify the location of the data source file and the load rule when you load the data.The location of the data source file is not hard-coded into the load rule.Best Regards,

  • Opening data load rule

    I am able to open a database outline, this database has got just one data load rule, on opening this, I get to see a blank upper window with lower table having some columns matching with some of the dimensions in outline.What can I make out from this data load rule regarding the location from the data is coming into the dimension members?? In otherwords how can I know where is data source for the dimension members and rules applied to it before data is loaded to dimension members.

    There's no way to know what file was used to build the load rule, or what files have been loaded using the load rule. You have to maintain your own documentation, or some kind of naming convention that makes it clear.

  • Missing Standard Dimension Column for data load (MSSQL to Essbase Data)

    This is similar error to one posted by Sravan -- however I'm sure I have all dimensions covered -- going from MS SQL to SunOpsys Staging to Essbase. It is telling me missing standard dimension, however I have all accounted for:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last): File "<string>", line 23, in ? com.hyperion.odi.essbase.ODIEssbaseException: Missing standard dimension column for data load
    at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    I'm using multiple time period inputs -- BegBalance,Jul,Aug,Sep,Oct,Nov,Dec,Jan,Feb,Mar,Apr,May,Jun (target has all of those in place of Time Periods)
    I'm using hard coded input mapping for Metric, Scenario, Version, HSP_Rates and Currencies. -> 'Amount', 'Actual', 'Final', 'HSP_InputValue','Local' respectively.
    The only thing I can think of is that since I'm loading to each of the months in the Time Periods dimension (the reversal was set up to accomodate that)... and now its somehow still looking for that? Time Periods as a dimension does not show up in the reversal -- only the individual months named above.
    Any ideas on this one??

    John -- I extracted the data to a file and created a data load rule in Essbase to load the data. All dimensions present and accounted for (five header items as similar here) and everything loads fine.
    So not sure what else is wrong -- still getting the missing dimension error.
    Any other thoughts?? Here's the entire error message. Thanks for all your help on this.
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 23, in ?
    com.hyperion.odi.essbase.ODIEssbaseException: Missing standard dimension column for data load
         at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx8.f$0(<string>:23)
         at org.python.pycode._pyx8.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.k(e.java)
         at com.sunopsis.dwg.cmd.g.A(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.hyperion.odi.essbase.ODIEssbaseException: Missing standard dimension column for data load
         at com.hyperion.odi.essbase.ODIEssbaseDataWriter.validateColumns(Unknown Source)
         ... 32 more
    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Missing standard dimension column for data load
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.k(e.java)
         at com.sunopsis.dwg.cmd.g.A(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)

  • Substitution Variable in Data Load Rule

    Hello,
    Is it possible to filter selected record or rejected record from a flat file using a substitution variable ?
    I use the v11.1.1.3.
    Thanks
    Rgds,
    Pierre

    A quich test on sample basic says no. I exported the data in column format and cleared the data. Then I created a load rule with selection criteria of a substitution variable and itdid not load any rows. I then changed the sub variable to an actual month and it loaded fine

  • How to enter TEXT data using rules files

    Hi,
    How can i enter text data using rules files?
    Thanks,
    A

    If you are talking about planning members with a text data type then it is not possible to load the actual text string using a load rule,essbase just stores a numeric value and the text string relating to that numeric value is stored in the planning applications relational tables.
    If you want to load text directly then you can load data through the planning layer, more information available at - http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch05s02s01.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Substitution Variables in Essbase Load Rules File

    Hi,
    Has anyone tried using substitution variables in Load Rules File Header definition?
    I need to load data based on the Year & I have different Files for 3 Years- CurYr, BudYr1 & BudYr2. Is it allowed to specify the Year Substitution variable in the Rule File Header? I am getting an error while loading.
    Appreciate your thoughts.
    Thanks,
    -Ethan.

    Tim,
    Thanks for the response.
    I figured it out. The error message I was getting was because of some parsing issue. I have defined Year as "FY12" in quotes. I removed quotes & it worked.
    Thank You.
    Ethan.

Maybe you are looking for