Calculate portion of data

Hi all,
I need to ask how to calculate a portion of data from an essbase cube. I have extracted a portion of data from my cube and need to import back and then calculate.
For Example, this is the area that I extracted data from in a report script
<ROW ("Measures", "Time", "Year", "Scenarios", "Version", "Customers", "Products")
//Meaesures
Administrative Promotion "Business Development"
"Royalty Revenue"
//Time
<CHILD Q1 <CHILD Q2 <CHILD Q3 <CHILD Q4
//Year
&CurrYr &NextYr &NextYr1 &NextYr2 &NextYr3 &NextYr4
//Scenarios
Forecast
//Version
"Work 1"
//Customers
"All Customers"
//Products
"888.88.8" "949.69.1" "888.89.8"
Ho do I calculate the above areas from each of the dimensions?
Thanks a lot

So if I have more scripts in the same report file that extract data from other areas of these dimensions then I will do something like this?
FIX("Accounts 1", "Business Development","Royalty Revenue", "Measures1", "Measures2", &CurrYr, &NExtYr1, &NextYr2,&NextYr3,&NextYr4, Forecast, "Scenario1", "Scenario2", "Work 1", "888.88.7", "888.88.8", "949.69.1", "888.89.8", "All Products")
CALC DIM (TIME, CUSTOMERS, Agreements)
ENDFIX
i-e just keep adding the members from the above dimensions? and the ones that are dynamic calcs need to be calculated here as well? or can we leave it till they are retrieved?
Thanks for your help.

