YTD in Measures or TIME

Hi Guys,
I wonder what is best practice, having YTD and MTD as a Measure for each of the core measures like:
Actual
Actual YTD
Actual MTD
Budget
Budget MTD
Budget YTD
.. about 30 measures
Or having it in the time dimension
2010
---Qtr
----Jan
-----Jan YTD
-----Jan MTD
-------1
-------2
-------3
-------4
-------

While I agree with Cameron I also disagree with him at the same time. There are many isntances where it is favorable to have these calcualtions outside of the time dimension. Doing MDX range based formulas in an ASO cube is one. Also using TB in ASO cubes is another. Cameron's point "you are duplicating members for Actual, Budget, etc" is slightly accurate. Typically you are creating formula based member based on those other members. If a BSO cube is you make the formula members dynamic, you have not increased block size or calculation time. What I think one of the best solutions is what Gary Crisci describes in his blog as an Analytic (what I call a View) dimension. It works well for either ASO or BSO and really does not increase your DB size.

Similar Messages

  • BPC 75NW YTD / Periodic Measure query

    The Application is currently set to YTD. The Inputs are therefore done on YTD level for Costs. Headcount is a statistical account with AST account type, so YTD/Periodic measures become irrelevent.
    Now, What I need is Periodic Costs  Divided by HC to get Cost/HC (Cost_HC_Centre) and this is the script that I am running:
    *SELECT (%BUS%, "[ID]", BUSAREA, "[CALCULATION]=Y")
    *FOR %YEAR%=2011,2012
    *FOR %MONTH%=JAN,FEB,MAR,APR,MAY,JUN,JUL
    *FOR %BA%=%BUS%
    *RUNALLOCATION
    *FACTOR=1/USING
    *DIM CATEGORY WHAT=ACTUAL; WHERE=<<<; USING=<<<
    *DIM TIME WHAT=%YEAR%.%MONTH%; WHERE=<<<; USING=<<<
    *DIM DATASRC WHAT=INPUT; WHERE=<<<; USING=<<<
    *DIM FLOW WHAT=F_999; WHERE=<<<; USING=<<<
    *DIM CURRENCY WHAT=INR; WHERE=<<<; USING=<<<
    *DIM COSTCENTER WHAT=[BUSAREA]="ADM_%BA%"; WHERE=<<<; USING=NO_COSTCENTER
    *DIM PROCESS WHAT=NO_IO; WHERE=<<<; USING=BAS(%BA%)
    *DIM ACCOUNT WHAT=BAS(Salary_and_Benefits); WHERE=Cost_HC_Centre; USING=HC
    *ENDALLOCATION
    *COMMIT
    *NEXT
    *NEXT
    *NEXT
    By doing so, it is calculating it as YTD Cost / HC where I need Periodic Cost / HC
    Please let me know how can I achieve the same.
    Thanks.

    Is measure formula for PERIODIC working as expected ?If not ,you might need to calculate periodic values and store in PERIODIC  measure . and then use periodic measure in the logic.

  • LabVIEW/SignalExpress: How can I automate measuring the time between two pulses?

    Hi everyone, bit of a newbie here so please bear with me.  
    I'm a student at a university conducting a muon decay experiment with an oscilloscope connected to some photomultipliers.  To summarize, if a muon enters the detector it will create a very small width pulse (a few ns).  Within a period of 10µs it may decay, creating a second pulse.  The oscilloscope triggers on the main pulse 5-15 times per second, and a decay event happens roughly 1-2 times per minute.  I am trying to collect 10 hours of data (roughly 1500-2000 decay events) and measure the time it takes for each decay.
    I've been able to set recording conditions in SignalExpress that starts recording on the first pulse and stops recording on the last.  The Tektronix TDS 1012 oscilloscope however feeds 2500 points of data from this snapshot into a text file (for use in excel or other software).  Even if I perfectly collected the data, I would have 100,000+ data points and it would be too much to handle.  I don't know how (or if it's possible) to reduce the sample size.
    To conclude, using Labview or SignalExpress, I would like to be able to have the software
    1.  Differentiate between the single pulse detections and double pulse decay events
    2.  Record only when two pulses appear on the oscilloscope
    3.  Measure the time between these two pulses and ONLY that to minimize the amount of data recorded.
    Any help would be GREATLY appreciated, thanks!

    Hi wdavis8,
    I am not that familiar with Tektronix, but there should be a place in the dialog that you go through when you create the action step to acquire date to specify a sampling rate. That would allow you to reduce the number of data points you are seeing, but may reduce the quality of the data.
    If it’s just a matter of that much data being hard to dig through when you have that many points, you could do some analysis on the data after the fact, and then create a new file with only the data you want to look at. For example, you could identify the peaks in the data, and based on the distance between them or the difference in magnitude, selectively write data to a new file.  
    Here is some information about peak detection in LabVIEW:
    http://www.ni.com/white-paper/3770/en/
    You could also do some downsampling on the data to get fewer data points:
    https://decibel.ni.com/content/docs/DOC-23952
    https://decibel.ni.com/content/docs/DOC-28976
    Those are just a few quick ideas. 
    Kelsey J
    Applications Engineer

  • How to measure the time a pulse is high for?

    I am using Pulse measure.vi to measure the output of a comparator. My comparator output feeds to an LED. The duty cycle is 50% so the LED just flashes on and off. I want to measure the time the output is high ('ON time') and I have been getting this by just multiplying the pulse width measure by the no. of pulses but I want to modify it to measure the 'ON time' of random signals with different duty cycles...
    The aim is that I am taking in a signal and need the LED to turn on when the signal 'ON time' reaches a certain specified time.
    But before I continue with the LED I am wondering how to add up the time the signal is high for?

    Hi PinkLady4218,
    You should be able to use one of the shipping examples to do what you need, please open LabVIEW and go to Help >> Find Examples.
    From the Example Finder please go to Hardware Input and Output >> DAQmx >> Counter Measurements >> Period or Pulse Width >> Meas Buffered Semi-Period-Continuous.vi
    You will then need to deinterleave the output array as it will show high time then low time then high time then ...
    You will need to confirm the order these values appear and then you can use a function from the arrays palette and use the function "Decimate 1D Array"
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

  • How do I move my playhead in exact measures of time?

    Relatively new to AE and want to know how do I move my playhead in exact measures in time.
    For example in a 59.94 project,  I'm at  1:00:14 and want to move back 36 frames. In Premiere Pro I just type "-36" and I jump back 36 frames.
    I tried in AE and it went to -36 frames in the comp. Basically before my time line ever started. I've tried ".36" "0.36" ".0036" with identical results Back to -36 before the comp begins.
    Anyone have a solution? I cannot find it in the manual.
    Thanks in Advance

    from After Effects Help:
    "To go forward a specific period of time or number of frames, click the current-time display, and then enter the plus sign ( + ) followed by the timecode or number of frames to advance. For example, enter +20 to go forward 20 frames or 1:00 to go forward one second. Precede the value by the minus sign ( - ) to go backward. For example, enter +-20 to go backward 20 frames or +-1:00 to go backward one second."

  • How to measure the time of evolution of a signal in a graph and to compare this time measured with a known value?

    For my application, I am obliged to measure the time of evolution of a signal acquired (from T1 to t2) by an analogical entry of a module NI 9203, and to compare this value with a value known in order to judge if this time of evolution is correct or not.
    PLEASE I prefer an example for better understanding.

    Greetings Jacob,
    I am not sure what you mean with 'time of evolution' but normally you acquire at a certain acquisition rate. How much time that has passed, you can calculate by checking how much points are between your two points of interest.
    If you are acquiring at 5Hz, the time between every point is 200ms. If there are let's say 10points between your two points of interest, 2s have passed.
    Regards,
    Wouter
    National Instruments

  • I want to measure te time between the peaks

    I need to measure the time between each peaks (QRS peak) in an ECG waveform continuously and plot on the chart.
    Can u please help me with this.

    Hello kok,
    Here is an example.  I am using a sine wave instead but it will still work.  Just put in the threshold to be above the itnermediate peaks that you want to ignore but below the peaks you want to get.  The VI will then tell you what location inside of the array the peak occured.  You can subtract each location from each other to find how many elements pass between peaks.  You can then multiply the number of elements between peaks by the amount of time between each sample.  I hope this helps.
    Steven T.
    Attachments:
    rrmeter.vi ‏16 KB

  • Measure execution time with PowerShell

    What would be the best way to accomplish following:
    1. Get start time and write it to variable
    2. Do something
    3. Get end time and measure how long it taked from start to end and store the result in variable
    I would need the result be in format like this hours:minutes:seconds and to support 24 hour clock so if the execution starts e.g 11:30 and ends 14:30 it shows correct time.

    PowerShell already comes with a CmdLet that allows you to measure the time a script block takes to execute, that sounds like what you are after.
    See these for more details on Measure-Command:
    https://technet.microsoft.com/en-us/library/hh849910.aspx?f=255&MSPPError=-2147217396
    https://technet.microsoft.com/en-us/library/ee176899.aspx

  • How can I measure the time difference between spikes (interspik​e intervals)

    I have used NI USB-6008 (DAQ) to sample a continous signal, after sampling I compared the amplitude of the resulted signal with a value. If the amplitude is greater than a specific value (threshold) then it can pass. Now I want to measure the time difference between the resulted samples. The samples look like spikes. (May be if I trigger a timer, then I can measuer the time difference, but I have not seen such a timer). 
    Thanks in advance,
    Saraydin

    Oops just occured to me that you are using a 6009 which is not very fast, 48ks/sec, this will not get you very much time resolution and you could have issues seeing much of a 50 us sample.  Another approach is to use the counter but you would have to preprocess the spikes to generate a trigger for the counter.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Unable to measure pulse time, using Counter pulse time 1samp.vi

    Hi
    I am using pci6624 board to measure pulse time . I have selected counter 0 to measure  pulse time & connect the signal to gate0+ & gate0-.
    When i used Counter pulse time 1samp.vi to read the pulse time , i am not able to read the value and i am getting following error msg . If i used Counter DBL 1samp.vi  i am getting out put.
    Please help me
    Attachments:
    pulse_time_measurment.vi ‏11 KB
    Counter_errors.JPG ‏44 KB

    Hi,
    You can try changing the mode to counter -> single sample -> DBL in Daqmx read function
    You can also try this example 'Meas Pulse Width-Buffered-Cont.vi' or related examples from NI Example Finder.
    Cheers,
    Sahil Gupta
    NI India

  • Tool for measuring execution time?

    Hi,
    i'm trying to measure the time of some determined methods in my app.
    I've tried System.currentMillis(), but i don't get the accuracy i need (System.nanoTime() - from 1.5.0 sdk won't help me neihter).
    Does anyone know a simple java tool that i can use to do this ???
    I thought about optimized (borland), but i just don't have it :-( also i don't know if it ease to use (and i need this measuring as soon as possible).
    Thanks for any sugestion,
    ltcmelo

    <<In Windows at least the resolution of System.currentTimeMillis() seems to be 10ms.
    If the operation that takes 9 ms is called a thousand times, and the one that takes 5 ms is called 20
    million times, and the one that takes 1 �s is called 200 million times, all will be fast to measure,
    all will come in at zero ms by currentTimeMillis(). It would be useful to know the respective execution times of each method.>>
    This is not correct. Windows does have 10 ms. granularity, however if you average many measurements this limitation disappears.
    For example let's say that a particular method takes 5 ms. on average and we take 10 measurements. You claim that the 10 measurements will all be 0, whereas the actual measurements will either be 0 or 10 depending on how close the clock was to ticking when currentTimeMillis() was called. For example the 10 measurements might look like 0, 0, 10, 0, 10, 0, 0, 10, 10, 0. If you take the average of these numbers you get quite good accuracy (i.e. 50/10=5 ms. the actual time we said the method took). In principle the average should even get you sub-ms. accuracy.
    Try it with jamon (http://www.jamonapi.com). JAMon calculates averages and so gets around the windows limitation. If you are coding a web app then jamon has a report page that displays all the results (hits, average time, totals time, min time, max time, ...). If not then you can get the raw data and display it as you like.
    One question for the original poster. Why do you think you need sub-millisecond timings? If you are coding a business app IO tends to be the bottleneck and much greater than sub-millisecond.
    Steve - http://www.jamonapi.com - a fast, free monitoring tool that is suitable for production applications.

  • Measuring the time duration of a Java webdynpro event

    Hi everybody,
    I would like to know if there are a standart wy of measuring the time duration in seconds of a Java webdynpro event.
    We are developing a Java Webdynpro application and we need to improve the performance of our business logic associated to the events which are thrown by our java webdynpro views. We want to do this by a stardart way, and if it possible without coding any line. So, is there any kind of monitorization of this information? or is there a tool to do that?
    We would need this information:
    - Name of View
    - Name of event
    - Start time
    - End time  
    Thanks for all.

    Hi Antonio Sanz ,
    Did you do logging for your application?
    If so, you can go and get the information from the logs.(This includes the time in milli seconds)
    (Assuming that you have written the logs at starting and ending of each method.)
    If not, I think it is not possible with out code change.
    If you want to do the code change you can do like this:
    method start(){
    long startTime = System.currentTimeMillis();
    long endTime = System.currentTimeMillis();
    long timeTaken = endTime - startTime; // You can print the "timeTaken" on the screen or you can log the information.
    Regards,
    Jaya.

  • I need help regarding measurement of "time domain parameters of Heart rate variability" using labview.

    I need help regarding measurement of "time domain parameters of Heart rate variability" using labview.
    I am using Labview 8 ... I  need to develop a software to accquire the ECG data (simulated enironment ) and compute the time domain parameters of Heart rate variability like "SDNN, SDANN...etc". Can some 1 plllzzzz help me out.Plzz help me if u can.Thanx in advance.

    Hi Andy,
      Thanx for responding.  The input is from a text file. SDNN, SDANN,etc are  the timedomain parameters of heart rate variability.
     SDNN: the standard deviation of the NN or RR interval  i.e. the square root of variance.
    SDANN:the standard deviation of the averageNN interval calculated over short periods, usually 5 min,which is an estimate of the changes in heart rate due tocycles longer than 5 min
    SDNN index, the meanof the 5-min standard deviation of the NN intervalcalculated over 24 h,
     RMSSD: the square root ofthe mean squared differences of successive NN intervals
    NN50: the number of interval differences of successiveNN intervals greater than 50 ms, and
    pNN50 the proportionderived by dividing NN50 by the total numberof NN intervals.
    The problem is dat I am a fresher to the world of Labview. I have jus recently started working on it. Can u please suggest me some some idea as soon as possible.
      As i said  I have the ECG data in the form of text files..I need to create sort of GUI to calculate the time domain parmeters....I need help urgently. Plzzz help me if u can. If u have and .vi example to calculate the RR interval plzz send it to me ASAP.
    Thanku

  • How can we measure the time of excecution of our Java program?

    i have a java application program which runs depend upon the user input.
    I want to analyze how my application works.
    So i want to measure the time of execution.How can i do it?

    makpandian wrote:
    ..i want to measure the time of execution.
    long startTime = System.currentTimeMillis()
    doTimeConsumingTask();
    long endTime = System.currentTimeMillis()
    System.out.println(  "The task took " + (startTime-endTime)/1000 + " seconds." ); Edit 1:
    I see I was 'too slow off the mark' by 5 minutes. ;)
    Edited by: AndrewThompson64 on Jul 19, 2009 10:58 PM

  • How to measure the time?

    i have two buttons. first the user has to press the first button, then he has to press the second one. I want to measure the time between the two clicks? How can I do this?
    thx Ingo

    The method with the timer will work fine in this case...I thinck that creating a timer with a period of 50-100 miliseconds will do the job(this depends of course on the amount of elapsed time that you generaly expect to pass )...the time error will be less than the period of the timer...Of course,this is in client server..
    In web,I thinck you need to use the JAva way...in fact,you can use the java class even in client-server with the java importer...
    If you use a java class even in c-s,the results will be very accurate

Maybe you are looking for