YTD Actual and Budget Formula from Oralce EBS into OBIEE

Hello,
Im trying to replicate a report from Oracle EBS into OBIEE.
I have to create logical columns for YTD Actual , YTD Budget,Current month actual, Current Month Budget using GL_BALANCES table in OBIEE repository. The formula currently im using is,
YTD Actual:
CASE WHEN GL_BALANCES.ACTUAL_FLAG = 'A' THEN (GL_BALANCES.PERIOD_NET_DR - GL_BALANCES.PERIOD_NET_CR)+ (GL_BALANCES.BEGIN_BALANCE_DR - GL_BALANCES.BEGIN_BALANCE_CR) ELSE 0 END
YTD Budget :
CASE WHEN .GL_BALANCES.ACTUAL_FLAG = 'B' THEN GL_BALANCES.PERIOD_NET_DR - .GL_BALANCES.PERIOD_NET_CR + (.GL_BALANCES.BEGIN_BALANCE_DR - GL_BALANCES.BEGIN_BALANCE_CR) ELSE 0 END
Current Month actual :
TODATE(GL_BALANCES."YTD Actual", "Time Dim"."Month")
Current Month Budget :
TODATE(GL_BALANCES."YTD Budget", "Time Dim"."Month")
Please let me know, if my calculations are right.
Thanks

Hi Srini,
Thanks for the reply.
The personalisation is working as far as it is embedding all of the OBIEE Application into the OAF personalisation. What I actually want to do is just embed the dashboard itself without the Search, Home, Catalog buttons.
Do you know if this is possible? I was hoping the parameter Action=print would work but so far no luck.
Thanks,
Mike

