Report script with attribute members

<BR>In a report script, is there a way to output the attribute members associated with a base mbr. For example, the base member I'm interested in is item codes which is in a sparse dimension with 500k members. Each code has been tagged with 5 attribute members of buyer, warehouse, vendor, product line, and date of last receipt. Desired output is:<BR><BR>Item Code, Buyer, warehouse, vendor, product, and date of last receipt. <BR><BR>Right now I don't care about data at any intersections, rather I just want to output the various attributes associated with each item code. I tried doing dimbottom on items, buyers, warehouse, vendor, etc, but as expected the report would not run. <BR><BR>Thanks in advance for any suggestions.

<p>Maybe you can use the Outline Extractor, you can download itsomewhere on this website...</p>

Similar Messages

  • Report script. with pipe delimited?

    hi
    when i create script to extract some selective data with tab delimited it was ok
    but how abt pipe delimited isit possible ?
    i tried checking in oracle technical help but no use
    for example
    Account | Year | Period | instead of Account Year Period ( present script)
    cheers

    i really appreciate ur help glenn
    but i have this kind of issue
    {Tabdelimited Rowrepeat no indentgen outmbrnames
    supemptyrows supmissingrows supfeed sup commas supheading}
    { decimal 8 } {indentGen -5}
    <row("year","period","scenario","Account".....blah blah
    and i get output like this
    jan FY09 Actual SG cust1
    jan FY09 Actual UK
    jan FY09 Actual IND
    But iam looking for this
    JKSG | 1 | FY09 | Actual | SG
    JKUK | 2 | FY09 | Actual | UK
    JKIND | 3 | Fy09 | Actual | IND
    Tab delimited = pipe delimited
    here i want to join Jk with calculating legal entity but what i wonder is Jk is not present in OUtline how can i keep in <ROW(....)
    Can possible?
    Edited by: user8800516 on Mar 9, 2010 12:02 AM

  • Interactive Reporting Scripting with Picture Object

    I'm using CreateShape(bqShapeType, [sectionName]) to dynamically create some simple graphics on a report. I've created simple shapes and lines fine. But I'm at a loss when creating new picture objects (which is a shapetype bqPicture). I can create it fine, but I have not been able to find the property to set to the image file or resource that I want to use. I belive I've inspected all properties and methods of the picture object and there doesn't seem to be one for setting the actual image to use. I find this really odd! I looked at all the following properties and methods.
    Picture Object
    - Methods - OnClick
    - Properties - Alignment, Comments, Locked, Name, Text, Type, VerticalAlignment, Visible
    - UserValues - Methods: Add, Item, RemoveAll, Properties: Count
    - Line - Properties: Color, DashStyle, Width
    - Fill - Properties: Color, Pattern
    - Placement- Methods: Modify, Properties: Height, Width, XOffset, YOffset

    Unfortunately, there is no way to programmatically replace picture in the dashboard. If you need to dynamically change some picture then the common approach is to add several pictures one upon another and hide/show the picture you need. 'Visible' property is used in this case.
    However the replacement is possible for report pictures, see the 'FilePath' property for details (dashboard pictures lack this property).
    This problem is solved in the upcoming release. It will contain a full featured api to manage the centralized image storage (aka Resource Manager, Tools -> Resource Manager). Also, FilePath property will be added to dashboard picture property list.
    Hope this information will help you.

  • 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

  • Report Script is Failing while Zooming in 55K+ member dimension

    Hi,
    we have a ASO cube and there is one dimension called PART NUMBER...which is having nearly 56,000 members...we wrote a report script to zoom in all the members under PART NUMBER along with other dimensions..
    the problem we are facing is when we execute the script by removing the line
    &lt;DIMBOTTOM "Part Number"; the report script is executing fine and the final result includes 5200 rows, but when we try to execute the report script with &lt;DIMBOTTOM "Part Number" , its getting failed.
    any idea why its happening? is any limit on the number of records which the report script can pull? or is it related to any memory issues? do we need to change any configuration file settings???
    Any help is much appreciated...
    Thanks,
    Sunil

    Thanks Doug for your valuable input.
    i tried with the options 2 and 3, but no joy :-(
    i am not very good in option 1, so can you pls help me to show how to do that? below is my script.
    //ESS_LOCALE English_UnitedStates.MS1252@Binary
    {SUPPAGEHEADING}
    {SUPCOLHEADING}
    {SUPZEROROWS}
    {SUPEMPTYROWS}
    { NOINDENTGEN }
    { SUPMISSINGROWS }
    {SUPFEED}
    {SUPHEADING}
    {SUPBRACKETS}
    {TABDELIMIT}
    {ROWREPEAT}
    {MISSINGTEXT "0"}
    {DECIMAL 2}
    <SUPSHARE
    <Col (Period,Year,Entity)
    <iDESCENDANTS "YTD"
    <iDESCENDANTS "2007"
    <iDESCENDANTS "L-200112"
    <ROW (Account,"Revenue Segment",Platform,Customer,"Part Number")
    <iDESCENDANTS "Total Revenue" ;
    <iDESCENDANTS "Total Cos";
    <iDESCENDANTS "Qty";
    <DIMBOTTOM "Revenue Segment";
    <DIMBOTTOM "Platform";
    <DIMBOTTOM "Customer";
    <DIMBOTTOM "Part Number";
    //Run
    !

  • Comma delimited report script

    Hi All,
    Is there an "unofficial" way to export a report script with comma as the delimiter?
    We are trying to load data from Analytic Services 9.2 into Enterprise and need to automate the process. However this is proving difficult since the only delimiter seems to be a tab and we need a comma delimited file.
    Thanks for your help.
    Seb

    Have a read of Re: CSV format file through Report scripts.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Report script to have attributes

    Hi,
    I am developing a report script to extract the base dimension members as well as some of the attributes in the columns, followed by the last data column. I have the product dimension with 2 attributes (Brand and Origin).
    However, when I put all the dimensions, including the 2 attribute dimensions in <Row section, I always get the product on column, and I also have the "attribute calculation" in the first column in the output file. Below is my report script:
    { TABDELIMIT  ROWREPEAT  NOINDENTGEN OUTMBRNAMES
    SUPEMPTYROWS SUPMISSINGROWS SUPFEED SUPCOMMAS}
    { decimal 8 } { IndentGen -5 }
    <ROW("Customer","Product", "Scenarios","Company","Years","Period","Measures", "Brand", "Origin")
    <LINK (<CHILDREN("Customer"))
    <LINK (<CHILDREN("Product"))
    "Actual"
    "ABC"
    "2010"
    "Jan"
    "Sales Quantity"
    "XYZ"
    "US" "Europe"
    The output file is as below:
    P1 P2
    Attribute Calculations     Customer1     Actuals     ABC     2010     Jan     Sales Quantity XYZ US 100 200
    I would like to have the output file as below:
    P1     Customer1     Actuals     ABC     2010     Jan     Sales Quantity XYZ US 100
    P1     Customer1     Actuals     ABC     2010     Jan     Sales Quantity XYZ US 200
    Here XYZ and US are attributes of products P1 and P2.
    Thanks in advance for any suggestion.

    Glenn,
    Thanks for the reply. There is no problem from the os side. It can hadle big files. The script fails with network error cannot send data. .abnormal exit from report writer etc. The nohup.out file says insufficient disk space. .however there is enough disk space. Just wondering if something is leading the 32 bit essbase into thinkin that there isnt enough disk space. The size of the file generated always stops at the value equivalent to the largest positive signed int and then the script fails.
    Any input is much appreciated.
    Thanks

  • Creating a range with Substitution Variables for Report Script

    Is it possible to create a range with substituion varables for use in a report script. For example instead of listing "Jan" "Feb" "Mar" "Apr" in the report script can I use a sub varaible like Jan:Apr that will list them all out?

    while I have not had luck with ranges in report scripts, others have. You could have a substitution variable the is "Jun" "Jul " "Aug" or whatever you want the members to be. and it will replace jusr fine

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

  • Removing Prefix of members/alias in report Scripts

    I need to remove the pre fixes of all members/alias of a couple of dimensions through report script.( no need to modify the outline)
    For example Costcenters start with C_ , which needs to be removed when the report is created( I know everybody is going to ask why it's not used already in the alias, but there was a requirement for the prefix)
    I am using {RENAME } for specific members, but there are quite a few members with the prefix and I want to know if there's a way to remove them through report scripts
    Thanks.

    Another alternative frequently used, especially with report scripts is the use of alternate alias tables. There is the option to add up to, last time I checked, up to 8 alias tables. Most functionality is based on the "Default" alias table, but Report Scripts allows you select an alternate alias table by using "<OUTALTSELECT" by dimension. If you set the members aliases in the alternate table "Real_Cost_Center", then you could do...
    <OUTALTSELECT ("Real_Cost_Center")
    As a bonus, the usage of this alternate alias table means you can actually load data using the member name or any one of the aliases across all alias tables. The main "downfall" is the uniqueness requirement still applies to the alternate alias tables. Alternate alias tables are also frequently used when using any of the BI suite, where a given view/report/etc would benefit from short names.
    Just another alternative...
    Good Luck!
    Kevin

  • ??? Sign flip on Attribute using report script ???

    We are using an Essbase report script to extract data that we then process with HAL. Since the system we are loading into uses natural balances, we need to flip the sign on a revenue accounts (have 'Revenue' attribute in Essbase).Is there a way to do the sign flip on data based on the value of an attribute? I could do it once the data is back in HAL, but it would be easier if we could do it on the data extract.Thanks,TomB

    I'm using example 4.
    This is what I have: 
    $UpdateUserAttributesArray = 'sn','givenName','initials','displayName','info','mail','departmentNumber','department','telephoneNumber','ipPhone','title','physicalDeliveryOfficeName','employeeType'
    Function StudentNameChange {
        $Attributes=BuildUserTable $UpdateUserAttributesArray
        Set-ADuser $User.sAMAccountName -Replace @{mail="$User.mail";targetAddress="$User.mail";proxyAddressess="SMTP:$User.mail";sn="$User.sn";cn="$User.sn + $User.givename"}
    $UpdateUserAttributesArray sets the value for the import file.
    StudentNameChange should set the updated value has needed.
    The script runs but no settings are changed.
    Set-AdUser $User.sAMAccountName  -mail $User.mail -surname $User.sn
    Like that.,
    Replace is only for optional attribute.
    Function does not specifi $user so that may also be missing.
    I think you need to spend some time learning the basics of PowerShell. It looks like you are just gluing things together thazt you have found with no understranding of how any of the bits work.
    Try just setting one user at a command prompt until you see how the CmdLet and PowerShell work.  Post single simple questions as you try each parameter.
    # build a test user object
    $user New-Object PsObject@{
    SamAccoutnName='somename'
    Mail='[email protected]'
    SN='lastname'
    GivenName='John'
    proxyAddresses='...<list of addresses>'
    #start like this and add items until you understand what is working.
    Get-AdUser $user.SamAccountName |
    Set-AdUser -Surname $user.sn -GivenName $user .GivenName -Replace @{Mail='$($user.Mail'}
    #use Rename-Object to change CN.
    You need to learn the simple bits before you try to do grand things.
    ¯\_(ツ)_/¯

  • 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

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

  • Issue with the supshare Report Script Command

    Hi All,
    I have created a report script to extract the Level0 data for the members of the accounts dimension and It does work fine and the performance is also good. However I have a challenge here. The shared members are repeating and therefore I used “<supshare” command in order to avoid the repetition. It does work, however there is an issue here.
    For eg, I am trying to retrieve the data as below and they are level0 members. The NetExpense is a “Level0” member and also a “shared member”, However the original “Net Expense” comes under Level3 and since I have used <Supshare and asked to retrieve only Lev0 accounts it is therefore ignoring the “Net Expenses” for all the Dept and product intersections. Hope I am clear and not confused? Is there anything i could change or add to retrieve the correct data.
    Would anyone be able to help me on this issue.
    <supshare “Lev0 Accounts”
    Data Retrieval Ex : DeptA  NetExpense No Product  1200
    Thanks

    Thanks Glen. I tried the below link statement. This is an example. My accounts dimension has 8 childern (A to H) out of which 4 are level 0 members ("B"to "E") and the remaining have so many members underneath. The member"H" is where my confusion starts, it has 4 children (Ex 1,2,3,4) and all are shared members. Here i need not worry about children 2 and 3 since they have no data. Children 4 is a level 0 and a shared member, however the Children 4 main location is also located at Level 0. Therefore when i use supshare this appears only once. one problem is solved.
    Now coming to Children 1, this is a Level 0 for parent "H", however this is also a child of "A" and this by itself has levels underneath. So this Sup share is not allowing me to retrieve the data Child 1 though it is level 0 and since it is shared member.
    This case how do i modify the report in such a way i get all level 0 data of my accounts and suppress shared members. Hope i have not condused...
    <ROW (Accounts)
    {ROWREPEAT}
    <LINK(<DESCENDANT ("A", "Lev0,Accounts"))
    "B", "C", "D", "E"
    <LINK(<DESCENDANT ("F", "Lev0,Accounts"))
    <LINK(<DESCENDANT ("G", "Lev0,Accounts"))
    <LINK(<DESCENDANT ("H", "Lev0,Accounts"))

Maybe you are looking for

  • Clob Parsing Error

    (Environment: Oracle 8.1.5.0.0 on Solaris) Problem: getting an error while parsing a Clob. "ORA-20100: Error occurred while parsing: Start of root element expected" Code: lv_contentDoc := Xml.PARSE(lv_myClob); where 1) lv_myClob contains the XML docu

  • How to adjust the position of an image in a full screen slideshow

    Hi I'am using a full screen slideshow composition on my page and muse is not letting me adjust the position of the image to the top, middle or bottom of the frame under the fill option when the image is selected in the slideshow. I also find it very

  • Problem with compiling STL using program with Forte C++ 6 update 1 in compat mode

    I try to compile SGI STL using program with Forte C++ 6 update 1 and I get an errror ld -L/opt/SUNWspro/WS6U1/lib -liostream test.o -o test Undefined first referenced symbol in file __0oNIostream_initctv test.o __0oNIostream_initdtv test.o Iostream_i

  • TABLE parameter in FUnction module

    Hi Experts Iam modifying a FM, i have 10 fileds in export parameters, filed1 filed2 filed3 filed 10. as per the requirement i need to display the same parameters in table form suppose the rows of table is like filed1filed2filed3 filed4filed5filed6 fi

  • Is it possible  Hide a column in BPS layout "WEB" ?

    Hi, Is it possible to hide a column in a "WEB" BPS layout  ? Have you an example to hide a column in web thanks to Java and where insert it ?