How to use the Time Variants PYTD and Prior Year Annual?

Hi,
We have a time dimension which has the generic columns i.e Month, Year.
We need to calculate the Time variants for the Facts Say Sales. I was able to calculate the Prior Month, Current YTD
I have some doubts regarding the other variants:
1. Prior Year : Does this include the Prior Year Annual?
2. Prior YTD: How to calculate it?
Somehow I am getting the same results for PYTD and Prior Year.
The formula used are :
Prior Year:
AGO(Sales, Year, 1)
PYTD:
AGO(Sales CYTD, Year, 1)
Has anybody encountered similar issue?

I assume the Sales measure is a monthly measure. The Prior year calculation as I described will give you the sales for the same month in the previous year when selecting month in your report. When selecting year it will add up all months of the prior year until now and you will indeed see the Prior year YTD.
If you want to see the total sales for the previous year you have to use the same calculation as 'Prior year' and map it to the year level of your time dimension. This will work as a 'partition by year'.

Similar Messages

  • How to use the time machine?

    how to use the time machine? because i don't know where to find the back up. can you please help me.. thankyou.

    Time machine is a backup application and service that come with Leopard. When you plug in an external drive you can use it as a backup source. All you do is select the drive in the Time Machine control panel and start the backup. It will back up your whole drive and if you lose a file, go to the location on your drive where that file should be and open the Time Machine application. From there you will be able to migrate to all the points in "time" when the file was changed, and select the version of the file that you want. Then select "restore" and the file will be restored to the location where it last was on your drive.
    For more information check out the Time Machine website:http://www.apple.com/macosx/features/timemachine.html

  • HT201250 I backed up my iMac with a "WD My Passport" using the Time Machine option and tried to restore my iMac but it only saved my applications none of my documents, photos nothing else! What happened?

    I backed up my iMac with a "WD My Passport" using the Time Machine option and tried to restore my iMac but it only saved my applications none of my documents, photos nothing else! What happened?

    There should be two sparse bundles on the TC, one for each Mac.  If you click the TC in a Finder sidebar, you should see something like this (in Column View):
    If you see the sparse bundle for the iMac there, but not on the window where you do a full system restore (after starting from your Recovery HD or OSX Install disc), they may be corrupted (especially if your iMac was failing at the time of the last backup).
    Try repairing those backups, per #A5 in Time Machine - Troubleshooting.
    Then try the full restore again, per Time Machine - Frequently Asked Question #14.  Note that if you suspect problems on the most recent backup, you might want to select an earlier one.

  • How to use the time capsule with my existing router?

    Here is my situation. I have Alltel PCD UM185 USB modem for their mobile broadband internet. I have a Cradlepoint MBR1000 router which I plug the usb modem into to share the internet through a wireless network which has WPA security on it. I want to use my 1TB time capsule to backup the computers in my house wirelessly and not as a router. What connection do I need to make and how to do I setup the time capsule this way? I can't figure it out. Thanks for any help in advance. If you need more information just ask.
    Thanks,
    John

    Steven's solution will work just fine if you want to connect the Time Capsule using ethernet.
    You might also consider configuring the the Time Capsule to "Join" the wireless network. In this type of configuration, backups would occur only over wireless and you could locate the Time Capsule virtually anywhere it can receive a good, strong wireless connection. Important Note...the ethernet ports on the Time Capsule are not enabled in this type of configuration, so you will not be able to connect using ethernet.
    Open AirPort Utility and click Continue
    Then select the option to "Join a wireless network" and follow the prompts

  • How to use the method calendar.getTimeInMillis() and setTimeInMillis(bb)

    I have met some problems in writing my programme,I want to know what the time is after every 20 minutes so have written some codes as below ,but the compilar warned me that there are some errors in them ,and I don't know how to use them correctly ,can you help me?
    Thank you very much!
    the code is:
    begin=datime+" 00:00:00";
    Calendar calendar=Calendar.getInstance();
    DateFormat df = DateFormat.getDateInstance();
    Date start=df.parse(begin);
    calendar.setTime(start);
    long aa=calendar.getTimeInMillis();
    calendar.setTimeInMillis(aa);

    Hopefully the following snippet of code will help you out (note that the Date class seems more appropriate for what you need to do):
    import java.util.*;
    import java.text.*;
          String begin="00:00:00";
          SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss");
          df.setTimeZone(TimeZone.getTimeZone("GMT"));
          Date start=new Date();
          try {
             start=df.parse(begin);
          } catch (Throwable e) {
             System.out.println("Invalid time format");
          long aa=start.getTime();   // to get the time in milliseconds
          System.out.println(aa);    // just to see what the answer is (should be zero)
          start.setTime(aa);         // to set the time in milliseconds
    ...V.V.

  • How to use the built-in camera and mic for commercial video conferencing

    I would like to use the camera and microphone to join a commercial video conference - not iChat. How do I do that?

    Hi
    Dont know, you dont say which commercial video conference software is involved.
    Tony

  • How to use the b2b to send and recieve HL& message  without SOA Composite

    Hi Guru's
    We are doing HL7 transactions at our end. We have following use case
    Inbound partner gets the HL7(ADT) message and then without any transformation we wan't to send the message to another partner ( set up in the same b2B). I understand I can do this way
    b2b--> SOA Composite--> B2B
    but we don't want to use the SOA composite here as it is simple passthrough ( i.e no transformation of data is done).
    I understand B2B when it gets the message puts in IP_IN_QUEUE
    Can b2b( remote tp) read directly from IP_QUeue and send it.
    I mean it has this strcuture
    Inbound tP--> HOST--> Outbound TP
    by doing this we will have no need to create the SOA composite. I hope this should be possible. I tried using the listening channel but outbound TP did'd got any message. Can you please guide me in all the steps I need to follow in order to set this up?
    Any pointers will be highly appreciated as this will eliminate the SOA composite from the picture.
    Regards
    Sahil

    Hi Sahil,
    Yes, it can be done using HUB mode implementation. Please refer -
    http://blogs.oracle.com/oracleb2bgurus/entry/implementing_oracle_b2b_11g_as
    A sample configuration is also provided there (for HL7 itself).
    Regards,
    Anuj

  • How to use the lcds in flex and how use the messageing serviecs in blazeds ?

    I have a problem with messageing servies in Blazeds i used the romte and proxy very well but messaging services ?

    Hi
    Dont know, you dont say which commercial video conference software is involved.
    Tony

  • Trying to use the customer exit to retrieve prior year dates HELP

    i have the code below where i want to return a to & from date of the prior period.  the "TO" date is always the 1st of the month of the day they entered - 1 to get prior year.  when i debug they are populated but I get an error when i run the query sayin gthe enhancement has errors. 
    CASE I_VNAM.
      WHEN 'ZD_TOFROMDATEPRIOR'.
        IF i_step = 2.
          loop at  I_T_VAR_RANGE INTO Loc_Var_Range
          where vnam = 'ZD_DATEENTERED'.
            Clear L_S_Range.
            L_S_Range-low0(4) = Loc_Var_Range-low0(4) - 1.
            CONCATENATE L_S_Range-low0(4) loc_var_range-low4(2) '01' INTO L_S_RANGE-low.
       CONCATENATE L_S_Range-low0(4) loc_var_range-low4(2) loc_var_range-low+6(2) INTO l_s_range-high.
         l_s_range-high = loc_var_range-low+4(4).
            L_S_RANGE-sign = 'I'.
            L_S_RANGE-opt = 'BT'.
            APPEND L_S_Range TO E_T_RANGE.
          endloop.
        ENDIF.
    ENDCASE.

    In case you haven't considered it, there is an easier way to accomplish this.
    Since you are ignoring the day anyway, change your query to prompt for Calendar Month/Year or Fiscal Year/Period instead of prompting for a date range, then use variable offset of "-12" on first entry ("From") to get prior year's data.
    Alternatively, you could use the current date range variable with an offset of "-365", but it doesn't sound like that would be good enough in your case.
    Hope this helps...
    Bob

  • How to use the palette or drag and drop functions in netbean?

    Is there anyone who can help me out on using drag and drop function in netbean to design GUI inteface..??
    Is palette is the tool that can be used to drag and drop.??
    thank you in advance.

    I actually really like the GUI builder in netbeans. I used to be a big eclipse user so I am very familiar with coding GUIs by hand, and most of what I do involves GUI's or at least swing.
    At first I hated netbeans, I hated that I couldn't edit the code most. Then I decided to take a deep breath and really examine the issue. What I discovered is that most of the edits I wanted to make but couldn't really weren't the right way to be doing it in the first place, for the rest the code is actually really easy to change you just have to know how.
    Now my palette is huge, probably about 250 objects in it organized into sections that work for me. Basically if I want a object to do something that is not already in the palette I simply write a new object and add it to the palette. I started small like with rounded buttons/progress bars, and as I got comfortable I now have some fairly advanced objects like grids, isometric grids, alpha composits, an animated hourglass countdown timer, and an animated "loading/activity" indicator that is not tied to a progress indicator.
    The main reason I stuck with the netbeans drag and drop GUI builder is it's layout manager is really a very nice layout manager, you couldn't pay me enough to go back to eclipse or codeing GUIs by hand, as I can now do in one day what used to take me several weeks.
    So what I am saying is stick with netbeans and the drag and drop, it sucks at first, but once you get to a point where you are comfortable with it and adding to the palette it will become a great tool.
    JSG

  • How to use the table maintenance events for validating the input entries..?

    Hi,
    I have created a Z table with 6 fields in which all are KEY fields. All are of CHAR type. I have created the Table Maintenance Generator for the same. While maintaining the entries in the table, even though I maintain a blank entry for a field it is saving the entry. But, I don't want that way. All the fields are mandatory in my table. One should enter all the fields. Otherwise it should not allow to save the entry. So, I think it can be done using the Table Maintenance Events. can someone tell me how to use the Table Maintenance Events. and which event to use for my reuqirement and what is the logic to be written.
    Or Is there any other way to solve my problem.
    Please share your inputs. Thanks in advance.
    Best regards,
    paddu.

    In the table maintenance generator, Environment --> Modifications --> Events then a screen will be appear here,we need to create the Events.In the EVENTS screen, press new Entries, there give 01(Before Saving the Data in the Database) and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write ur code.
    Here is documentation for Event 01(Before Saving the Data in the Database )
    Event 01: Before Saving the Data in the Database
    Use
    This event occurs before new, changed or deleted entries are written to the database. Other activities can be performed, for example:
    hidden entry processing
    fill hidden fields
    flag data to be written to hidden tables after the database change.
    To have the changes saved by the central maintenance dialog routines, SY-SUBRC must be set to 0 at the end of the routine.
    Realization
    This event has no standard routine. The following global data is available for the realization of the user routine:
    internal table TOTAL
    field symbols
    field symbols <ACTION> and <ACTION_TEXT>
    <STATUS>-UPD_FLAG
    If internal table data are to be changed before saving, t he changes should be made in both the internal table TOTAL and in the internal table EXTRACT.
    FORM abc.
    DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found
    LOOP AT TOTAL.
    IF <ACTION> = desired constant.
    READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
    IF SY-SUBRC EQ 0.
    F_INDEX = SY-TABIX.
    ELSE.
    CLEAR F_INDX.
    ENDIF.
    (make desired changes to the line TOTAL)
    MODIFY TOTAL.
    CHECK F_INDX GT 0.
    EXTRACT = TOTAL.
    MODIFY EXTRACT INDEX F_INDX.
    ENDIF.
    ENDLOOP.
    SY-SUBRC = 0.
    ENDFORM.
    Regards,
    Joy.

  • How to Use the JAVA SCRIPT code in .htm page of the component

    Hi .
    In my requirement i have to use Java Script Function in .htm code ..how to use the java script code and functions in .htm???
    thank you
    B.Mani

    Check this document  [Arun's Blog|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUI-TalkingwithJava+Script]
    Regards
    Kavindra

  • How to control the time.

    I 'am a Java beginner but already know OOP.
    I would develop an alarm which helps me to remember my appointment of the day, i.e. I schedule at the 17:00 the dentist appointment, so my application alrm me.
    I need a class that monitors the clock fo my PC and when it 's 17:00 my application start.
    I thought to use the class Timer (in particular the scheduler method).
    Thank you in advance.

    You can use the Timer or TimerTask and schedule a task every 1 minute.
    In the task, you have to
    1. Use getHours() to get the current hour.
    2. Compare it with the alarm time.
    If equal, set off the alarm..

  • How to use the knowledge base category hierarchy?

    Hi !
    I read documents about the knowledge base, I know Oracle Text supplies English and French knowledge base, but I would like to know how to use it, how to handle it. If I want to had some themes, or delete some.
    Is there a table containing the knowledge base?
    Is there someone can help me? Thanks in advance
    Have a nice day
    PS : sorry for my poor english

    Thank you very much M. Omar R Alonso for your reply.
    I checked in the documentation how to use the ctx_query.hfeedback procedure, and I tried the example provided. But it doesn't work, the bt_feedback, rt_feedback, nt_feedback columms have never filled.
    I'm not sure that the knowledge base is already supplied in Oracle Text, because also, when I execute a query like :
    select ID_TXT, score(1) SCORE from TEXT_BASE where contains("idx_txt","sport",1)>1 order by SCORE DESC
    The results are the same as
    select ID_TXT, score(1) SCORE from TEXT_BASE where contains("idx_txt","about(sport)",1)>1 order by SCORE DESC
    So, I don't know if it uses the knowledge base or not.
    Thx again

  • How to use the fixed exchange rate  1009 (global rollout subsidiaries)?

    Hi Experts,
    I am doing currency conversion.My requirement is i need to take fixed exchange rate type of 1009.
    I am handling 16 different types of currencies that to be converted into US$.
    Can anyone help me out how to use the exchange rate(1009) and do the currency conversion?
    Thanks in advance
    Ganesh

    Hi,
    Look here for currency conversion:
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=currency+conversion&adv=false&sortby=cm_rnd_rankvalue
    Cheers!
    Amit

Maybe you are looking for

  • Export to Excel from Database using JSP

    Hi Experts, I'm using below jsp code to export from an Oracle table to Excel using JSP. Every time I run this code I get the exception - "java.lang.OutOfMemoryError: Java heap space". I need to download around 8000+ records of the table containing 60

  • Check on PO value wrt PR value???

    Dear Friends, I want to put check on PO line item  value should not be greater then PR  line item value. please suggest me. Currently in our system PR price comes from Material master and PO price from Inforecord and there is no linkage between PR va

  • Flex Without VC?

    Hi Experts, I have got two questions for you. 1. Can I use Flex without VC? for example, is it possible to use flex with WAD 3.x? 2. Can I use VC without Portal, we don't have portal installed? Can anyone please explain me how VC works. Any pointings

  • InstallAllOracleASPNETProviders.sql &CurrentUser var

    Installed ODTwithODAC1110720 on Vista64 and executed InstallAllOracleASPNETProviders.sql afterwards as suggested from SQLDeveloper. A dialog pops up "Enter substitution variable currentuser". So I type in my user name... A few hours and a thousand di

  • Can't open iphoto's.

    Since having a new hard drive I am unable to open iphoto's. Message states - "You can't open application iphoto because it may be damaged or incomplete" Does this mean I've lots all my photo's? Any help appreciated, however I'd need help in basic ter