Help on Report Script

Hi All,
We are trying to write a report script to extract Level 0 data. We have an UDA associated with some parent members under a dimension (say "Entity"). Is there any way we can extract the level zero members of parent which are tagged with that UDA??
Something like <LINK (<LEV((<DESCENDANTS("Entity") AND <UDA(Entity, ABCD)),0) where ABCD is the UDA tagged to the parent members.
Please suggest.

user8927833 wrote:
Below are the examples to get data out using report scripts using UDA
<UDA (product, "Sweet")The following example uses the UDA command within a LINK statement to select level 0 products that are sweet:
<LINK(<UDA(product, "Sweet") AND <LEV(product, 0)).
If you are on BSO then you can write data export calc scriptI am pretty sure that neither of these will work based on what the OP described. The first one would only get the members with the UDA, the second, only those at Level 0 with that UDA. I think the issue is that you cannot obtain the hierarchy beneath the UDA members. As timg suggested, push the UDA down to level 0, or figure another way out.

Similar Messages

  • Help with Report Script please :(

    Hi,
    I'm trying to write a report script with a slight calculation and would really appreciate some help.
    Ideally I want to create a report where I only get the Account and Value. I select all my members but I need a calculation on the Entity dimension. Here's what i am trying to achieve:
    (All selected members for all Entities + All selected members for all Entities in group RIA-IFRS REPORTING ADJS. ) Yes I'm duplicating the members of group RI-IFRS REPORTING ADJS.
    So account 100 for all Entities = 50
    account 100 for all Entities in RI-IFRS REPORTING ADJS. = 25
    I want to display account 100 grouped as 75 without showing a line for each entity.
    This is what I have so far but it doesn't work right:
    ROWREPEAT
    SUPCOLHEADING
    SUPCOMMAS
    SUPHEADING
    SUPBRACKETS
    SUPEMPTYROWS
    TABDELIMIT
    MISSINGTEXT "#mi"
    DECIMAL 2
    NOINDENTGEN
    <PAGE ( Years, Version, Currency, Scenario, InterCompany, "Entity", "Cost Center","Set of Books","Reporting")
    "FY10" "Current" "Currency" "Actual" "InterCompany" "Entity" "Cost Center" "AB_CON_USD" "Reporting"
    <ROW ("Account")
    <LINK(<DESCENDANTS("Total Balance Sheet Accounts","Lev0,Account"))
    { CALCULATE ROW "Entity" = "Entity" + "RI-IFRS REPORTING ADJS."})
    <COL (Period)
    "Dec"
    !

    Dreamscapeuk wrote:
    Hi Robert,  I wasn't getting any data, but I managed to figure that out.  Basically I created 2 columns with the values I needed and then added them up with a calc cloumn.  However I can't get my essbase substitution variables working.  So I created a substitution variable called CurrQtr  and set this to Quarter3.  In my script I'm using this @CurrQtr as  a period however it doesn't use it as it's just giving me the total for the Period dimension.  Any help?
    Here's the script:
    ROWREPEAT
    SUPCOMMAS
    SUPBRACKETS
    SUPEMPTYROWS
    TABDELIMIT
    MISSINGTEXT ""
    DECIMAL 2
    NOINDENTGEN
    <PAGE ( DataSrc, Years, Version, "P&L Type", Currency, Scenario, InterCompany, "Cost Center","Set of Books","Reporting")
         "DataSrc" "FY10" "Current" "No_Type" "USD" "Actual" "InterCompany" "Cost Center" "AB_CON_USD" "No_Cost_Type"
    <COLUMN (Period)
              @CurrQtr
         WWL "RIA-IFRS REPORTING ADJS."
    CALCULATE COLUMN "Gaap" = 1 - 2
    ORDER 0,3,1,2
    <ROW (Account)
    <LINK(<DESCENDANTS("Global Accounts","Lev0,Account"))
    In my script I'm using this @CurrQtr as a period however it doesn't use it as it's just giving me the total for the Period dimension. Any help?
    I don't understand this...
    *<COLUMN (Period)*
    *          Qtr3      WWL "RIA-IFRS REPORTING ADJS."*
    have you tried like this.??
    Edited by: Prabhas on Feb 1, 2011 12:05 AM

  • Help with report script query please

    Hi,
    I'm trying to write a report script with a slight calculation and would really appreciate some help.
    Ideally I want to create a report where I only get the Account and Value. I select all my members but I need a calculation on the Entity dimension. Here's what i am trying to achieve:
    (All selected members for all Entities + All selected members for all Entities in group RIA-IFRS REPORTING ADJS. ) Yes I'm duplicating the members of group RI-IFRS REPORTING ADJS.
    So account 100 for all Entities = 50
    account 100 for all Entities in RI-IFRS REPORTING ADJS. = 25
    I want to display account 100 grouped as 75 without showing a line for each entity.
    This is what I have so far but it doesn't work right:
    ROWREPEAT
    SUPCOLHEADING
    SUPCOMMAS
    SUPHEADING
    SUPBRACKETS
    SUPEMPTYROWS
    TABDELIMIT
    MISSINGTEXT "#mi"
    DECIMAL 2
    NOINDENTGEN
    <PAGE ( Years, Version, Currency, Scenario, InterCompany, "Entity", "Cost Center","Set of Books","Reporting")
    "FY10" "Current" "Currency" "Actual" "InterCompany" "Entity" "Cost Center" "AB_CON_USD" "Reporting"
    <ROW ("Account")
         <LINK(<DESCENDANTS("Total Balance Sheet Accounts","Lev0,Account"))
    { CALCULATE ROW "Entity" = "Entity" + "RI-IFRS REPORTING ADJS."})
         <COL (Period)
         "Dec"
         !

    For the benefit of anyone else looking for this answer, I figured it out.
    //To do this it's better to create 2 columns:
    <COLUMN (Period)
              Q4           
    WWL "RIA-IFRS REPORTING ADJS."
    //Then add the 2 columns up:
    CALCULATE COLUMN "Q4 Gaap" = 1 - 2
    //And order the column how you want
    ORDER 0,3,1,2
    Hope this help someone out.
    http://atmyplace.co.uk

  • Help in Report Scripts

    Hi,
    I need to display all the Level 0 of the products in the row level and need to ignore the first four characters in member name.
    for e.g.
    if the exisiting output of the report script is
    Sales
    Jan pro:abcd1 10
    Jan pro:efgh1 15
    My required output is
    Sales
    Jan abcd1 10
    Jan efgh1 15
    Can you please guide me how to achieve that?
    Thank you for your kind help in advance.
    Regards,
    tvmk
    Edited by: tvmk on Aug 11, 2010 4:56 PM

    This can be happen in excel.
    you can create the excel file an do "concatenate" to remove "Prod" from the name.

  • Need help with Report Script calculation...

    When trying to implement a calculation on 2 members (sales, tax exempt) I am having a problem keeping the report from accumulating the calculation total...
    Any ideas would certainly be appreciated.
    Thanks,
    //*****Script******
    { CALCULATE ROW  "item1" OFF}     //sets variable for first calculation item
    { CALCULATE ROW  "item2" OFF}     //sets variable for second calculation item
    <row("entities", "Measures")
    //{Supoutput}
    {SETROWOP "item1" +}     //starts adding the member
    "Sales"
    {SETROWOP "item1" OFF}     //stops adding the member
    {SETROWOP "item2" +}          //starts adding the member
    "tax exempt"
    {SETROWOP "item2" OFF}     //stops adding the member
    //{OUTPUT}
    { CALCULATE ROW  "total sales" = "item1" - "item2"
    PRINTROW "total sales"}
    //*****what I am expecting******
    north      sales     777.00
    north      tax exempt     27.00
    north      total sales     750.00
    south      sales     796.00
    south      tax exempt     23.00
    south      total sales     773.00     <======     correct
    //******actualreport results******
    north     sales     777.00
    north      tax exempt     27.00
    north      total sales     750.00
    south     sales     796.00
    south      tax exempt     23.00
    south      total sales     1523.00     <==== accumulated number / wrong!
    Edited by: Adam M on Sep 29, 2011 5:06 PM

    You should do this calculation in Essbase, not in report script. Add dynamic calc member "Total Sales" with formula "Sales" - "Tax Exempt"...
    Regards,
    Yuri

  • Help with Report Script export

    Hi All,
    I am trying to automate report script export using maxl.
    export database 'DP_A1423'.'DP_A1423' using server report_file 'MFHSB6WK' to data_file 'reportexport.txt'; it is executing with out any issues> But, i am not able to file file on server.
    export database 'DP_A1423'.'DP_A1423' using server report_file 'MFHSB6WK' to data_file 'G:\\Hyperion\\export.txt';  if i am giving it location, it throwing me error. Unable to Open File ['G:\\Hyperion\\export.txt']
    Can someone please point me in right direction.
    Thanks in advance.

    >>Cameron did revisit the use of MDX.
    ^^^I did.  And I didn't say it was wrong.  Only that there is no blanket rule better for MDX vs DATAEXPORT vs report scripts. I suppose you were saying that.
    What I did see was:
    1)  Large number of output rows tends to favor report scripts
    2)  Large amounts of data (particularly if in a BSO database and suppressing lots of data) tends to favor MDX.
    Which is really the best (read fastest) depends on the extraction requirements in question. Kind of stinks but there it is.
    Regards,
    Cameron Lackpour

  • Report Scripts - Please Can Some One Help Me

    Hello Gurus,
    Is it possible to display 2 members of the same dimension in adjacent columns using Report Scripts? if not what is the best available option?
    Consider this Sample Outline
    +Product
    +-Cofee
    +---Cafined
    +-------1100
    +-------1200
    +---Decafined
    +-------1300
    +-------1400
    +-Soda
    +---Coke
    +-------1500
    The format of the desired report is
    ======= Jan Feb Mar
    1100 Cofee 8 8 8
    1200 Cofee 8 8 8
    1300 Cofee 7 7 7
    1400 Cofee 7 7 7
    1500 Soda 6 6 6
    ================
    Please Can some one help me in this regard!
    Thanks In Advance

    If I remember correctly when I wanted to do something similar I imported the report with the level 0 members into SQL Server and then joined on a mapping table (was a parent/child table in our case) to get the other column. In our situation we already had the mapping table readily available because this is where the dimension was built from!

  • Help to create a Report Script

    Hi everyone,
    I'm trying to translate this calculation script line
    @REMOVE( @CHILDREN("P&L"), @LIST(@UDA ("Accounts", "wo_CC"), @UDA ("Accounts", "wo_C2"), "AX70000", "C71110") )
    by this Report script line :
    <LINK (<CHILD ("P&L") AND NOT (<UDA ("Accounts", "wo_C2") OR <UDA ("Accounts", "wo_CC") OR <MEMBER("AX70000") OR <MEMBER("C71110")))
    but it doesn't work ==> Report extract account with wo_C2 or wo_CC
    What's wrong with my code ?
    Thank you for your help.
    Regards,
    Yohan
    Edited by: 780941 on Dec 14, 2011 1:01 PM

    You could do a simple powershell script to query the network path and send an email on failures.
    $test = Test-Path "\\server\folder"
    If (!($test -eq $true)
    {Send-MailMessage -To [email protected] -From [email protected] -Subject "Drive Test Failed" -Body "The test has failed" -SMTPServer yourserver.domain.com }
    Create this as a scheduled task on the server that needs to query.
    - Chris Ream -
    **Remember, if you find a post that is helpful, or is the answer, please mark it appropriately.**

  • Report Script Help Needed - Data Extract

    Hi,
    I have a cube with 11 dims: Account, Period, Resource, Facility, SSSS, CCCC, Activity, Years, Version, Scenario, Charges
    I need a report script that will extract data for a certain year and scenario only. I have not written a report script in a long time and have the following thus far. However it's not extracting data that I know exists. Can anyone help? Thanks is advance. This runs but I just get a blank screen or file....
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    // This report script extracts data from cube
    "FY11"
    {DECIMAL 4}
    {NAMEWIDTH 25}
    {SUPCOMMAS}
    {SUPBRACKETS}
    {SUPPAGEHEADING}
    {NOINDENTGEN}
    {SUPMISSINGROWS}
    {SUPZEROROWS}
    {TABDELIMIT}
    {SUPFEED}
    {ROWREPEAT}
    "JAN"
    "FEB"
    "MAR"
    //"APR"
    //"MAY"
    //"JUN"
    //"JUL"
    //"AUG"
    //"SEP"
    //"OCT"
    //"NOV"
    //"DEC"
    "BUDGET"
    // This is the members of the CCCC dimension to extract
    // This is the members or the ACCOUNT dimension to extract
    !

    Hello -
    You can try/modify the code below and see if this works -
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    { SUPMISSINGROWS }
    { SUPZEROROWS }
    { SUPFEED, SUPBRACKETS, SUPCOMMAS }
    { NOINDENTGEN }
    { DECIMAL 4}
    { NAMEWIDTH 30 }
    { ROWREPEAT }
    { TABDELIMIT }
    {MISSINGTEXT "-" }
    <PAGE ("Scenario", "Resource", "Facility" ,"SSSS", "Activity", "Version", "Charges")
    "Budget"
    "Resource"
    "Facility"
    "SSSS"
    "Activity"
    "Version"
    "Charges"
    <COLUMN ("Year","Period")
    "FY11"
    "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
    <ROW ("Account", "CCCC")
    <LINK (<DESCENDANTS ("ACCOUNT") AND <LEV("ACCOUNT",0))
    <LINK (<DESCENDANTS ("RT9_CCCC") AND <LEV("CCCC",0))
    Here you may want to change teh combination in the Page dimensions for eg -
    I know for Scenario you want Budget
    But for Version should it be "Version" or may be "Working" Or "Final" or any other version dimension member ...?
    Same way modify the dimension memebres for other dimensions.
    Regards
    Edited by: Rosi on Aug 24, 2009 10:01 AM
    Edited by: Rosi on Aug 24, 2009 10:02 AM

  • Report Script Help Needed

    Hi,
    I have not written one in years and am having trouble with a fairly simple one (I think). Was wondering if you could take a look. Anyways we have 11 dimensions which may make this impossible due to performance. I basically need a report script to perform a data extract. Data requirements for each dimension would be:
    Scenario: Budget
    Version: Final
    CCCC: Tot_CCCC (Rollup)
    SCCC: Tot_SCCC (Rollup)
    Charge_Type: Charge_Type_Total (Rollup)
    Resource: NU_RESC (Rollup)
    SAU_CAU_Facility: Zero level members of "NU_Consolidated"
    Account: Zero level members of "TOTCO_FERC"
    Activity: Zero level members of "NU_Actv"
    Years: Children of "YEARS"
    Periods: Jan to Dec only
    Report format would suppress the PAGE thus Budget and Final would not appear.
    Was also hoping to somehow suppress CCCC, SCCC, Charge_Type and Resource(Not sure if possible).
    Thus format would look something like this tab delimited:
    Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
    SAU_CAU_Facility Account Activity Year 100 200 100 100 010 100 200 300 100 100 100 100
    Here is what I have so far. I have not been able to get it to return any results even though I have loaded one row of fake data. Does anything jump out at you as to what I'm doing wrong? Appreciate any help you may have as I'm really stuck as it's been years since I have tried this.
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    // This report script extracts data from NUMaster
    <SUPSHARE
    {DECIMAL 4}
    {NAMEWIDTH 25}
    {SUPCOMMAS}
    {SUPBRACKETS}
    {SUPPAGEHEADING}
    {NOINDENTGEN}
    {SUPMISSINGROWS}
    {SUPZEROROWS}
    {TABDELIMIT}
    {SUPFEED}
    {ROWREPEAT}
    <PAGE ("SCENARIO", "VERSION")
    "BUDGET" "FINAL"
    <COLUMN ("PERIOD")
    "JAN"
    "FEB"
    "MAR"
    "APR"
    "MAY"
    "JUN"
    "JUL"
    "AUG"
    "SEP"
    "OCT"
    "NOV"
    "DEC"
    <ROW ("RESOURCE_LOCATION", "SCCC", "CCCC", "VERSION", "CHARGE_TYPE", "SCENARIO", "SAU_CAU_FACILITY", "ACCOUNT", "ACTIVITY", "YEARS")
    <DIMBOTTOM "SAU_CAU_Facility"
    <DIMBOTTOM "ACCOUNT"
    <DIMBOTTOM "ACTIVITY"
    <DIMBOTTOM "YEARS"
    "TOT_CCCC"
    "TOT_SCCC"
    "CHARGE_TYPE_TOTAL"
    "NU_RESC"
    // Limits the members within the specified dimensions to the correct zero level members of the specified rollup
    <LINK (<DESCENDANTS ("NU_CONSOLIDATED") AND <LEV("SAU_CAU_Facility",0))
    <LINK (<DESCENDANTS ("TOTCO_FERC") AND <LEV("ACCOUNT",0))
    <LINK (<DESCENDANTS ("NU_Actv") AND <LEV("ACTIVITY",0))
    Thanks,
    SAm

    One thing that may help - it looks like you're using both <DIMBOTTOM and <LINK for three of your dimensions.
    <DIMBOTTOM "SAU_CAU_Facility"
    <DIMBOTTOM "ACCOUNT"
    <DIMBOTTOM "ACTIVITY"
    You should just need the <LINK and not the <DIMBOTTOM. <DIMBOTTOM's can really kill report script performance.
    Whenever I do these, I try to start small, and then open the report script up to more and more members to see what's affecting performance. I'd start with one year, one facility, one activity, one account, etc. Then slowly add in the full member specifications you want.
    Hope this helps,
    - Jake

  • Essbase Report Script Help - Restrict

    Hi folks,
    Problem : We are building a cube to perform tier/stage based allocations.
    I have to generate a report script that displays balances of each cost center(row), for each tier (coloumn).
    but i have to restrict the data strictly to <0 or negetive balances for all coloumns
    I have used
    <RESTRICT (@DataCol(1) < 0 )
    to restrict for coloumn one, but when i tried to repeat this for coloumn 2, the script gives me a syntax error that i cant use restrict more than once. Is there a way around it
    Thank you in advance .

    restrict is limited to a single data column. It would not make sense to restrict on multiple columns. think about the implication if you could. what you might consider is have a total column and restrict on it.

  • Report script. no proper response .....help required

    hi
    in my report script have i USD and INR
    when i run the script i get
    USD
    INR
    USD
    INR
    INR
    but isit possible to have USD INR separately in another column?
    cheers

    i tried like this
    <row(year,account period.... but i dint mention no currency)
    <coloum (SGD,USD)
    but i dint get the format which i was loooking at infact i cant even c the currency coloumn even !!

  • Report script taking too long to export data

    Hello guys,
    I have a report script to export data out of a BSO cube. The cube is 200GB in size. But the exported text file is only 10MB. It takes around 40 mins to export this file.
    I have exported data of this size in less than a minute from other DBs. But this one is taking way too long for me.
    I also have a calc script for the same export but that too is taking 20 mins which is not reasonable for a 10MB export.
    Any idea why a report script could take this long? Is it due to huge size of database? Or is there a way to optimize the report script?
    Any help would be appreciated.
    Thanks

    Thanks for the input guys.
    My DATAEXPORT is taking half the time than my report script export. So yeah it is much faster but still not reasonable(20 mins for one month data) compared to other DBs that are exported very quick.
    In my calc I am just FIXING on level 0 members for most of the dimensions against the specific period, year and scenario. I have checked the conditions for an optimal report script, I think mine is just fine.
    The outline has like 15 dimensions in it and only two of them are dense. Do you think the reason might be the huge size of DB along with too many sparse Dims?
    I appreciate your help on this.
    Thanks

  • Report script taking very long time to export in ASO

    Hi All,
    My report script is taking very long time to execute and finally a message appears as timed out.
    I'm working on ASO Cubes and there are 14 dimensions for which i need to export all data for all the dimensions for only one version.
    The data is very huge and the member count in each dimension is also huge, so which is making me difficult to export the data.
    Any suggestions??
    Thanks

    Here is a link that addresses several ways to optimize your report script. I utilize report scripts for Level 0 exports in an ASO environment as well, however the majority of our dimemsions are attribute dimensions.
    These are the most effective solutions we have implemented to improve our exports via report scripts:
    1. Make sure your report script is written in the order of how the Report Extractor retrieves data.
    2. Supressing Zero and Missing Data
    3. We use the LINK command within reports for some dimensions that are really big and pull at Level 0
    4. Using Symmetric reports.
    5. Breakout the exports in multiple reports.
    However, you may also consider some additional solutions outlined in this link:
    1. The MDX optimizing commands
    2. Back end system settings
    http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/drpoptim.htm
    I hope this helps. Maybe posting your report script would also help users to provide feedback.
    Thanks
    Edited by: ronnie on Jul 14, 2011 9:25 AM
    Edited by: ronnie on Jul 14, 2011 9:53 AM

  • Report Scripts Issue

    Hello,
    I try to write the report script but cannot find out how to avoide this space-"movement". Is it possible to adjust this with some command? In the manual all the scripts look fine, properly aligned and centered. Cant get that in console. WIDTH, NAMESCOL could not help me. TABDELIMIT supresses many other formatting properties.
    Example is below, with a row value 615, which travels from the center of each column.
    Thank you
    Ole
                                0                             0                             0                             0                             0  
                                0                             0                             0                             0                             0 
                                0                             0                             0                             0                             0 
                                0                             0                             0                             0                             0  
                                0                             0                             0                             0                             0  
                                0                             0                             0                             0                             0  
                                0                             0                             0                             0                             0 
                                0                             0                             0                             0                             0 
                                0                             0                             0                             0                             0 
                              615                           615                           615                           615                           615  
                                0                             0                             0                             0                             0 
                                0                             0                             0                             0                             0 
                                0                             0                             0                             0                             0 
                                0                             0                             0                             0                             0 
                                0                             0                             0                             0                             0 
                                0                             0                             0                             0                             0

    Hi
    it didn't really helped. Let us take a look at the sample.basic. I have the same problems:
    Script:
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    <PAGE (Product, Measures)
    <COLUMN (Scenario, Year)
    Actual
    <ICHILDREN Qtr1
    <ROW (Market)
    <IDESCENDANTS East
    Output:
                           Product Measures Actual 
                          Jan      Feb      Mar     Qtr1 
                     ======== ======== ======== ======== 
    New York              512      601      543    1,656 
    Massachusetts         519      498      515    1,532 
    Florida               336      361      373    1,070 
    Connecticut           321      309      290      920 
    New Hampshire          44       74       84      202 
      East              1,732    1,843    1,805    5,380 
    I think this script language is some tricky...cant understand well in short time. But we need this script to generate an output for a matrix printer.
    Ole
    Edited by: Ole on 14.09.2011 18:28

Maybe you are looking for

  • Using Keynote with host's LCDs

    I make my living as a presenter. Always worked in PowerPoint. I end up using many different LCD projectors, but have gotten used to connecting to my PC. Just bought a MacBook to use transition to Keynote and I'm wondering what issues I should expect

  • I updated to Firefox 7 and now the scrollwheel on my touchpad doesn't work. Have tried updating my device driver, and restarting with add ons disabled. Please help!

    OS- Windows 7 Upgraded from Firefox 3. I tried updating to FF 4 a while ago and had the same problem, so I went back to 3. Decided it was time to upgrade and the problem recurred. Please help!

  • BW as Datasource in CRM Segmentation Process

    Hello, We have created some reports in BW to use as Datasource in Segmentation in CRM. In order to access these reports in BW while creating DataSource with origin type BW, we need to create a new RFC destination with a BW Dialog user in the RFC. Doe

  • Error loading Weblogic server

    I have now seen 3 messages about other users encountering the following error message on Weblogic startup: <Emergency> <WebLogicServer> <Unable to create a server socket for port: 7002. java.net.BindException: Address in use: JVM_Bind perhaps another

  • How to create a weighted average?

    Hi, I am trying to create a grade book spreadsheet. The children will score a level from 1 - 5 in each subject. I am however running into a problem as far as one foreign language is concerned. Here - each strand of the subject (oracy, reading and wri