Obiee 11g - Formula between fixed date and variable date

Need some advice please, I’m trying to modify a campaign report for Marketing so we can track over different periods of time. For example
Start Date +7 days (all volume within this period)
Start Date +28 days ( all Volume within this period)
And so on and so on….
BUT I’m struggling to use a formula that will do this. The start date for a campaign will always be different hence why we want capture everything between Start Date + (what ever number of days are set). In the report we have a start date, campaign name and number converted to application (Measure). Any help here would be brilliant lol. At the moment when we go into the report, it gives us the measure count to date. We just want to split it down over different periods basically.

I assume we are talking about PCR for payroll. In this case look at documentation for operation NUM:
OOOOOO
Xnnnnn
X     Table
nnnnn Table field
nn    Date type 'nn' from the Date Specifications infotype (0041)
     Date types are taken from table T548Y.
Your operation would look like:
  NUM=Faaesb
      F          Fixed indicator for deadline calculation
       aa           Date type: Start date of period to be
                    calculated; if the date type is not 'nn,'
                    the second position is left blank.
         e          Unit, in which the duration is calculated:
                    T = days
                    W = week
s         End date of period to be calculated:
          (blank)  End of current payroll period
          J        End of current calendar year
          A        Start of current calendar year
          B        Start of WPBP period
         No other specifications are possible.
So it depends on what kind of fixed date you need.
Hope it helps,
Carlos.