Similar Messages

  • YTD Actual and Budget Formula in Logical column

    Hello,
    Im trying to replicate a report from Oracle EBS into OBIEE.
    I have to create logical columns for YTD Actual , YTD Budget,Current month actual, Current Month Budget using GL_BALANCES table. The formula currently im using is,
    YTD Actual:
    CASE WHEN GL_BALANCES.ACTUAL_FLAG = 'A' THEN (GL_BALANCES.PERIOD_NET_DR - GL_BALANCES.PERIOD_NET_CR)+ (GL_BALANCES.BEGIN_BALANCE_DR - GL_BALANCES.BEGIN_BALANCE_CR) ELSE 0 END
    YTD Budget :
    CASE WHEN .GL_BALANCES.ACTUAL_FLAG = 'B' THEN GL_BALANCES.PERIOD_NET_DR - .GL_BALANCES.PERIOD_NET_CR + (.GL_BALANCES.BEGIN_BALANCE_DR - GL_BALANCES.BEGIN_BALANCE_CR) ELSE 0 END
    Current Month actual :
    TODATE(GL_BALANCES."YTD Actual", "Time Dim"."Month")
    Current Month Budget :
    TODATE(GL_BALANCES."YTD Budget", "Time Dim"."Month")
    Please let me know, if my calculations are right.
    Thanks

    Hi,
    I have only one KF and after closing the month, I would load actuals to the Budget KF itself.
    Right now this coulmn is a formula with below:
    ( 1 <= 'Last Actual' ) * 'Jan / Actual' + ( 1 > 'Last Actual' ) * 'Jan / &0T_VERS&'
    And the column heading is "January Act/Budget"
    At the moment it is confusing for users to know which figures are Actuals and which are Budget.
    Thanks
    Priya

  • Actual and Budgeted amount

    Hi,
    I required total Actual and Budgeted cumulative amount cost centerwise. From which table can I get it. Please suggest.
    Regards,
    Harsh

    The plan line items entered in KP06 post to table COEJ, Actual are in COEP. for profit centers, plan in table GLPCP and actual in GLPCA, you can also use GLPCA to get cost center actual .
    The cost center is represented by an object number in COEJ and COEP, it will look something like this KSxxxx001-00101, the X represent the controlling area, and the digits after that represent the cost center number.
    pay attention that its possible to have more than on document (several line items ) for one value you see in KP06, for example if you entered $100 for Jan budget then you changed that to $150, you will see 2 documents in COEJ, one for 100 and one for 50

  • Joining Actuals and Planned Work from Project Server

    Hi,
    I have an SQL based query which returns Actuals and Planned work from Project Server; however a number of records (generally generic resources based on the ResourceIsGeneric column) are excluded. I believe this is because my Actuals query does not return
    generic resources as we are joining both sides of the query on ResourceUID. I have included a snippet below - is there a way to join Actuals and Planned work so I can return all Resource data?
    Thanks
    SELECT tl.ResourceUID
    ,tl.ProjectUID
    ,tl.ResourceName AS [ResourceName]
    ,CASE
    WHEN tl.ProjectName = 'Administrative'
    THEN tl.TaskName
    ELSE tl.ProjectName
    END ProjectName
    ,ruv.RBS AS [RBS]
    ,Sum(ta.ActualWorkBillable) ActualWorkBillable
    ,Sum(ta.ActualWorkNonBillable) ActualWorkNonBillable
    ,Sum(ta.ActualOvertimeWorkBillable) ActualOvertimeWorkBillable
    ,Sum(ta.ActualOvertimeWorkNonBillable) ActualOvertimeWorkNonBillable
    ,CASE
    WHEN Sum(ta.ActualOvertimeWorkBillable) > 0
    THEN Sum(ta.ActualOvertimeWorkBillable)
    END [HOURS]
    ,DATEPART(year, ta.TimeByDay) AS [Year]
    ,DATEPART(month, ta.TimeByDay) AS [Month]
    ,DATENAME(month, DATEADD(month, DATEPART(month, ta.TimeByDay), - 1)) AS [MonthName]
    ,puv.[Project Status] AS [ProjectStatus]
    ,ruv.[Primary Role] AS [PrimaryRole]
    ,ruv.[Resource Department] AS [Department]
    ,ruv.ResourceIsGeneric
    ,ruv.[Cost Category] AS [ResourceType]
    ,puv.[SAP Project Code] AS [SAPProjectCode]
    ,CASE
    WHEN tl.ProjectName <> 'Administrative'
    THEN NULL
    ELSE tl.TaskName
    END TaskName
    ,puv.[Project Plan Type] AS [ProjectPlanType]
    ,puv.[GEM Project Manager] AS [GemPM]
    ,ruv.[Rate Code] AS [RateCode]
    ,ruv.[Cost Centre] AS [CostCentre]
    ,ept.EnterpriseProjectTypeName AS [EPT]
    ,puv.[I DO Phase]
    ,puv.ProjectOwnerName AS [ProjectOwner]
    FROM dbo.MSP_TimesheetActual_OlapView ta
    INNER JOIN dbo.MSP_TimesheetLine_UserView tl
    ON ta.TimesheetLineUID = tl.TimesheetLineUID
    INNER JOIN dbo.MSP_EpmResource_UserView ruv
    ON ruv.ResourceUID = tl.ResourceUID
    LEFT JOIN dbo.MSP_EpmProject_UserView puv
    ON puv.ProjectUID = tl.ProjectUID
    LEFT JOIN dbo.MSP_EpmEnterpriseProjectType ept
    ON ept.EnterpriseProjectTypeUID = puv.EnterpriseProjectTypeUID
    WHERE ta.TimeByDay >= @xDate1
    AND ta.TimeByDay < @xDate2
    AND tl.TimesheetStatus IN (
    SELECT ParamValues
    FROM @ParamTable
    AND ta.ActualWorkBillable > 0
    GROUP BY ...
    ) TimesheetActual
    FULL JOIN (
    SELECT ruv.ResourceUID
    ,puv.ProjectUID
    ,ruv.ResourceName
    ,puv.projectname AS ProjectName
    ,ruv.RBS AS [RBS]
    ,Sum(abduv.AssignmentWork) AS [PlannedWork]
    ,DATEPART(year, abduv.TimeByDay) AS [Year]
    ,DATEPART(month, abduv.TimeByDay) AS [Month]
    ,DATENAME(month, DATEADD(month, DATEPART(month, abduv.TimeByDay), - 1)) AS [MonthName]
    ,ruv.ResourceIsGeneric
    ,puv.[Project Status] AS [ProjectStatus]
    FROM dbo.MSP_EpmResource_UserView ruv
    INNER JOIN dbo.MSP_EpmAssignment_UserView auv
    INNER JOIN dbo.MSP_EpmAssignmentByDay_UserView abduv
    ON auv.AssignmentUID = abduv.AssignmentUID
    AND auv.ProjectUID = abduv.ProjectUID
    ON ruv.ResourceUID = auv.ResourceUID INNER JOIN dbo.MSP_EpmProject_UserView puv
    ON auv.ProjectUID = puv.ProjectUID
    AND abduv.ProjectUID = puv.ProjectUID INNER JOIN dbo.MSP_TimeByDay_OlapView tbdov
    ON abduv.TimeByDay = tbdov.TimeByDay WHERE abduv.TimeByDay >= @xDate1
    AND abduv.TimeByDay < @xDate2
    AND ruv.ResourceName <> 'Unassigned Resource'
    AND ruv.ResourceName IS NOT NULL
    AND abduv.AssignmentWork > 0
    GROUP BY ruv.ResourceUID
    ,puv.ProjectUID
    ,ruv.ResourceName
    ,puv.projectname
    ,ruv.RBS
    ,DATEPART(year, abduv.TimeByDay)
    ,DATEPART(month, abduv.TimeByDay)
    ,ruv.ResourceIsGeneric
    ,puv.[Project Status]
    ) TimesheetPlanned
    ON TimesheetActual.ResourceUID = TimesheetPlanned.ResourceUID
    AND TimesheetActual.[Year] = TimesheetPlanned.[Year]
    AND TimesheetActual.[MonthName] = TimesheetPlanned.[MonthName]

    Hi,
    you pasted just part of your query, e.g. is declaration of @ParamTable missing. Without complete query, it is difficult to see, what you are trying to do.
    Could you please provide complete query?
    Barbara
    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
    an appropriate solution faster. Thanks for your support!

  • I just cut and pasted photos from the phone into my HP and now I can't open the files in the computer.

    I just cut and pasted photos from my Iphone into my HP.
    NOw when I go and try to open the files from the computer it's giving me an error:
    INVALID IMAGE
    The file format is not supported or is invalid
    WHat's confusing is that all files copy into my computer are already JPG. I have not changed anything, simply cut photos from my phone and copy them in my computer.
    I need help !!! I have a lot of my baby photos and videos that I really want to recover.
    PLEASE !
    thank you

    Try using a photo import utility or application for this instead of doing it the archaic manual way. Even Windoze includes a scanner and camera wizard that can be used for this.

  • I used to be able to copy and paste images from the internet into keynote slides and pages. Now when I copy and paste all I get is an empty  box. My iskysoft iTube studio has also stopped downloading videos. Is there an extension I need to enable?

    I used to be able to copy and paste images from the internet into keynote slides and pages. Now when I copy and paste all I get is an empty  box. My iskysoft iTube studio has also stopped downloading videos. Is there an extension I need to enable? Any ideas

    Try dragging the image to the desktop, then drag the image to the slide you want it on

  • How to migrate the RPD and catalog file from siebel analitics to obiee

    hi all
    How to migrate the RPD and catalog file from siebel analitics to obiee and obiee to obiee 11g
    Thanks
    Sreedhar

    hi sreedhar,
    you can migrate from siebel to obiee 10g...check this out http://debaatobiee.wordpress.com/tag/migration-siebel-analytics-obiee/
    Next install OBIEE 11g and migrate obiee 10g to 11g using this http://prolynxuk.com/blog/?p=424
    hope answers your questions.
    Cheers,
    KK

  • HT4858 with photo stream on and importing pictures from your camera into your Ipad - after 30 days the pictures will be removed from photo stream, but will the pictures still be in your Ipad ? andy

    with photo stream on and importing pictures from your camera into your Ipad - after 30 days the pictures will be removed from photo stream, but will the pictures still be in your Ipad ? andy

    To my knowledge, pictures in photo stream stay there untill there is more than 1000 of them, then after that the oldest ones are removed from photo stream.  If your photos have synced to your devices via photo stream or manual syncing they will be there until you elect to delete them.

  • Why can't I drag and drop images from the browser into other programs?

    Ever since I upgraded to Firefox 4 (even after I upgraded again to Firefox 5) I have been unable to drag images from the browser into other programs, including MS Paint and IcoFx. I receive an error message stating that the file (the address given lists it as being located in the temporary files folder) cannot be found.
    Prior to this I had always been able to conveniently drag and drop images for easy editing without having to save first and then open them. This feature is important to me, as I work with graphics very often, and is still available in Chrome and Internet Explorer. I love Firefox though, and hope that there is something I can do to fix the problem.

    I had this problem on Windows 8.1.1 and iTunes 11.2.2.3
    To resolve it from within Itunes I did :  Edit, Preferences, Sharing.
    I took the tick out of "Share my library on my local network"
    Click OK.
    Closed iTunes/
    Reopened iTunes and I can drag and drop.
    I went back into Edit, Preferences, Sharing and put the tick back and clicked OK.
    Works fine now.

  • How to retrieve data from xml file into obiee reports

    Hi all,
    I've got a situation here. A xml file is stored as blob in oracle database table. Now i need to retrieve data/info from that xml file into obiee reports. How am i supposed to proceed with this ?

    I will go for a table function:
    http://gerardnico.com/wiki/database/oracle/table_function
    In two words, you can create a function that behave as a table. Then you create a function to pick up your xml, you parse it and you send back the rows.
    I know that Oracle has also a library for XML files but I never use it until now.
    Success
    Nico

  • Report for extracting the actual and planned cost from service orders

    HI all
    we are creating a report in BI for Module - Customer service . LIke , the report is all about how many complaints created in the system and how many completed technically and what is the cost involved for each complaint .
    Like we want the comparision between the planned cost and the actual cost .
    Now to give the logic to the BI Team for planned cost and actual cost , please suggest the flow of logic or table flow to arrive the planned and actual cost
    thanks in advance

    Hi Marthand,
    I am not sure which datasource your are using. In this case, you can use the 0VALUETYPE to differencitae between th eplan and actuals. Normally Plan which is budget will have value 050 and for actuals will have 010. For costs, you will have one key figure and at the reporting level, you will have the costs restricted by the value type for plan and actual to make comparisons.
    Hope this helps.
    Regards,
    Srinivas

  • Copy and Paste Formula from One Cell to Multiple (How?)

    I am aware of the "autofill" function by dragging the bottom-right corner of a cell containing a formula.
    However, I cannot possibly do this if I want to copy the formula and paste it into 10,000 cells.
    If I specify a range of cells to paste the copied formula - only the first cell gets it. I have seen this problem in previous iWork for a long time but am surprised Apple has not improved it (or made it obvious enough for me to get it at first sight).
    Thanks!

    Hello
    It's really boring to read several times the same comments: +When I use Autofill on formulae to copy them into empty rows I end up with little red triangles saying it isn't a valid formula. In Excel and Lotus 123 I can just use Ctrl-C and Ctrl-V to copy and paste into as many cells as I want, why not Numbers?+
    Here we are not Apple employees so you are loosing your time and also the time of all of us reading your posts.
    Of course we may let them unread. But as old helpers, we always assume that when someone post something, it's to ask a question to which one of us may give a answer.
    Your flames are perfectly useless.
    If you wish that Apple take care of your opinion, go to "Provide Numbers Feedback" in the "Numbers" menu and describe your wishes.
    Happily, one poster make me laugh when he wrote that "this anomaly is a long time one in iWork".
    I really don't understand how an application which is in version 1.0 or 1.0.1 may contain a "long time" anomaly !!!!
    And the only responce I may give to all of you is: *if you can't live with this feature, stay with E…l.*
    *We will not miss you !!*
    Yvan KOENIG (from FRANCE samedi 20 octobre 2007 19:47:45)

  • Log and transfer footage from Panasonic GH1 into FCE

    I have already read the few threads discussing importing AVCHD video from the Panasonic GH1 camera into FCE. I was expecting that the 1080x24 (wrapped in 60i) would import OK but the 720x60p would not. However, so far, I have had both formats import using the log and transfer just fine. These have been only short clips roughly a minute or less in length but no sign of FCE crashing when importing the 60p footage.
    So, is this considered normal or has something in the most recent OSX updates fixed this FCE capability?

    The program is usually able to ingest 24p and 60p footage fine, but upon exporting it will be conformed to the frame rate of your sequence. Since FCE doesn't support custom sequences all exported movies are either in 29.97fps or 25fps. Problems also sometimes arise where the program interprets your footage as 29.97fps instead of what it actually is, causing the audio to drift a bit as well.
    Better to stick to what the program supports: 50i/25p and 60i/30p. If you need the functionality of 24p or 60p you should upgrade to Final Cut Pro.

  • How to get current month from filename and bulk insert from text file into table?

    I set up some dynamic SQL to help my bulk copy data from a text file to a table.  This works fine for files that come in every day; I get the previous day’s data, based on the file name that’s placed
    in the folder.  That’s why I’m using the ‘-1’.  The dates will look like this: '20140131', so I'm using type 112.
    declare @fullpath1 varchar(1000)
    select @fullpath1 = '''\\system.local\ms\london\FTP\' + convert(varchar, getdate()-1, 112) + '_INDEXPRICES_EOM.SPC'''
    declare @cmd1 nvarchar(1000)
    print (@cmd1)
    select @cmd1 = 'bulk insert [dbo].[SB_Monthly] from ' + @fullpath1 + ' with (FIELDTERMINATOR = ''\t'', FIRSTROW = 5, LASTROW = 675, ROWTERMINATOR=''0x0a'')'
    print(@cmd1)
    exec (@cmd1)
    I think the syntax will be somewhat similar to this:
    YEAR(date_column)=YEAR(getdate()) AND MONTH(date_column)=MONTH(getdate())
    I’m not totally sure how to incorporate that into my current syntax.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    I tried a couple versions of this.
    Declare @StartDate Date, @EndDate Date
    Select @StartDate = convert(varchar, getdate()-28, 112), @EndDate = convert(varchar, getdate()-1, 112)
    BEGIN
    declare @fullpath1 varchar(1000)
    select @fullpath1 = '''\\ms\london\FTP\' + ''' between ''' + Convert(Varchar(10), @StartDate, 101) + ''' and ''' + Convert(Varchar(10), @EndDate, 101) + '''_SP.SPC'''
    declare @cmd1 nvarchar(1000)
    print (@cmd1)
    select @cmd1 = 'bulk insert [dbo].[SPBMI_Monthly] from ' + @fullpath1 + ' with (FIELDTERMINATOR = ''\t'', FIRSTROW = 5, LASTROW = 675, ROWTERMINATOR=''0x0a'')'
    print(@cmd1)
    exec (@cmd1)
    END
    Here’s the string:
    bulk insert [dbo].[SPBMI_Monthly] from '\\ms\london\FTP\' between '02/03/2014' and '03/02/2014'_SP.SPC' with (FIELDTERMINATOR = '\t', FIRSTROW = 5, LASTROW = 675, ROWTERMINATOR='0x0a')
    The error message I keep getting is:
    Msg 156, Level 15, State 1, Line 1
    Incorrect syntax near the keyword 'between'.
    Msg 319, Level 15, State 1, Line 1
    Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.
    I feel like I’m already pushing this thing to the limit. 
    Maybe this last part isn’t possible.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • How do I keep my Cox mail and MSN mail from all going into the same in box on Apple mail

    I have a Imac and Mac Book.  The Imac apple mail works great.  I also have a Mac Book.  The Apple  Mail is set up the same as the Imac.  The problem I have is that both Cox mail and MSN mail go into the same inbox on Apple Mail on the MacBook even though the accounts are separte.  From what I see, the settings are the same as the Imac. I tried to reinstall the apple mail.  No luck!  Should I try again.  Any ideas?

    Go to settings>iclod>then mark "no" in  "contacts" .

Maybe you are looking for

  • My iPhone 5s's voice memo app is glitching - how can I fix it?

    I've tried resetting my phone, plugging it into my laptop, force quitting it, and nothing has worked. When I open the voice memo app, all my voice memos start scrambling frantically, then it closes itself, then they all disappear. Over and over again

  • Very poor quality when exporting slideshow

    I am using a Canon 5D, and when I view the images in Full screen. They are gorgeous. I created a slideshow. When I play the slideshow in Aperture - again they are gorgeous and crisp, however when I export these images to a Quicktime movie they look b

  • Discount on Invoice

    HI All, I made PO for 10 items and received 5 items from vendor.Now I received invoice for 5 item. But vendor has given discount on this invoice.When I am doing invoice verification for this where 2 put discount. reply asap, thnx in advnce vikas

  • Re: ORA-01000: maximum open cursors exceeded

    Hi, This is my procedure and when I am running several times ,I am facing problem with this ORA-01000 error. Please suggest me to rectify the same. CREATE OR REPLACE PROCEDURE "P_SELECT_ROLERESOURCES" (cur_OUT        OUT SYS_REFCURSOR, p_RoleID      

  • Will the upgrade from 10.4.6 to 10.4.11 slow me down?

    I have an eMac, 1.25GHz, with 768MB of memory, 40GB hard drive, and combo drive, running OS X 10.4.6 (Tiger). I recently upgraded to OS X 10.4.6. The system, of course, checks for updates. It now informs me I can install an update to the OS that will