Report Script Query

Hello,
I have a attibute dimension which has 10 different level 0 member. I am trying to write a report script which gives me the name of the attribute rather then the name of the base dimension members that its is asociated with. So as of n
ow when i run the report it gives me a list of all the members from base dimension to which those attributes are attached. I need to know which attribute is assigned to what member?? How can i do this via report script?
Please advise!

Hello Glenn-
Thanks for ur reply here is the script:
<SETUP <SYM <SUPSHARE <Sparse
{NoIndentGen} { SUPFEED } {SupZeroRows } { SUPEMPTYROWS } { SupPageHeading }
{ SupBrackets  } {ROWREPEAT} { TABDELIMIT  } { decimal 0 } { SUPMISSINGROWS  }
<END
// Page Members
<PAGE ("Accounts","sparse1","sparse2","Currency","Version","sparse3","HSP_Rates")
"Net Revenue"
"M1"
"E1"
"USD"
"Final"
"A1"
"HSP_InputValue"
// Column Members
<COLUMN ("Time Periods")
// Selection rules and output options for dimension: Time Periods
<Link ((<LEV("", "Lev0,Time Periods")) AND ( <IDESC("YearTotal")))
// Row Members
<ROW ("Entity","Scenario","Years","P1")
// Selection rules and output options for dimension: Entities
<Link ((<LEV("", "Lev0,Entity")) AND ( <IDESC("R1")))
"Actual"
FY09
<Link ((<LEV("", "Lev0,P1")) AND (<Attribute("Types")))
// End of Report
I want to extract the memeber of the attribute dimension "Types" the base dimension for which is P1.
Thanks!

