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

Similar Messages

  • Referencing a substitution variable in data load rule header definition

    Hi All,
    Im trying to add a substitution variable to the header definition of a DLR.
    the sub var is &CurrMonth.
    When I execute the data load I get an "unknown member error" with a list of all members in the header definition, including Oct which is my current month.
    It looks like the DLR is resolving the sub var but for some reason it is refusing to load data.
    We are on 9.2.0.1.
    Are sub vars referenced differently for DLR?
    Thanks for your help.
    Seb

    Hi Seb!
    Hope you're well. You're doing everything right with the subvars so the issue must be elsewhere. Is the list comma separated? Sorry I can' help more :(
    Gee

  • How to use a substitution variable in a load rule?

    I need to use a substitution variable in a load rule in a column, as I will receive a parameter to fix the Month and Year values within the data loading, could somebody tell me if this is possible. I put an expresion "&Yearproc" in the column value but it is not working.

    If you're a member of ODTUG (or even if not, you can sign up for an associate membership for free) you can download Glenn's presentation from 2009 Kaliedoscope "Little Used Features of Essbase (Like Data Mining and Triggers)" -- there is a section in that presentation on substitution variables -- he does a really good job in showing how this works.
    Go to: www.odtug.com, then Tech Resources, then Essbase/Hyperion, and search for Schwartzberg. Currently it's the ninth presentation on the list -- I think this changes based on popularity of downloads.
    Regards,
    Cameron Lackpour

  • 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.

  • Substitution variable in sql load rules file

    Okay gurus,
    I need a little guidance, I have to replace the value of 201020 and 2008 from substitution variables. I have created the variables and set them up globally on the essbase server.
    201020 = FW00
    2008 = FY00
    WHERE ACT.FISCAL_WEEK_ID <= 201020
    AND ACT.FISCAL_YEAR_ID > 2008
    AND RTDIV.DIV IN (1,2,3,4,5,6,7,8,9,99) (This is the query with hard coded values of week and year)
    When i m trying to put sub variables there , its throwing the error. please find below the way i was trying to do it.
    WHERE ACT.FISCAL_WEEK_ID = '&FW00'
    AND ACT.FISCAL_YEAR_ID = '&FY00'
    But unfortunately, its throwing error Error: 1021001 Failed to Establish Connection With SQL Database Server. See log for more information
    I know that this is the generic error because if i put the hard coded value in sql load rules it works fine.
    Is it the right way to out sub var in sql load rules???
    Please advice and thanks in advance.

    Hi Genn,
    I tried to see the app log for sql but i m afraid that there is nothing in there, the only error message which I am getting in app log is this:
    Failed to Establish Connection With SQL Database Server. See log for more information
    Its an ASO cube and initially i was using the variable as FY00 AS "2008" it did not work and than i tried without quotes in variable but is still not working.
    Any idea..thanks in advance.

  • SQL data Load rule with Substitution variable

    Hi,
    I have a data load rule with MySQL as a data source. I have requirement where user does not want to see Current day data in cube and they keep changing days not to be loaded.
    I have setup the substitution variable SUBv as '2009-11-04' and have scripts to update it daily.
    Data Load rule in where condition contains
    brand = 'HP' and region = 'east' and date <> &SUBv
    Now, above where condition does not work for date <> &SUBv but if I set substitution variable SUBv as "brand = 'HP' and region = 'east' and date <> '2009-11-04' " and set load rule where condition with just &SUBv it would just work fine. I dont know whats wrong in 1st place.
    I dont want to create multiple where condition in substitution variable (Don't we have limit on them?). I have 40+ load rules which might use this SUBv substitution variable if I find a way to define it so that it work as "brand = 'HP' and region = 'east' and date <> &SUBv"
    Thanks,
    Vikram

    I did some research and came to know when using substitution variable in Load rule need to keep substitution variable first in string..
    It worked out magically.

  • 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!

  • 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.

  • Relationship between ERPi metadata rules and Data load rules

    I am using version 11.1.1.3 to load EBS data to ERPi and then to FDM. I have created a Metadata rule where I have assigned a ledger from the Source Accounting Entities. I have also created a Data Load rule that references the same ledger as the metadata rule. I have about 50 ledgers that I have to integrate so I have added the source adapters that reference the Data Load rule.
    My question is... What is the relation between the Meatdata rule and the Data load rule with the ledger? If you can specify only one Ledger per metadata rule, then how does FDM know to use another metadata rule with another ledger attached to it? Thanks!!!

    Aksik
    1 How freequently this activation problem occurs. If it is one time replicate the datasource and activate thetransfer structure( But in general as you know activation of transfer structure should be done automatically after transport of the object)
    2 One thing for difference of time is environmental as you know in production system so many jobs will run at the same time so obiously system performance will be slow compare to Dev System. In your case both the systems are performing equally. You said in dev system for 50000 records half an hour and in production 200000 records 2hrs so records are more in Production system and it took longer time. If it is really causing problem then you have to do some performance activities.
    Hope this helps
    Thnaks
    Sat

  • Where does substitution variable meta data stored?

    where does substitution variable meta data stored in the essbase folder?<BR>Thanks<BR>Arun

    I believe substitution variables are stored in the Essbase.sec (Security file).

  • 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.

  • 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,

  • 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.

  • ERP integrator Tasks - Data Load Rule

    Hi
    We are facing issues with ERP integrator 11.1.2.2.
    We don't have some of the options available in in ERP integrator Data Load Rule Task.
    Earlier we have the Add option in Data Load Rule under Source Filter -- Segment Values and all ERP integrator task screens are different as earlier.
    Please find attached Screen shots of Current and Earlier.
    Actually we have applied path for HFM .
    Now its showing
    HFM version --11.1.2.2.303.3959
    ERP integrator - 11.1.2.2.0.0
    After applied path this issue is coming.
    Please guide us what we have to do to resolve this issue.
    Edited by: Nagarjuna Reddy on May 22, 2013 12:31 PM

    No i did not apply any patch for ERP integrator.
    But we have applied path for HFM..Is it effecting to ERP integrator??

  • 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.

Maybe you are looking for