Similar Messages

  • Difference between Temp table and Variable table and which one is better performance wise?

    Hello,
    Anyone could you explain What is difference between Temp Table (#, ##) and Variable table (DECLARE @V TABLE (EMP_ID INT)) ?
    Which one is recommended to use for better performance?
    also Is it possible to create CLUSTER and NONCLUSTER Index on Variable table?
    In my case: 1-2 days transactional data are more than 3-4 Millions. I tried using both # and table variable and found table variable is faster.
    Is that Table variable using Memory or Disk space?
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Check following link to see differences b/w TempTable & TableVariable: http://sqlwithmanoj.com/2010/05/15/temporary-tables-vs-table-variables/
    TempTables & TableVariables both use memory & tempDB in similar manner, check this blog post: http://sqlwithmanoj.com/2010/07/20/table-variables-are-not-stored-in-memory-but-in-tempdb/
    Performance wise if you are dealing with millions of records then TempTable is ideal, as you can create explicit indexes on top of them. But if there are less records then TableVariables are good suited.
    On Tables Variable explicit index are not allowed, if you define a PK column, then a Clustered Index will be created automatically.
    But it also depends upon specific scenarios you are dealing with , can you share it?
    ~manoj | email: http://scr.im/m22g
    http://sqlwithmanoj.wordpress.com
    MCCA 2011 | My FB Page

  • What exactly is the diff between main window and variable window

    what exactly is the diff between main window and variable window in SAP script?

    hi,
    MAIN WINDOW :- In a main window you display text and data, which can cover several pages (flow text). As soon as a main window is completely filled with text and data, the system continues displaying the text in the main window of the next page. It automatically triggers the page break.
    You can define only have one window in a form as main window.
    The main window must have the same width on each page, but can differ in height.
    A page without main window must not call itself as next page, since this would trigger an endless loop. In such a case, the system automatically terminates after three pages.
    VARIABLE WINDOW :- The contents of variable windows is processed again for each page, on which the window appears. The system outputs only as much text as fits into the window. Text exceeding the window size is truncated; the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different form pages.
    As far as the processing of the window contents is concerned, the system currently treats constant and variable windows alike. The only difference is that constant windows have the same size throughout the form.
    hope this will be useful.
    If useful then reward points.
    with regards,
    Syed

  • Difference between fixed focus and auto focus?

    what is difference between fixed focus and auto focus and which is better?

    Thanks for the advice Phonehacker, this Forum is so helpful on a variety of subjects, and the users are so patient, that's why I enjoy it so much   My diet is now perfectly organised and my larder is full of Brown Bread and Red Wine 
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • What are FIXED SIZE and VARIABLE SIZE

    Hi what FIXED SIZE and VARIABLE SIZE stands for when starting oracle instance?
    thanks in advance

    read this
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:365088445659
    Aman....

  • OAB - difference between standard rate and variable rate

    What is the difference between standard rates and variable rates

    These Variable rates will take into effect only when you check the "uses variable rate" check box in standard rate right?
    Yes, variable rates are evaluated only if this flag is selected.
    You mentioned Standard Rate is the rate you attach to a benefit. Where do we attach?
    You donot attach the rate to a benefit in a separate form. You select the compensation object you want to attach the rate to within the standard rates form.

  • How to calculate number of days between fixed date and hire date in schema

    i want to calculate the number of days between a fixed date en the hire date (infotype 041)
    If i read the documentation  right, i should use the following command:
    HRS=YDXA02
    Variable 3 (the x) is the fixed data.
    My question is how do i program the variable x?
    Let's say the date 01.01.2008
    Any help would be welcome

    I assume we are talking about PCR for payroll. In this case look at documentation for operation NUM:
    OOOOOO
    Xnnnnn
    X     Table
    nnnnn Table field
    nn    Date type 'nn' from the Date Specifications infotype (0041)
         Date types are taken from table T548Y.
    Your operation would look like:
      NUM=Faaesb
          F          Fixed indicator for deadline calculation
           aa           Date type: Start date of period to be
                        calculated; if the date type is not 'nn,'
                        the second position is left blank.
             e          Unit, in which the duration is calculated:
                        T = days
                        W = week
    s         End date of period to be calculated:
              (blank)  End of current payroll period
              J        End of current calendar year
              A        Start of current calendar year
              B        Start of WPBP period
             No other specifications are possible.
    So it depends on what kind of fixed date you need.
    Hope it helps,
    Carlos.

  • Tables for Fiels Fixed Value and Variable Value

    Hi,
    Can any one tell me where the actual fixed and variable costs are stored in which table and also the planned costs. I have checked it, but it is showing RKPLN as data structure. We are doing development report where in standard Cost Center Report we need to have break up of fixed and variable cost. Please guide me where exactly these fields are stored in which table. its very urgent.

    Hi,
    In regard to the tables for planned data please do a search of the forum as this question has already been asked a few times. E.g. here:
    CO PLANNING TABLES
    In regard to fixed / variable actual costs: these are not stored in separate tables. If a posting contains fixed and variable portions, for example postings resulting from splitting (KSS2), then the fixed portion is stored in the COEP- WKFBTR (line items) and COSS-WKF*  fields (summary items).  Please observe SAP note 192107 on this issue.
    Regards
    Karl

  • Obiee 11g upgrade issue for date format

    Hi,
    I am facing a date format issue with obiee 11g report. This statement cast(cast(current_date as char) as timestamp) is failing with "not a valid month" error in obiee 11g. This worked fine with obiee 10g.
    I am basically trying to set the date to 12:00:00 am of the sysdate. Below is what I am trying to achieve:
    timestampadd(sql_tsi_hour, 1, cast(cast(current_date as char) as timestamp)))
    the above statement fails in obiee 11g.
    Thanks for your help,
    AP

    I dont think you need any functions to get the required output, try to set the date format as below
    [FMT:timeStampShort]
    If helps mark
    Thanks
    Edited by: Srini VEERAVALLI on Apr 23, 2013 4:18 PM
    I think with format and then the below should work with no issues.
    timestampadd(sql_tsi_hour, 1,current_date)
    I think you are wasting time by posting here, just do it. You no need any ones permissions to do it ;)
    Edited by: Srini VEERAVALLI on Apr 24, 2013 8:55 AM

  • OBIEE 11g - Fusion Middle ware control and BI Publisher not launching

    Hello
    I have successfully installed OBIEE11G but the installation has not been stable. Sometimes I find all three components 1) web logic 2) fusion middle ware control and 3) bi publisher
    whereas most of time, only weblogic console is coming up.
    When I tried to manually start the fusion middleware deployment it gives following error
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, Specification-Version: 1, Implementation-Version: 11.1.1.1.0, exact-match: false], [Extension-Name: oracle.webcenter.skin, exact-match: false].And how do I start bi publisher services. Currently when I launch BI Publisher I get following
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.The URLs by standard installation is given below
    WebLogic Console
                   http://localhost:7001/console
              Oracle Enterprise Manager
                   http://localhost:7001/em
              Business Intelligence Enterprise Edition
                   http://localhost:9704/analytics
              Business Intelligence Publisher
                   http://localhost:9704/xmlpserverThanks,
    R

    Hi,
    After complete installation of obiee 11g
    step 1 :- start the listener and services manually
    step 2 :- Start BI services from all programs/Business intelligence/start bi services.This enables you to start OPMN,Node manager,BI server,Presentation server,BI Publisher server
    This is the method i do follow for starting up.If you want to individually start and stop the services go to FM EM console and BI foundation in that capacity management in that screen you can start or stop.The URL's mentioned are correct with their default port numbers.
    Hope helps you.
    Cheers,
    KK

  • Difference between this,var and variables

    Hi all,
    Can you give in simple English "this","var" and "variables"
    differ and their purposes?
    The docs in google are confusing,Thank you all.

    Consider this:
    X.CFC
    ==========================
    <cfcomponent>
    ___<cfset this.foo = "foo"> <--- Public
    ___<cfset Variables.bar = "bar"> <--- Private
    ___<cffunction name="tryme">
    _____<cfoutput>
    ______#this.foo#<P>
    ______#Variables.bar#
    _____</cfoutput>
    ___</cffunction>
    </cfcomponent>
    ==========================
    Example 1: You can do this:
    <cfobject type="component" component="x" name="xObj">
    <cfoutput>#xObj.tryme()#</cfoutput>
    It'll output "foo bar"
    Example 2: You can't do this:
    <cfobject type="component" component="x" name="xObj">
    <cfoutput> #xObj.foo# #xObj.bar#</cfoutput>
    It'll get upset on the #xObj.bar# part because it's private -
    meaning only the CFC can access and manipulate a Variables variable
    inside it's CFC.
    However #xObj.foo# works because it's public, the CFC can
    access and manipulate it's own this variable, and anything outside
    of it can too.

  • OBIEE 11g Front End Calculations with Presentation Variables Error

    Hi Guru's,
    Long time user first time poster to the forums but hopefully you can help.
    I have a requirement to perform an aggregation on certain fields with a dynamic grouping requirement (so users can select which grouping they require ie, sum profit by [outlets or companies or region]).
    The approach I am using is a prompt setting a presentation variable with the possible groupings for the calculation as choices, and a column in the report with a formula to SUM("table"."column" by "@{variable}{default}") this also contains a dynamic column name containing the presentation variable too.
    Where the column could be profit and the variable prompt options could be outlet, company or region (from the above example).
    This is currently separate from the RPD due to the dynamic nature required with groupings changing at run time and is done in the front end.
    However on selecting some columns via the prompt I receive this error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22027] Union of non-compatible types. (HY000)
    This only occurs on some field groupings, and is not a certain type in particular. (Including both short date, short time and varchars).
    Any ideas where this problem could stem from?
    Regards.

    Based on given info: Try this
    SUM(cast("table"."column" as int) by "@{variable}{default}")
    Pls mark if helps

  • OBIEE 11g BI Publisher; New Data Set Creation Error "Failed to load SQL"

    Hi,
    I'm trying to create a new SQL data set (from a client machine). I use "query builder" to build the data set. But when I click "OK", it fires the error "Failed to load SQL".
    But strangely, if connect to the OBIEE server's desktop and create the data set it works without any issues. I wonder this would be a firewall issue. If so what are the ports I should open.
    It's a enterprise installation. And we have already open 9703, 9704, and 9706.
    Has anyone came across such a situation?

    Talles,
    First of all you might have more chance of getting a response over in the BIP forum. Other than that all I can think of is: is your MS SQL Server running with mixed mode auth?

  • OBIEE 11G with Single Sign-On and Active Directory

    Hi guys,
    Release Version: Oracle Business Intelligence 11.1.1.5.0
    Patch applied: 11.1.1.5.0 BP3 (Patch 13832750)
    OBIEE Server operating system: Windows Server 2008 SP2 (32-bits Operating System).
    We are trying to configure Single Sign-On according to TechNote_WNA_SSO_AD_V4.0.doc.
    Our krb5login.conf:
    com.sun.security.jgss.krb5.initiate {
    com.sun.security.auth.module.Krb5LoginModule required
    principal="[email protected]"
    keyTab=cgdkobi2.keytab
    useKeyTab=true
    storeKey=true
    debug=true
    com.sun.security.jgss.krb5.accept {
    com.sun.security.auth.module.Krb5LoginModule required
    principal="[email protected]"
    keyTab=cgdkobi2.keytab
    useKeyTab=true
    storeKey=true
    debug=true
    We generate de keytab file:
    C:\OracleBI11g\user_projects\domains\bifoundation_domain>C:\OracleBI11g\jrockit_160_24_D1.1.24\bin\ktab.exe -k cgdkobi2.keytab -a [email protected]
    Password for [email protected]:XXXXXXX
    Done!
    Service key for [email protected] is saved in cgdkobi2.keytab
    C:\OracleBI11g\user_projects\domains\bifoundation_domain>C:\OracleBI11g\jrockit_160_24_D1.1.2-4\bin\kinit -k -t cgdkobi2.keytab cgdkobi2
    New ticket is stored in cache file C:\Users\cgdkobi2\krb5cc_cgdkobi2
    C:\OracleBI11g\user_projects\domains\bifoundation_domain>C:\OracleBI11g\jrockit_160_24_D1.1.2-4\bin\klist -k -t cgdkobi2.keytab
    Key tab: cgdkobi2.keytab, 1 entry found.
    [1] Service principal: [email protected]
    KVNO: 1
    Time stamp: Mar 15, 2013 10:34
    C:\OracleBI11g\user_projects\domains\bifoundation_domain>klist
    Current LogonId is 0:0x406163f5
    Cached Tickets: (0)
    We re-start the services and logon into analytics web and SSO doesn't work but there's not an error. It runs successfully with and Active Directoy user and password. Seems like SSO wasn't enabled, but I checked is enabled.
    Any suggestion?
    Thanks in advanced

    Follow the posts : OBI 11.1.1.6.SSO and You are not currently signed in to Oracle BI Server" for OBIEE 11.1.1.6 SSO do the troubleshooting mentioned there.
    Also check your logs for error like the one below:
    [2012-03-09T16:42:36.000-05:00] [OBIPS] [NOTIFICATION:1] [] [saw.securitysubsystem.checkauthentication.runimpl] [ecid: 6c98b5cce1f24814:2a613331:135f95fbdff:-8000-0000000000005b7a,0:1:1] [tid: 5932] Authentication Failure.
    Odbc driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access for the requested connection is refused.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 13039] The impersonator does not exist in the BI Security Service. (08004)[[
    If you are getting this when you login to OBIEE :      You are not currently signed in to Oracle BI Server"
    then you need to apply this patch : 13553428 QA:BLK:DELIVER TO CORP. OID LDAP USERS FAILED WITH IMPERSONATOR DOES'NT EXIST. 11.1.1.6.0 Generic Platform (American English) General Oracle BI Suite EE Apr 5, 2012 799.4 KB
    Let us know the updates. Hope this helps. Mark if it does.!
    Thanks,
    SVS

  • OBIEE 11g write back to Essbase and run calc script feature

    Hi,
    I have a requirement to write back into Essbase Cube and run calc script from OBIEE dashboard.
    From what i have search on google, we must deploy additional Java Script into weblogic, but that is before OBIEE 11.1.1.6.
    I have 2 question:
    - Does OBIEE 11.1.1.6 already supported native write-back to Essbase and running calcscript?
    - Anyone has example of the custom java-script for write back and running calcscript?
    And another, if there are requirement like this, is it better to install Essbase Add-in on Microsoft Excel and do the what-if analysis there, then just display the report on OBIEE dashboard? (based on user-friendliness and the complexity on maintenance)
    Thanks in advance.

    Hi,
    Even I am trying to achieve the same thing as you have mentioned but think that it is not possible to achieve easily in obiee 11.1.1.6, though we do have a work around to perform a writeback in Essbase cube using JAPI as mentioned below.
    Also we can call Hyperion reports from OBIEE using Action Links and also pass parameters to the same but dont know if it runs calculation script.
    Below link could be useful for you for write back workaround.
    http://oraclebizint.wordpress.com/2009/05/25/oracle-bi-ee-10-1-3-4-1-writebacks-to-essbase-using-japi-and-custom-html-part-1/
    Let me know in case you have found out anything else related to same.
    Thanks,

Maybe you are looking for

  • Hdmi invalid format

    Hi yesterday for the 1st time I tried to connect my MBP 15" Retina Display to a Sony TV Bravia KDL-26M 4000 through HDMI but it didn't work. I got a 1st messages "Invalid Format"  and after NO signal on TV and the computer monitor became black. Today

  • I Movie wont open

    I need to edit some videos, and for some reason iMovie says "Quartz Extreme required." and below "iMovie requires a graphics card that is compatible with Quartz Extreme. One or more of your graphics cards does not support Quartz Extreme." and the onl

  • Dvt:hierarchyViewer FeaturesOff option in 11.1.1.3

    Hi, I am using Jdeveloper 11.1.1.3 .I saw in oracle Rich Client demo that dvt:hierarchyViewer component is having FeaturesOff option(to off some features) and also i saw in this link http://download.oracle.com/docs/cd/E16162_01/apirefs.1112/e17490/ta

  • Report Queue Manager aministrator password

    Hi there! I have install DS 10g in my local pc- i have some jobs in queue which i want to remove from the queue but i don't know what is my administrator username and its passwords for Report Queue Manager. Please someone guide where to look for my a

  • TREX: Preparation Failed in document index

    Hi, I have defined an index with one datasource and I get an error in 317 documents, while 204 documents are OK. Error are due to 6401 code error (HTTP Status Code 401 : Unauthorized) but I don't know how to solve it. Everyone has full control to dat