Similar Messages

  • How to calculate the 'real data of arrival' in PO item

    Hi,
    Confirmation control keys with control type u201CDAu201D are MRP relevant
    1.     = New field time of transportation in calendar days
    2.     = Confirmation control type u201CABu201D (order confirmation)
    3.     = Confirmation control type u201CLAu201D (shipping notification)
    4.     = Confirmation control type u201CDAu201D (Date of arrival)
    When data 1-3 has been changed = 4 will be calculated again.
    Program requirements to calculate the u201Creal data of arrivalu201D:
    1.     When 1 >0 days then create 4 directly after placement of 2 (2 can be placed manually or automatically)
    2.     4 must be calculated: AB delivery date 2 + calendar date amount 1 = arrival date 4 (MRP gets a confirmed delivery      date by vendor plus transportation time)
    3.     When changes in 1 then change 4 (add calendar days to arrival date DA)
    4.      When changes in 2 then change 4 = u201Cnewu201D delivery date 2 plus calendar days 1 = new arrival date 4
    5.     When 3 u201CLAu201D is entered (manually/automatically) then calculate: shipping date LA 3 plus calendar days 1 = new arrival date in 4
    6.     When 1 has been changed then calculate 4 new (Check is 2 existing then use 2, check is 2 + 3 existing then use 3)
    7.     When 2 or 3 has been changed quantity then also update quantity in 4
    8.     When 2 has been canceled then cancel 4, too
    9.     When 3 has an inbound delivery document no. in place then copy the same no. in the inbound delivery field 4 and in the new column in MRP (MD04, see MRP view below)
    i have a lot of confuseging in this lines of code,even where u write i don't know in BADI . we are implement in BADI only.
    if possiable give me code for this requriment. . this line of code in which method we write,please guide me.............

    SDN is not your code factory, please research yourself before posting, maybe ask whoever handed you this requirement?
    Thread locked.
    Thomas

  • Need a function to calculate employee attendance data for a given period

    need a function to calculate employee attendance data for a given period
    as
    Working days,
    CL ,
    SL,
    PL,
    LWP
    regards,
    Gaurav Sood.

    Issue resolved

  • How can i clear the portion of data and load the new data in ASO App 9.3.1?

    Hi
    I want to delete the portion of data and i want to reload the new portion of that data In ASO Application 9.3.1 Version.
    Please give anyone with good procedure.
    Thanks
    Kranthi

    Have a read of :- Clear Data by Fix
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Payment terms should calculate Payment due date based on working days

    Hi Experts,
    As we know that standard SAP calculates Payment due date= base line date + number of days maintained in payment terms. In this payment days are considered as calendar days and not the working days.
    Example: If base line date is Thursday, payment terms says 3 days then payment due date is calculated as Sunday ( which is not a working day as per the factory calendar I use). The requirement is that payment date should be calculated as following Tuesday considering Satuarday and Sunday are not working days as per the calendar.
    Can you please suggest how can we achieve this?
    Thanks,
    Ravi

    You can not acheive from config pooint of view but you can use BADI and get the solution
    use BAdI MRM_PAYMENT_TERMS to set terms of payment
    You can use this Business Add-In to change the following fields for the 
    terms of payment in the invoice document header:                        
    o  ZFBDT: Base date for due date calculation                            
    o  ZBD1T: Discount days 1                                               
    o  ZBD1P: Discount percentage 1                                         
    o  ZBD2T: Discount days 2                                               
    o  ZBD2P: Discount percentage 2                                         
    o  ZBD3T: Deadline for net condition                                    
    o  ZLSPR: Key for payment block

  • Calculate due on date in incoming invoice based on p.date of purchase order

    We would like to calculate due on date in incoming invoice based on posting date of purchase order position. We want to be able to see the posting date of the purchase order lines from miro transaccion. Then we would add 85 days to calculate the due on date. I have tried to create an "item list variant" from OLMRLIST transaccion (Customizing - Logistics invoice verification) and add the posting date but it is not possible to access this value.
    Thanks in advance.

    Hi,
    have a look at badi MRM_PAYMENT_TERMS.
    Check as well OSS Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    Best regards.

  • How to calculate any two date with diffence calculation by using obiee11g?

    Hi,
    i have a requirement like,
    location wise current month and previous month with movement calculation,can to tell me how to calculate any two date with diffence calculation
    by using obiee11g
    Note,
    I tried to implemented ago function as well as dynamic two dates calculation using $2-$1 methods..but i am getting the o/p it's self i am getiing some null value also that' why it's not tallying with our actual report.
    i tired to used ifnull(mesaurecolumn,0) also case condition on the mesaure colution still it's not tallying.
    THanks and Rds,
    Devarasu.R

    Hi,
    for Date Difference........
    TimestampDiff(interval, timestamp1, timestamp2)
    ex:TimestampDiff(SQL_TSI_DAY, cast('1-apr-2011' as date), current_date)
    Where:
    interval
    The specified interval. Valid values are: SQL_TSI_SECOND, SQL_TSI_MINUTE, SQL_TSI_HOUR, SQL_TSI_DAY,
    SQL_TSI_WEEK, SQL_TSI_MONTH, SQL_TSI_QUARTER, SQL_TSI_YEAR.
    Cheers,
    Aravind

  • How to Calculate Duration from Date Columns

    Hello,
    I would like to calculate duration from date columns. Using the following query
    SELECT DISTINCT
    EVENT_ID,
    To_Char(RU.START_TIME, 'HH24:MI') START_TIME,
    To_Char(RU.END_TIME, 'HH24:MI') END_TIME
    FROM ROOM_USAGE RU
    What I need is to subtract START_TIME from END_TIME and result should be in minutes.
    Many Thanks,

    But, i think you need to calculate the number of days if the days are not same -
    satyaki>
    satyaki>
    satyaki>
    satyaki>with ru
    2 as
    3 (
    4 select '05-JAN-2007 15:10:20' start_time, '07-JAN-2007 19:20:20' end_time from dual
    5 union all
    6 select '08-JAN-2007 05:10:20' start_time, '07-JAN-2007 07:07:20' end_time from dual
    7 )
    8 select ru.start_time, ru.end_time, SUBSTR(numtodsinterval(to_date(RU.END_TIME,'DD-MON-YYYY HH24:MI:SS')-to_date(RU.START_TIME,'DD-MON-YYYY HH24:MI:SS'), 'DAY'), 12, 8) duration
    9 from ru;
    START_TIME END_TIME DURATION
    05-JAN-2007 15:10:20 07-JAN-2007 19:20:20 04:09:59
    08-JAN-2007 05:10:20 07-JAN-2007 07:07:20 22:03:00
    satyaki>
    Or, Am i missing anything?
    Regards.
    Satyaki De.
    is it possible to to add the duration? making the total hours to 26:12 (twentysix hours and twelve minutes)

  • Retest Date Calculate from manufacturing Date

    Dear all,
    If we are doing Goods Receipt  for Finished Goods, Semi Finished Goods or Raw Material the  Retest date is calculated from Posting Date (GRN) as per SAP Standard. But our client required it should be the retest date is calculate from Manufacturing Date of Particular Material.
    Please Guide How to Map it , what configuration i want to do in SPRO 
    s. sakthivel

    Hi Shaktivel,
    The same situation we faced in one of my pharma implementation, As per standard,retest date will be calculated from the GR date + retest period in days given in the master.If we want to create from the date of manufacturing date we have to opt for user exits.we done through an user exit during usage decision.
    regards,
    Lenin. A

  • How do I calculate Year to Date?

    Dear Colleagues,
    I need to calculate Year to Date-revenue. Date is a prompt input, so the customer can choose which ever day he wants. How can I get revenue YTD based on the input? Is this a BODI assigment more than a BO assignment?
    Looking forward to give you some points!
    Regards Silje

    Hi Silje,
    Normally you would build objects like this in designer (oracle syntax):
    sum(case when tab.datecolumn
    between (@prompt('give ytd date','D',,mono,free)-to_number(to_char(@prompt('give ytd date','D',,mono,free),'ddd'))
    and @prompt('give ytd date','D',,mono,free) then tab.amountcolumn
    end)
    So basically sum all the amounts only if they are between the start of the year and the given date.
    You use simple date manipulation to get to the right when condition, it can be based of a prompted date,
    but also of the sysdate (current date).
    There are dozens of variants here, you can build
    year to date amounts (this year, last year, given year),
    period amounts (given period, current period, last full period),
    week amounts (current week, last week, last x weeks), full year amounts, etc.
    you get the idea...
    So get your wish list ready and talk to your designer...
    Hope this helps,
    Marianne
    P.S. should you wish to do it in the report, use a prompted date object in the query & select the date to compare in the query (note that you might get an awful lot of row back here)
    sum(<amount object> where (<date object> between <given date>-ToNumber(FormatDate(<given date>,"ddd")) and <given date>)

  • Calculate the Sunday date based on 0CALDAY

    Hi All,
    How to Calculate the Sunday date based on 0CALDAY
    Thanks in advance
    CPY

    use customer exit where you can use this FM /OSP/GETDATE_WEEKDAY

  • Hi..someone there?i am looking for an app, which can show and calculate. fully excel data from windows.until now i only found apps, which just show, but not calculate

    Hi..someone there?i am looking for an app, which can show and calculate fully excel data from windows.until now i only found apps, which just show, but not calculate.anybody who know an app???

    Look at the Rccharles answer on this post.
    https://discussions.apple.com/thread/6033082?tstart=0
    Also, you can download these free MS Office apps (Word, Excel, PowerPoint) to view (but not create or edit) these files.
    https://itunes.apple.com/us/app/microsoft-word-for-ipad/id586447913?mt=8
    https://itunes.apple.com/us/app/microsoft-excel-for-ipad/id586683407?mt=8
    https://itunes.apple.com/us/app/microsoft-powerpoint-for-ipad/id586449534?mt=8
    Microsoft Office for iPad:Early Reviews of Word, PowerPoint & Excel Apps
    http://ipadacademy.com/2014/03/microsoft-office-for-ipad-early-reviews-of-the-wo rd-powerpoint-excel-apps
     Cheers, Tom

  • Doubt  in  how to   calculate  net  due date

    Hi..
    Experts   i have   doubt  in my  salesmen  ageing  report  i have to  display
    netamout    day  wise  in the range of   0-30 days , 30-60  days and  > 60 days
    how to calculate  the date difference between  to  date  one is invoice creation  date  and another  one is  system date.
    Give  me  any   function  module  available  to count  the  date  difference
    and how  i filter  the  amount  date  wise.
    Thanks Regds
    Prabir Kumar Dandpat

    Hi,
    check fm;
    SD_DATETIME_DIFFERENCE
    regards,
    Navneeth K.
    Message was edited by:
            Navneeth Bothra

  • Is it possible to calculate AR Due Date via OM Order Date ?

    Hi everyone,
    Our customer enters Payment Terms at Order Entry (OM).
    Example:
    Order Date : 02.01.2009
    Payment Term : 60 Days Net
    Shipment Date : 04.01.2009
    AR- Transaction Date : 04.01.2009
    Due Date has been calculated as : 05.03.2009
    This means that system considers Transaction Date for calculating Due Date. Is it possible to calculate due date by Order Date ?
    Thanks in advance
    Cagri
    Edited by: Cagri EGEMEN on Jan 6, 2009 5:13 PM

    No, sorry, that sort option is still missing.
    You may want to write feedback to Apple, to request this feature:
    Apple - Mac OS X - Feedback

  • GROUP BY Hour Portion of Date

    Hi,
    I'm trying to execute a query in which I need to group by the hour portion of the date.
    Example:
    Date in DB: 09/18/2008 17:30:00, 09/18/2008 17:00:00
    I need to group all values for 09/18/2008 17:00:00 to 09/18/2008 17:59:59
    Can this be done within SQL? I tried looking into the CONVERT command but I couldn't get it to work. I don't think it converts the date to just the hour and disregards the minute and seconds.
    Any help will be much appreciated.
    Thanks!

    SQL related questions are best to be asked at a forum devoted to SQL.
    Anyway, I have no idea how to do it with Sybase as I've never used it. With for example MySQL you can just use the [HOUR()|http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html] function. E.g.SELECT HOUR(dateTimeOrTimestampColumnName) FROM tableNameHere is a forum devoted to Sybase, you might have more luck over there: [http://www.mydatabasesupport.com/forums/sybase/].

Maybe you are looking for

  • Old iPod - converter for Firefire to USB?

    Hey guys, I have an older iPod, one with 5GB of memory and the 6-pin firefire connector on the top. I got a new computer and it doesn't have 6-pin firewire access but has tons of USB ports. Does anybody know of a converter or adaptor that I can put o

  • Solaris 10 on HP Intel Xeon Box

    Hi there, i am trying to install the Solaris 10 on HP intel Xeon server. but i get error message during the installaion configuration that hard disk not found. while i had win2003 on it before and drives are okay. i get this error message when i do t

  • How to download an asset from CQ with all its metadata

    Hi All, I am new to CQ and using CQ5.3 version. I am trying to download assets/pages from CQ using Content Zipper and upload file using Content Loader. Through Content Zipper, When I try to download only one image file from CQ, I am not able to downl

  • Select-options grade out

    I want to gradeout select-options high limit gradeout when i select radiobutton 3 How to write the logic can any one tell me thank you, Pradeep Reddy M.

  • Webcam and

    I just installed VF0050 webcam for MSN video messenger. But my partner can't see my video while I can see his. How come? Thanks for any reply.