Similar Messages

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

    Hi Gurus,
    The issue is I created two report scripts one using Query designer and the other manually.
    I'm creating a report script to export current period data against ASO.
    I know the optimization basics against BSO.
    Placing last dim fisrt and all!!
    coming to the ASO......
    my Report script is hanging at the time of validation itself!!!
    it is showing when there are some errors in the report script.
    I don't see any thing but EAS hanging when i thought that they were no errors.
    the idea is to export the level0 data and relaod with #mi values to load new set of data for the current period.
    What are the steps to follow to optimize it in ASO.
    I know we need to increase agg chache, retrieval buffer, sort retrieval..!!
    what next!!
    I know we can also use slices to get rid of previous data (deleting old slice) and creating new one.
    but currently we are implementing this way!!
    suggestions please....
    Thanks,
    Jeeth
    Edited by: Jithendra on Mar 15, 2011 10:59 AM

    Hi Robb,
    I'm in ASO!! so calculations are not possible.
    here is one more question!!! may be I need to post it seperately. (but I don't want my questions unanswered :) )!!
    I tried to do level 0 export from ASO and it failed telling that the member combinations exceeded 2^64 (this is part of our cube!! want it in column format).
    As per my knowledge, the option I have are.
    1. chop the report script in to smaller report scripts and run it (may be I need to chop like 100 to 1000 times not sure!!)
    2. will MDX query effectively handles the situation (worth trying it)??
    3. is the CDF export meant for ASO?
    4. StarAnalytics (is this the better option) ??
    Pls suggest!!
    I will now start writing MDX!!....will all let you know!!
    BTW the hanging is because ...I forgot to use logical operator after LINK function... after fixing that the report got validated.
    Thanks,
    Jeeth
    Edited by: Jithendra on Mar 17, 2011 11:20 PM
    Edited by: Jithendra on Mar 18, 2011 11:16 AM

  • How to maximize report script performance

    I have a report script that takes a while to run. Basically the script is zooming into 3 sparse dimensions and 1 dense dimension. <BR><BR><BR>The dense dimension has 732 stored members.<BR><BR>The sparse dimensions have 92, 280 and 576 members respectively. <BR><BR>when I did the zoom bottom in excel, it only took me about 4 minutes total to zoom in through the whole thing. <BR><BR>But when I did it in the report script, it ran for about half an hour and then I had to killed it. <BR><BR>I tried to change the order of the rows in the report script to match the zoom order in my excel retrieval, but that didn't help. <BR><BR>i remember from the bootcamp that the report script zoom in order should follow the hourglass or something. i can't remember exactly which dimension should go first though, was it the biggest dense and then the smallest sparse and then the biggest sparse dimensions? <BR><BR>here is how the script looks like:<BR><BR>{Rowrepeat}<BR>{SUPFEED}<BR>{Pagelength 10000}<BR>{Supemptyrows}<BR>{Supzerorows}<BR>{supcolheading}<BR><BR><ROW ("REV AND COST CENTERS", ENTITY, ACCOUNTS, ALLOCATION)<BR><BR><LINK (<descendants ("local currency entities") or <descendants (historical) <BR>or <children(celerops) OR <CHILDREN (CRAOPS) OR <DESC (ONLINEOPS) OR <DESC (PARACELOPS) OR <DESC (DSCIEOPS) OR <DESC (DSERVOPS) OR <DESC (EXCAPOPS) or <CHILDREN (GENERAL) OR AND <DIMBOT (ENTITY))<BR><BR><LINK (<descendants (statistical) or <descendants ("net income") or <DESCendants ("pre-assessment expenses") AND <LEV(Accounts,0))<BR><BR><LINK (<DESC("SGA") OR <DESC ("R&D AND ENG.") OR <DESC ("OTHER CC") AND <LEV ("REV AND COST CENTERS",0))<BR><LINK (<descendants ("direct") or <descendants ("indirect") or <descendants ("manual indirect") <BR>or <children ("allocation") and <lev(allocation,0))<BR><BR>!<BR><BR>any suggestions would be appreciated. <BR><BR>thx.

    <p>For improving the retreival performance put the most densedimension on top followed by least dense dimension members,followedby most queried sparse dimension members followed by least sparsedimension members.....For improving calcualtion performance theorderof sparse dimension members changes while that of densedimension members remain same.</p><p> </p><p>Other thing which you can do is to increase the size ofretreival buffer.</p>

  • Assist with my SQL Reporting Script

    I have started writing a HTML SQL reporting script based off of Jeffrey Hicks tutorial
    Here is my entire script:
    ###################START SCRIPT#####################################
    #requires -version 3.0
    #Create a SQL Server report of said SQL environment
    [cmdletbinding()]
    Param(
    [string]$computername=$env:computername,
    [string]$path="$env:temp\sqlrpt.htm"
    #define an empty array to hold all of the HTML fragments
    #the fragments will break apart each HTML section in the final output so that you can out whatever information you like
    $fragments=@()
    #save current location so I can set it back after importing SQL module
    $curr = get-location
    #import the SQL module
    Import-Module SQLPS -DisableNameChecking
    #change the location back
    set-location $curr
    #get uptime
    Write-Verbose "Getting SQL Server uptime"
    $starttime = Invoke-Sqlcmd -Query 'SELECT sqlserver_start_time AS StartTime FROM sys.dm_os_sys_info' -ServerInstance $computername -database master
    $version = Invoke-Sqlcmd "Select @@version AS Version"
    #create an object
    $uptime = New-Object -TypeName PSObject -Property @{
     StartTime = $starttime.Item(0)
     Uptime = (Get-Date)-$starttime.Item(0)
     Version = $version.Item(0).replace("`n","|")
    $tmp = $uptime | ConvertTo-HTML -fragment -AS List
    #replace "|" place holder with <br>"
    $fragments += $tmp.replace("|","<br>")
    #SQL Host Information
    $smo = new-object ('Microsoft.SqlServer.Management.Smo.Server') $computername
    $fragments += "<h3>SQL Host Information Details</h3>"
    $fragments += $smo | select ComputerNamePhysicalNetBios,Name, Processors, ProcessorUsage, PhysicalMemory, PhysicalMemoryUsageInKB, MasterDBPath, BackupDirectory | ConvertTo-HTML -Fragment
    #Get Status of all SQL related Services
    Write-Verbose "Querying services"
    $services = Get-Service -DisplayName *SQL* -ComputerName $computername |
    Select Name,Displayname,Status
    $fragments += "<h3>SQL Services</h3>"
    $fragments += $services | ConvertTo-HTML -Fragment
    #get databases
    #path to databases
    Write-Verbose "Querying datases"
    $dbpath = "SQLServer:\SQL\Localhost\default\databases"
    $fragments += "<h3>Database Utilization</h3>"
    $fragments += dir $dbpath | Select Name,Size,DataSpaceUsage,SpaceAvailable,
    @{Name="PercentFree";Expression={ [math]::Round((($_.SpaceAvailable/1kb)/$_.size)*100,2) }} |
    Sort PercentFree | ConvertTo-HTML -fragment
    #get database backup information
    # Create an SMO connection to the instance
    $smo = new-object ('Microsoft.SqlServer.Management.Smo.Server') $computername
    $dbbackups = $smo.Databases
    $fragments += "<h3>Last Database Backup Information</h3>"
    $fragments += $dbbackups | select Name,LastBackupDate, LastLogBackupDate | ConvertTo-HTML -Fragment
    #Login & Service Account Information#SQL Host Information
    $smo = new-object ('Microsoft.SqlServer.Management.Smo.Server') $computername
    $fragments += "<h3>Login & Service Account Information</h3>"
    $fragments += $smo | select ServiceAccount, Logins | ConvertTo-HTML -Fragment
    #volume usage
    Write-Verbose "Querying system volumes"
    $data = Get-CimInstance win32_volume -filter "drivetype=3" -ComputerName $computername
    $drives = foreach ($item in $data) {
        $prophash = [ordered]@{
        Drive = $item.DriveLetter
        Volume = $item.DeviceID
        Compressed = $item.Compressed
        SizeGB = $item.capacity/1GB -as [int]
        FreeGB = "{0:N4}" -f ($item.Freespace/1GB )
        PercentFree = [math]::Round((($item.Freespace/$item.capacity) * 100),2)
        #create a new object from the property hash
        New-Object PSObject -Property $prophash
    [xml]$html = $drives | ConvertTo-Html -fragment
    #check each row, skipping the TH header row
    for ($i=1;$i -le $html.table.tr.count-1;$i++) {
      $class = $html.CreateAttribute("class")
      #check the value of the last column and assign a class to the row
      if (($html.table.tr[$i].td[-1] -as [int]) -le 25) {                                         
        $class.value = "danger" 
        $html.table.tr[$i].Attributes.Append($class) | Out-Null
      elseif (($html.table.tr[$i].td[-1] -as [int]) -le 35) {                                              
        $class.value = "warn"   
        $html.table.tr[$i].Attributes.Append($class) | Out-Null
    $fragments += "<h3>Volume Utilization</h3>"
    $fragments += $html.innerxml
    #define the HTML style
    Write-Verbose "preparing report"
    $imagefile = "c:\scripts\db.png"
    $ImageBits = [Convert]::ToBase64String((Get-Content $imagefile -Encoding Byte))
    $ImageHTML = "<img src=data:image/png;base64,$($ImageBits) alt='db utilization'/>"
    $head = @"
    <style>
    body { background-color:#FAFAFA;
           font-family:Arial;
           font-size:12pt; }
    td, th { border:1px solid black;
             border-collapse:collapse; }
    th { color:white;
         background-color:black; }
    table, tr, td, th { padding: 2px; margin: 0px }
    tr:nth-child(odd) {background-color: lightgray}
    table { margin-left:50px; }
    img
    float:left;
    margin: 0px 25px;
    .danger {background-color: red}
    .warn {background-color: yellow}
    </style>
    $imagehtml
    <br><br><br>
    <H2>SQL Server Report: $Computername</H2>
    <br>
    #create the HTML document
    ConvertTo-HTML -Head $head -Body $fragments -PostContent "<i>report generated: $(Get-Date)</i>" |
    Out-File -FilePath $path -Encoding ascii
    Write-Verbose "Opening report"
    Invoke-Item $path
    ######################END SCRIPT##################################
    I have 2 questions for help in regards to the above script:
    1)  For the Login and Service Account portion I can't get my output to show up properly.  Here is the snip from the script:
    #Login & Service Account Information#SQL Host Information
    $smo = new-object ('Microsoft.SqlServer.Management.Smo.Server') $computername
    $fragments += "<h3>Login & Service Account Information</h3>"
    $fragments += $smo | select ServiceAccount, Logins | ConvertTo-HTML -Fragment
    Here is how the output shows for this portion:
    ServiceAccount
    Logins
    domain\svcAcct
                 Microsoft.SqlServer.Management.Smo.LoginCollection
    I would like top have the login information show in the above table of the all the different logins.  When I run the script without HTML for that portion and just output to console it shows the login info as I would expect.
    2)  The 2nd question is, how do I add a variable to the bottom of the script to email the report to said email address.  This is probably simple but can't get my head wrapped around this part.
    Thanks all in advance!

    Thanks AnnaWY, that resolved the portion on how to email the report.  I was also able to utilize the following code which does the same thing as well:
    #Send an email with the contents of the report
    $MailBody= Get-Content $path
    $MailSubject= "SQL Server Report"
    $SmtpClient = New-Object system.net.mail.smtpClient
    $SmtpClient.host = "smtp.server.com"
    $MailMessage = New-Object system.net.mail.mailmessage
    $MailMessage.from = "[email protected]"
    $MailMessage.To.add("[email protected]")
    $MailMessage.Subject = $MailSubject
    $MailMessage.IsBodyHtml = 1
    $MailMessage.Body = $MailBody
    $SmtpClient.Send($MailMessage)
    I still have not been able to resolve the portion regarding the login/service account information not showing up in the table correctly.  For the time being I have removed it from the environment report and instead included it as a script of its own
    in our Security Auditing process.

  • Report script command to get all Level 0 members of a given member

    Hi,
    Is there any Report script command to get all Level 0 members of a given member (Parent)? (very similar to @RELATIVE (mbrName, 0) in Calc Scripts).
    <DIMBOTTOM gives all the level 0 members in the dimension.
    There is a command called
    <LEAVES mbrName
    This works only for ASO.
    Is there anything similar for BSO?
    Appreciate your thoughts.
    Thanks,
    Ethan.
    Edited by: user11397030 on Dec 15, 2009 11:50 AM
    Edited by: user11397030 on Dec 15, 2009 11:51 AM

    from my blog on report scripts at
    http://glennschwartzbergs-essbase-blog.blogspot.com/2008_07_01_archive.html
    Third, there is a command to stay away from, its DimBottom. [edited] Like @CURRMBR in calc scripts, DimBottom is one of those commands that is very slow. If you use Query designer to create a report, it uses a better way. It uses the link command. In sample.basic to get all level 0 products it uses
    <Link ((<LEV("Product", 0)) AND ( <DESC("Product")))

  • RE:  Essbase Report Scripts

    Hi all
    i really thanks for your support ...
    Here is my question
    I need a Essbase report script which in essence is a basic query where we would say all lev 0 cost centers excluding the some of the rollup points.
    i.e i need to delete some level 0 members using Rule script and we are in 6.5.4 version please help me out in this situation
    Please i really need this script or else please let me know is this possible using report scripts..
    Please ...
    Thanks
    jai
    Edited by: user9314481 on Mar 11, 2010 5:59 AM

    Hi all
    I am not able to find a solution for this issue , please help me out...
    I need a Essbase report script which in essence is a basic query where we would say all lev 0 cost centers excluding the some of the rollup points.
    i.e i need to delete some level 0 members using Rule script because my level 0 members are combination of product 'A ' and Product 'B' but now my users are interested in Product 'B' data and we are in 6.5.4 version please help me out in this situation
    Please i really need this script or else please let me know is this possible using report scripts..

  • Cartesian Product - Report script

    Hi All,
    I am trying to export data for a specific scenario and version using report script.
    I am taking level 0 members of a specific dimension and it is throwing error as follows:
    "The Product of member counts across all dimensions in the query exceeds 2^64"
    I think the cartesian product is beyond the limit value.
    Is there any alternative method to export data of level 0 members for that dimension?
    or is there any command to select only few members from that dimension, so that I can make into two scripts and execute to export data.
    Thanks.
    Regards
    Rav

    "or is there any command to select only few members from that dimension,"
    Take a look at the member selection report script commands. If you have a hierarchies in your dimensions than you can use these to "break up"/more narrowly focus your report script

  • Unable to create report. Query produced too many results

    Hi All,
    Does someone knows how to avoid the message "Unable to create report. Query produced too many results" in Grid Report Type in PerformancePoint 2010. When the mdx query returns large amount of data, this message appears. Is there a way to get all
    the large amount in the grid anyway?
    I have set the data Source query time-out under Central Administration - Manager Service applications - PerformancePoint Service Application - PerformancePoint Service Application Settings at 3600 seconds.
    Here Event Viewer log error at the server:
    1. An exception occurred while running a report.  The following details may help you to diagnose the problem:
    Error Message: Unable to create report. Query produced too many results.
            <br>
            <br>
            Contact the administrator for more details.
    Dashboard Name:
    Dashboard Item name:
    Report Location: {3592a959-7c50-0d1d-9185-361d2bd5428b}
    Request Duration: 6,220.93 ms
    User: INTRANET\spsdshadmin
    Parameters:
    Exception Message: Unable to create report. Query produced too many results.
    Inner Exception Message:
    Stack Trace:    at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
       at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.ExtractReportViewData()
       at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.CreateRenderedView(StringBuilder sd)
       at Microsoft.PerformancePoint.Scorecards.ServerRendering.NavigableControl.RenderControl(HtmlTextWriter writer)
    PerformancePoint Services error code 20604.
    2. Unable to create report. Query produced too many results.
    Microsoft.PerformancePoint.Scorecards.BpmException: Unable to create report. Query produced too many results.
       at Microsoft.PerformancePoint.Scorecards.Server.Analytics.AnalyticQueryManager.ExecuteReport(AnalyticReportState reportState, DataSource dataSource)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportBase(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer, String formattingDimensionName)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
    PerformancePoint Services error code 20605.
    Thanks in advance for your help.

    Hello,
    I would like you to try the following to adjust your readerquotas.
    Change the values of the parameters listed below to a larger value. We recommend that you double the value and then run the query to check whether the issue is resolved. To do this, follow these steps:
    On the SharePoint 2010 server, open the Web.config file. The file is located in the following folder:
    \Program Files\Microsoft Office Servers\14.0\Web Services\PpsMonitoringServer\
    Locate and change the the below values from 8192 to 16384.
    Open the Client.config file. The file is located in the following folder:
    \Program Files\Microsoft Office Servers\14.0\WebClients\PpsMonitoringServer\
    Locate and change the below values from 8192 to 16384.
    After you have made the changes, restart Internet Information Services (IIS) on the SharePoint 2010 server.
    <readerQuotas
    maxStringContentLength="2147483647"
    maxNameTableCharCount="2147483647"
    maxBytesPerRead="2147483647"
    maxArrayLength="2147483647"
                  maxDepth="2147483647"
    />
    Thanks
    Heidi Tr - MSFT
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Heading in report script

    Hi,
    I have a report like that:
                        07     Jan-Jul YTD     R12 Jul
    2009     STO001     31111110     P31-111     34925.50     44631.48     257909.97
    2009     STO001     31111110     P20-111     42.78     364.20     3704.85
    2009     STO001     31111110     P53-111     5044.80     6740.31     44175.52
    2009     STO001     31111110     P115     0.00     0.00     4018.71
    However, I would like to have the header like that:
    Ano     Presidencia     Contas     Produto     07     Jan-Jul YTD     R12 Jul
    2009     STO001     31111110     P31-111     34925.50     44631.48     257909.97
    2009     STO001     31111110     P20-111     42.78     364.20     3704.85
    2009     STO001     31111110     P53-111     5044.80     6740.31     44175.52
    2009     STO001     31111110     P115     0.00     0.00     4018.71
    What can I do to obtain the report?
    See my report script below:
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    { STARTHEADING
    SUPPAGEHEADING
    ENDHEADING }
    <SETUP
    { TabDelimit }
    { decimal 2 }
    { SUPCOMMAS }
    { SUPBRACKETS }
    { NOINDENTGEN }
    <ACCON <SYM <END
    <ROW("Ano","Presidencia" ,"Plano de Contas","Produto" )
    // Column Members
    //{WIDTH 15}
    {MISSINGTEXT "0.00"}
    <COLUMN ( "Período")
    "07"
    "Jan-Jul YTD"
    "R12 Jul"
    // Page Members
    "Actual"
    {SupMissingRows}
    // Row Members
    {ROWREPEAT}
    <DESCENDANTS "Personal Perfil"
    {ROWREPEAT}
    "2009"
    {ROWREPEAT}
    <DESCENDANTS "Prêmios Emitido-"
    {ROWREPEAT}
    <DESCENDANTS "SPCT"
    <DESCENDANTS "STO Escr"
    Thanks

    Essbase reports do not put row headers on (Headers for the dimension members from the <rows command).
    The best I have been able to do in the past was to have a file with the header info I wanted and after the report was created concatinate the header file with the report file using the Dos copy command.

  • Issue with report Script. DECIMAL option not working properly

    Hi All,
    One of my report scripts has the option { decimal n } set. Now I am getting this to work only for account members which has a '%' symbol in the name. For all other accounts, data is being exported as a whole number even though the cube has decimal values. This is an ASO cube. Any thoughts?
    Thanks,
    N

    Here you go,
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    <sym
    {supall}{ROWREPEAT}{tabdelimit}{nameson}{noindentgen}{ SUPCOMMAS }{SUPMISSINGROWS}{ DECIMAL  9}
    <COLUMN (Period)
    July August September October November December January February March April May1 June
    <ROW(Year,Scenario,Version,Currency,Entity,Location,HSP_Rates,Stage,Business_Category,"BD_Responsible","Type_Of_Program","Client",Account)
    //{ OUTALTNAMES }
    &DCCurrFiscalYr
    &CurrScenario
    &CurrVersion
    "HSP_InputValue"
    "USD"
    <LINK(<LEV (Entity,0))
    <LINK(<LEV (Location,0))
    <LINK(<LEV (Stage,0))
    <LINK(<LEV (Business_Category,0))
    <LINK(<LEV (BD_Responsible,0))
    <LINK(<LEV (Type_Of_Program,0))
    <LINK(<LEV ("Client",0))
    "Net_Revenue"
    "552"
    "500"
    "501"
    "503"
    "Contribution"
    "Contribution %"
    "SD_Costs"
    "SD Margin"
    "SD Margin %"
    "Indirect Costs"
    "PBT"
    //"PBT %"
    "Total Tax"
    "PAT"
    //"PAT %"
    "Manpower Total"
    "Billable agents"
    "Total Seats"
    !

  • 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 Using Query

    Hi Gurus,
    In Lead Transaction, Details Tab there is field called Campaign, i req. the table name for that field bec. i have to generate the report using Query?

    Hi Milind,
    Create a new Transport Request.
    Now Go to RSA1->Transport  connections, select your query and drag to the Right hand side.
    Now select all the query elements for that query and click on the Truck (Transport button), It will ask you for the transport Request. Provide the Transport Request Number you have just created.
    Once done, just to be sure, check the Transport requests elements in SE09. Check if all the query elements have been included in the report.
    Now you will be able to modify the query in Query designer. If still not able to, then you must missed some of the query elements. Again check this in Transport Connection.
    Regards,
    Pratap Sone

  • Report Script- Performance Issue

    Hi,
    I ran this report script and it is taking around 2 hours to complete. Is there any possiblity to better tune this script. Please advice me where else can we better tune this.
    Thanks,
    UB.

    ID 581459.1:
    Goal
    How to optimize Hyperion Essbase Report Scripts?
    Solution
    To optimize your Report follow the suggested guidelines below:
    1. Decrease the amount of Dynamic Calcs in your outline. If you have to, make it dynamic calc and store.
    2. Use the <Sparse command at the beginning of the report script.
    3. Use the <Column command for the dense dimensions instead of using the Page command. The order of the dense dimensions in the Column command should
    be the same as the order of the dense dimension in the outline. (Ex. <Column (D1, D2)).
    4. Use the <Row command for the sparse dimensions. The order of the sparse dimensions in the Row command should be in the opposite order of the sparse
    dimension in the outline. (Ex. <Row (S3, S2, S1)). This is commonly called sparse bottom up method.
    5. If the user does not want to use the <Column command for the dense dimensions, then the dense dimensions should be placed at the end of the <Row command.
    (Ex. <Row (S3, S2, S1, D1, D2)).
    6. Do not use the Page command, use the Column command instead.

Maybe you are looking for

  • AP 1140 DHCP Issue

    Hi All I am installing a 3750 switch with integrated controller and 12 x Cisco 1140 AP's. I have configured the 3750 WLC with a management and AP Manager IP address along with 3 WLAN profiles and security settings. I am confident that these are corre

  • Regarding  bapi ( urgent)

    hi w t is   the  difference   b/w   of BAPIMEPOHEADERX,BAPIMEPOHEADER wr can i use   this   BAPIMEPOHEADERX, Regards Spandana

  • Windows XP unable to find any AirPort base stations

    I am new to mac and have just got a macbook that is now connected to the internet wirelessly through an AirPort Extreme 802.11n base station. I am trying to get my old Gateway to connect as well and installed the AirPort Utility on it, but it will no

  • How to revert to older Symbian S3 from Symbian ANN...

    Hi, I downloaded the Symbian Anna and honestly, it's not as great as it's been made out to be! Now I want to revert to the earlier S3 version and am unable to do so! What can be done to regain the old version of the OS? I tried a Restore to factory s

  • ITunes 10.5 Will Not Open, asks to make changes to computer.

    I have not been able to open iTunes for over a month on my PC. The problem started a few days after the 10.5 update. Whenever I try to open iTunes a window comes up and says, "Do you want this program to make changes to your computer?" clicking yes o