Create Ytd measure from essbase accounts

Hi,
We have separate dimension for Year and Period (Month) in Essbase without Ytd member for period. In BIEE, how do we create YTD measure from existing logical column?
Thanks,
GT

Hi narthan,
According to your description, you want to select data between first day of this year and last day of previous month. If that is the case, we can achieve your goal by two ways:
• Adding where statement to the query without using parameter like below:
where column_name between DATEADD(yy, DATEDIFF(yy,0,getdate()), 0) and dateadd(ms,-3,DATEADD(mm, DATEDIFF(mm,0,getdate()), 0))
• Adding two parameters named StartDate and EndDate by following steps:
1. In Dataset Properties dialog box, in Query text box, add where statement like below, then the parameters will be created automatically
where column_name between @StartDate and @EndDate
2. In Design surface, expand Parameter node. Right-click @StartDate and open Parameter Properties dialog box.
3. In Data Type drop down list, select Date/Time.
4. In left pane, click Default Values, then select Specify Values.
5. Click (fx) button, in Expression text box, type the following expression, then click OK to save the options.
=DateSerial(YEAR(Today()),1,1)
6. Right click @Enddate and set Data Type to Date/Time as step3.
7. Repeat the options of step4 and 5 above, and type the expression like below, then click OK.
=DateAdd("d",-(Day(today())), Today())
For more information about Adding Parameters to Filter Reports by Date, please refer to the following document:
http://technet.microsoft.com/en-us/library/aa337401(v=SQL.105).aspx
If you have any questions, please feel free to let me know.
Best Regards,
Wendy Fu

Similar Messages

  • Todate Function error on creating YTD measure

    I'm trying to create YTD measure using TODATE funtion and and I'm getting the error : To use TODATE function storage level of the query must be static level.
    Please help me to know what I might have done wrong and how to correct it.
    thanks in advance.
    Regards
    Jsmith

    You have incorrectly defined time dimension. Search the forum or check this link:
    http://www.rittmanmead.com/2007/04/30/obi-ee-time-dimensions-and-time-series-calculations/

  • Unable to create new email from Gmail account in Mail

    I just installed gmail to retrieve messages within Mail: I can receive gmail messages and reply to gmail from Mail. However, I cannot create and send a new message in Mail using my gmail account; when I do I get the following error message:
    Enter Password for Account
    smtp.gmail.com:xxxx[account name]
    The SMTP server "smtp.gmail.com" rejected the password for user "xxx[account name]"
    Please re-enter your password, or cancel.
    No matter how many times I add it correctly and click OK, the same message returns.

    Google provides instructions for setting up a Gmail
    account in Mail here:
    http://mail.google.com/support/bin/answer.py?answer=13
    275
    Make sure you’ve set up the account as described
    there.
    That is what I used to set up my gmail account in Apples Mail App before your post. Those instructions say that when you click on the Advanced Tab that the port will switch to 995 - which it did for me. I do have a minor problem though. Is there any way to prevent emails sent from Mail via gmail from showing up in gmails web page? I don't really like web mail whatsoever!
    24" iMac 2.16 Intel 2G Memory   Mac OS X (10.4.9)   Parallels Desktop w/Windows Vista Ultimate
    24" iMac 2.16 Intel 2G Memory   Mac OS X (10.4.9)   Parallels Desktop w/Windows Vista Ultimate

  • Acrobat creates two IDs from Windows account

    I have 200+ users with Acrobat 8 Pro. We use a WebDAV server on our internal domain for reviewing and commenting on PDF files. 5-20 users review each PDF on average. Most users have PC laptops. In the office, they connect directly to our domain. Externally, they use a Cisco VPN client to gain access to internal resources.
    The issue that we are having is inconsistent, but has some pattern. Only a few users are affected. When a user logs in to the WebDAV server, they use a unique ID, a six-digit lowercase ID. When they are in the offices, they ID comes through on PDF comments as lowercase. When the troubled users are off-site with or without the VPN, their ID has uppercase characters. Think 'smitjo' internally vs 'SmitJo' externally.
    Wouldn't be a problem identifying the owner of the comments, but when a user is off-site they are not the owner of the comments that were made on-site anymore. The worst troubles have been that sending comments off-site will remove ALL comments made on-site. This can be a major problem, removing days worth of work in one click.
    I have introduced a few workarounds, like saving incremental copies locally as backups. Workarounds are not a viable option when working with this many users on as many PDF reviews as I have active currently.
    Anyone have any thoughts as to where the cause of my woes is or a possible solution?

    There is no list.  Deauthorizing and reauthorizing, will not acomplish anything, nor will it have any effect on your computer or your devices.
    If you have reached the limit of 5, then you can deauthorize all and the authorize the active computers.

  • How to calculate an average of YTD measures?

    Hi all,
    I'm working on BPC 10 for NW.
    We use an account-type dimension for Personnel inventory (Personnel to fixed-term contracts, to permanent contracts, number of executives, staff etc.).
    The corresponding ACCTYPE is AST because people are seen as a balance sheet account measure. So the measure, even if we're in periodic in our model, is stored as a YTD value.
    I want to calculate a average with those measures, for instance the average number of contractors from january to the current month, with a member formula. I can't manage to do that with a calculation because I can't add values of YTD measures: when I try a formula like ([ACCOUNT].A1 , [MEASURES].[YTD]) it returns the same value as the periodic value. Whereas the formula works with EXP account type.
    The formula I'd like to have in the end would be something like that:
    iif(isleaf([TIME].currentmember),avg(YTD(),([Measures].[PERIODIC],[ACCOUNT].[G102])),[TIME].currentmember.lastchild),solve_order=5
    This formula works in a previous version of BPC (5.1) but not in BPC 10.
    Any idea?
    Thanks very much,
    Sébastien.

    Assuming the job always starts at mid-might, you can try something like this:
    WITH t AS
    (SELECT to_date('01-JUL-2011 07:25:31', 'dd-mon-yyyy hh:mi:ss') AS end_date
    FROM dual
    UNION
    SELECT to_date('02-JUL-2011 07:10:58', 'dd-mon-yyyy hh:mi:ss') AS end_date
    FROM dual
    UNION
    SELECT to_date('01-AUG-2011 07:16:24', 'dd-mon-yyyy hh:mi:ss') AS end_date
    FROM dual)
    SELECT trunc(end_date, 'mon') AS MONTH,
            trunc(end_date, 'mon') + avg(end_date - TRUNC(end_date)) AS AVERAGE_TIME
    FROM t
    GROUP BY TRUNC(end_date, 'mon');

  • How to create YTD and MTD reports using Sql Server 2008 r2 report builder 3.0

    Hi All,
    How can I create YTD report from the below data. please help me
    ProdA     ProdB     ProdC     Month     Year
    10       50        40          January      2012
    Data for full Year i.e. from Jan - December 2012
    50       90       100        January       2013
    Data for full Year i.e. from Jan - December 2013
    90       40         30        January        2014
    Data for full Year i.e. from Jan - Till Date 2014
    MercuryMan

    You can use a correlated subquery to calculate YTD in query behind. You can use APPLY operator for that
    so something like
    SELECT *
    FROM Table t1
    CROSS APPLY (SELECT SUM(ProdA) AS TotA,SM(prodB) AS TotB,SUM(prodC) AS TotC
    FROM Table
    WHERE Year = t.Year)t1
    And show TotA,TotB and TotC in the required total row
    Another method is to add required totals in SSRS by clicking on relevant group and choosing Add Total option
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Creating Fund Centers from Cost Centers

    Just as you can create commitment items from GL accounts using FIPOS is there a transaction for creating Fund Centers from GL accounts?
    How can I ensure that my Commitment Items are linked to my Cost Elements?
    How do I ensure that my Fund Centers are linked to Cost centers?

    Hi,
    Master data in FM is created separately; you cannot 'copy' it from other components, like CO, FI, etc.
    Commitment items could be linked to G/L either in the master data of the G/L (FS00) or by derivation strategy (FMDERIVE)
    Fund centres could be linked to Cost centres via derivation strategy (FMDERIVE).
    Regards,
    Eli

  • Measurement hierarchy from Essbase to BIEE physical layer

    According to official documents, the measurement hierarchy from Essbase should be imported as one flat level on Physical layer in OBIEE Administration. However, after importing, I can't see those measurements shown ! What I can see is the "Measure" dimension which has 5 gen of hierarchy~
    What I want is to put the measurements (e.g. unit sold / unit sold (east region) / unit sold (west region) / unit count / sales per week .... ) to presentation layer for users. How can I handle this? Is there anything I miss while building the cube in essbase?
    Since my essbase has just been upgraded from v.6 to v.11.
    Does anyone can help? THANKS A LOT !

    Welcome to the wonderful world of OBIEE/Essbase integration!
    Your "Measure" dimension basically should be your Account dimension of Type "Accounts". When a dimension has that type, it will automatically become the "fact" in the flattened out representation in the physcial layer.
    Funny that you mention this since I anyways wanted to blog a bt more on this since I got quite some questions recently (for all who were there: result of that nice discussion in Brighton), since you may have multiple measure hierarchies and then there's a bit more config to do ;-)
    Update:
    I just saw your other post and I'm a bit confused now. You state you have the "Measure" table which I assume means you have it in the BMM layer already. As of 10.1.3.3.2. if you import Essbase metadata, you can just drag and drop it from physical to BMM to presentation layer and the models and presentation tables are created automatically. Not much manual intervention needed (initially, but you'll do a lot of modification afterwards).
    Cheers,
    Christi@n
    Edited by: Christian Berg on May 22, 2009 9:32 AM

  • Error with YTD Share measure from OLAP AW in OBIEE

    I've created an AW using AWM 11g, created an OBIEE repository that uses it, and I'm having trouble getting a particular calculated measure to display in OBIEE.
    I've created a measure called YTD_SHR_REG_PROF, which is the YTD Share of Profit for the Region, and I've included that calculated measure in my RPD file, along with Sales, Profit, and several other measures, both base and calculated.
    Every other measure can be displayed in OBIEE. For example, selecting a Month and its associated Sales, YTD_Sales, and Profit works just fine. However, including my YTD_SHR_REG_PROF measure causes my Oracle Database instance to shut down. Ouch!!
    Here's the wizard-generated definition of the measure:
    (SHARE(UNITS_CUBE.YTD_PROFIT OF CUSTOMER.STANDARD LEVEL CUSTOMER.REGION)) * 100
    I'm selecting Month, Region, Warehouse, Sales, YTD_Sales, Profit, and YTD_SHR_REG_PROF in my Answers request. If I omit YTD_SHR_REG_PROF, it works fine. If I include that measure, it stops my Oracle service.
    I captured the SQL from OBIEE and executed it in SQL Developer and got the same result, shown here:
    Error starting at line 1 in command:
    select
    T902.MONTH_LONG_DESCRIPTION as c1,
    T858.REGION_LONG_DESCRIPTION as c2,
    T858.WAREHOUSE_LONG_DESCRIPTI as c3,
    sum(T930.SALES) as c4,
    sum(T930.YTD_SALES) as c5,
    sum(T930.PROFIT) as c6,
    sum(T930.YTD_SHR_REG_PROF) as c7,
    T902.MONTH_END_DATE as c8,
    T858.CUSTOMER_REGION_ID as c9,
    T858.CUSTOMER_WAREHOUSE_ID as c10,
    T902.TIME_MONTH_ID as c11
    from
    TIME_CALENDAR_VIEW T902,
    CUSTOMER_STANDARD_VIEW T858,
    UNITS_CUBE_VIEW T930
    where
    (T858.DIM_KEY = T930.CUSTOMER
    and
    T902.DIM_KEY = T930.TIME
    and
    T902.MONTH_LONG_DESCRIPTION = 'APR-01' )
    group by
    T858.CUSTOMER_REGION_ID,
    T858.CUSTOMER_WAREHOUSE_ID,
    T858.REGION_LONG_DESCRIPTION,
    T858.WAREHOUSE_LONG_DESCRIPTI,
    T902.MONTH_END_DATE,
    T902.MONTH_LONG_DESCRIPTION,
    T902.TIME_MONTH_ID
    order by c8, c2, c3
    Error at Command Line:1 Column:0
    Error report:
    SQL Error: Io exception: Connection reset
    By the way, the measure displays just fine in AWM with View Data. The values are correct, no problems at all.
    If anyone from the OLAP team is monitoring this forum, could I ask you to try to recreate this issue? I'm using the Global schema.
    I was going to also post the issue in the OBIEE forum, but since the SQL bombs in SQL Developer, I don't think it's an OBIEE issue.
    Thanks!
    Edited by: Mark Thompson on Dec 29, 2008 10:54 AM

    Hi Mark,
    Thanks for the template.
    I observe exactly the same behaviour on my local 11.1.0.7 instance. I found an error in a trace file related to a background thread ('qerfxGCol:KQFDTTIM - Error converting to LdiDateArray') but I cannot be 100% sure it is related.
    Bizarrely, I found that if I strip out the sum/group_by from my query, it completes successfully and the result seems sensible
    eg.
    select
    T902.MONTH_LONG_DESCRIPTION as c1,
    T858.REGION_LONG_DESCRIPTION as c2,
    T858.WAREHOUSE_LONG_DESCRIPTI as c3,
    T930.SALES as c4,
    T930.YTD_SALES as c5,
    T930.PROFIT as c6,
    T930.YTD_SHR_REG_PROF as c7,
    T902.MONTH_END_DATE as c8,
    T858.CUSTOMER_REGION_ID as c9,
    T858.CUSTOMER_WAREHOUSE_ID as c10,
    T902.TIME_MONTH_ID as c11
    from
    TIME_CALENDAR_VIEW T902,
    CUSTOMER_STANDARD_VIEW T858,
    UNITS_CUBE_VIEW T930
    where
    (T858.DIM_KEY = T930.CUSTOMER
    and
    T902.DIM_KEY = T930.TIME
    and
    T902.MONTH_LONG_DESCRIPTION = 'APR-01' )
    I can only assume at this stage that you have uncovered a bug - is this a significant issue for you? and if so, are you able to open an SR?
    Thanks,
    Stuart Bunby
    OLAP Blog: http://oracleOLAP.blogspot.com
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    OLAP on OTN: http://www.oracle.com/technology/products/bi/olap/index.html
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Create file for export data from Essbase

    I wish to create dynamically CalcScript for an unloading of the data from Essbase.
    For this purpose I have created variables for each measurement.
    How to create procedure for generate a file with my variables?
    Thanks.

    Hi,
    There are a number of ways of doing this, you could use the odiOutFile tool and write your script into the text, replacing parts of the text with your ODI variables.
    Or you can hold the script in say a db table or file and then create an interface to write a file, it should replace the variable text with your ODI variables if you declare them in a package.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How can I use home sharing between our iphones (create playlists from both accounts at once)

    How can I use home sharing between our iphones, so that we can create playlists with songs from both of our libraries?  We share a Macbook Pro (separate accounts) and each have the new iphone, but when I have my iphone and try to create a new playlist, I can only grab songs from one account.  Is there a way to create a playlist using both accounts since we are sharing?
    Does it have to be created within iTunes first on our Mac?

    The short answer: because Home Sharing isn't designed for sharing apps, and apps aren't designed to be shared.
    The longer answer:  Think of it like this...
    You download some music in iTunes.  With Home Sharing, another user can listen to it by streaming it over the network.  But the data itself is on your computer.  If you turn off the computer or take it off the network, the other user can't access it.
    But if you send another user the app, they aren't just streaming the data- they installed it on their iOS device.  Because they weren't the one that purchased it, such a transfer could easily be considered "piracy" or "stealing," and nobody likes that (least of all, Apple). 
    When iTunes sees this app, it obviously recognized it, as if saying, "Hey, how did you get this app on your device, if I have no record of you purchasing/downloading it from the iTunes store?"
    post edited to correct spelling errors

  • I created a new apple id account so that I didnt have to share my icloud with my brother, if i plug my phone into my computer onto my new account and sync it, then delete my old icloud from my phone will my new icloud be backed up and have all my pics ect

    I've just created this new apple ID account and i need to know that if i plug my phone into my computer and sync my phone onto my new account, then delete my old icloud and apple account from my phone will my things be backed up onto my new icloud? such as my pictures notes contacts music ect... ?

    Providing your Apple ID is not a .me or a .Mac address, you can change it with Apple and continue to use your account.
    Start here, change your country if necessary and go to manage your account.
    Once who have done this you can then correct it on your mobile device.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    When you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    If however, your Apple ID was a .me or a .Mac address, then you will need to create a new account, follow the instructions above for deleting your account on your mobile device and then tap the "create Apple ID" button to create a new account.

  • I just recently purchased a mini iPad for my child. It was set up in the Apple store with my Apple id. I now want to create an Apple id for my child and switch it over, how can I go about that. I already downloaded some of the games from my account.

    I just recently purchased a mini iPad for my child. It was set up in the Apple store with my Apple id. I now want to create an Apple id for my child and switch it over, how can I go about that. I already downloaded some of the games from my account.

    With a new account, you'll need to rebuy the games.
    Each user should have their own icloud account, otherwise they end up getting the same emails, contacts, calendars, notes, reminders, etc. - usually not what you want.  But if all have been sharing the same itunes ID, keep it that way, you can have different IDs for itunes and icloud.
    If you already have another icloud account, and want to set it up on a device, then go to Settings>icloud, scroll to bottom of screen and tap Delete Account.  This only disconnects the device from that account, no data is lost on icloud.  Then enter the account ID that you want to use.
    To create a new icloud account, go to
    http://www.apple.com/icloud/setup/

  • Creating Support Messages from Satellite System without SolMan user account

    Hi
    We are having some problems with users "creating support message" from our ECC system  to SolMan, if the user does not have a user account in Solution Manager.
    It is not correct, that users from Satellite systems can create support messages from these systems, without the user having an account in Solution Manager? And that the user is identified by the business partner for the user, that must exist in the Solution Manager system ?
    We have set up the RFC for the supportmessages between SolMan and the ECC system as trusted RFC, with the "Current user" as the user, but how should this be set up, if the user does not have an account in the Solution Manager system. If we enter a user with the right authorizations in the RFC, will the messages that come through not just appear as created by that user, instead of the ECC user and corresponding business partner ?
    Regards
    Lars

    Hi,
    you can use the use the user for the RFC-Connection in that case. I have customizied a similar scenario. In my scenario the System from which the message was created, is the business partner (SOLD-TO-PARTY). For that you have to create a communication user (i.e SOLMAN<SYSID>). In TA SM59 in the satellite-system you assign this user for the connection. (Don't forget to assign the user to the role "SAP_SV_FDB_NOTIF_BC_ADMIN"). Now, it schould be possible to create messages from the satellite system to the solution manager. Additionally you should create business-partner for each user of the satellite system, by using TA DSWP>EDIT>CREATE BUSINESS PARTNER.
    With this TA, it is easy to create BP for each satellite system.
    Best regards
    Marc

  • TS4147 How do I resolve duplicates resulting from contacts created from different accounts?

    I have duplicate contacts in my address book. I discovered by merging that the duplicate contacts were created from different accounts. How do I ID the account the contact was created from? Note: the duplicates are in my address book only. I do not have any duplicates on iCloud.
    Brian

    This user tip might help you understand how accounts work with Address Book.

Maybe you are looking for

  • Error on page when selecting a Risk for Mitigation from CUP

    Hi, I am not getting the link to Mitigate the riks for the Roles requested from CUP. when I am trying to select the risk to mitigate after the Risk Analysis is done from RAR and the report is fetch to CUP no links are showing. It shows error on the s

  • Upgrade to Elements 11 and Premiere 11 for Windows

    I purchased an upgrade to Elements 11 and Premiere 11 for Windows a couple of days ago. When I tried to install, I received the following error message: "The installation process has encountered an error while installing Shared Technologies. Please r

  • Says starting but never starts

    Hi , not sure if i'm posting in the right bit  ,     Ever since the new update I have had problems , first of all it kept erroring  when trying to do  the update but I  fixed that ,  now it just  says please wait with just the blue/grey background no

  • Como puedo encontrar mi ipod desde mi pc??

    como puedo encontrar mi ipod desde mi pc??

  • Film burn effect for motion or FCP

    Hi guys and gals - I'm making some "cine film" looking footage that I want to make look as though its caught in a projector and burns out/melts! has anyone got any suggestions for making this in Motion either to do all post production or to apply in