How to Calculate the minimum of all the dates in a column

Hi Reporting gurus,
I have to reporting requirement where i need to calculate the Actual cycle time.
This is how it goes.
The last four column should have
Actualstartdate(column1)
Actualfinishdate(column2)
column3 is the minimum of all the date values in column1(actualstartdate) i.e.,all the dates in column 3 should be same which is the minimum date value of column1.
column4 is the Actual Cycle time(column2 - column3)
somebody please throw light on this.
Thanks in advance,
Regards
Sam Mathew

Sam,
If the dates are available as key figures, then simply compare.
(KF1 < KF2) * KF1 + (KF2 <= KF1) * KF2
This forumla should go in column 3 and then column 4 will be CL4 - CL3.
This report has to run at the lowest level, i.e. line item or document number. If you want to run it at a higher level, then create these as calculated KF on the cube and divide the result by a count of the lowest level, i.e. document number/line item using exception aggregatoin or a counter key figure. Resulting value will be an average.
Aneesh

Similar Messages

  • How to take the back of all the Projects from PWA 2007 to PWA 2012

    I had already created projects in PWA 2007 and i want to take the backup of all the projects in PWA 2013 .how to do that .Please reply soon.

    Hi,
    assuming you want to use Project Server 2013 (there is no 2012).
    If you want to get everything from 2007 into 2013, you should perform a migration:
    https://technet.microsoft.com/en-us/library/ee662496(v=office.15).aspx,
    https://technet.microsoft.com/en-us/library/ff603507(v=office.15).aspx, and
    https://technet.microsoft.com/en-us/library/ff603507(v=office.15).aspx#section3
    If you only need to get certain projects, you can save them as local file from 2007 and re-save them to 2013.
    Does that help?
    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 dowloaded ios5 for my iphone4, and when i finished the backup i lost all the music and all the videos i bought from the iTunes store. How can i get it back?

    I dowloaded ios5 for my iphone4, and when i finished the backup i lost all the music and all the videos i bought from the iTunes store. How can i get it back?

    Backup do not contaiuns music or apps, you will either need to resync them from your itunes computer, or you can go to purchase history in itunes or app store app and go to purchase history and redownload them.

  • I accidenttly deleted my notes and the icloud cleared all the message from both ipad and iphone  ...How can i get it back?? If I can ??

    I accidenttly deleted my notes and the icloud cleared all the message from both ipad and iphone  ...How can i get it back?? If I can ??

    Your notes should be stored in your backup, so if you have backed up the iPad and that backup does contain those notes that you deleted, you can try restoring from your backup. If you haven't backed up the iPad since you created those notes, they are gone.
    If you backup with iCloud only, restoring from backup involves erasing the device and then going through the setup all over again and finally restoring from the iCloud backup. This article explains the process quite clearly.
    http://gigaom.com/apple/ios-101-set-up-and-restore-from-icloud-backup/
    If you backup with iTunes, connect the iPad to your computer, launch iTunes and right click on the device name on the left and select - Restore from Backup. But before you do that .... turn off auto sync in iTunes - without connecting the iPad - launch iTunes and go to Edit>Preferences>Devices and check the box at the bottom of that window in order to turn off auto sync.
    Email messages are not stored in your backups.

  • How can i print logo in all the page

    i've created a form(SAP script) which have  five page.pls can anybody tell me how can i print logo in all the five page?

    hi,
    u can try this in
          windows
    change window type as CONST or MAIN.
    cheers,
    sam

  • How can we take backup of all the RDL'S existing at Report server dynamically at one time

    How can we take backup of all the RDL'S existing at Report server dynamically at one time ? I want to take backup of all the reports existing at the report server dynamically at one time only. currently I'm able to take backup of the reports folder wise
    using VBScript. and I have to pass the folder names again and again. I want this to be happened for all the reports of all the folders at single shot only using VBScript.

    Hi DineshRemash,
    Based on my research, we can store the following VB Script to a text file, then modify the file name extension from .txt to .rss.
    Dim rootPath As String = "C:\Reports"
    Sub Main()
    Dim items As CatalogItem() = _
    rs.ListChildren("/", true)
    For Each item As CatalogItem in items
    If item.Type = ItemTypeEnum.Folder Then
    CreateDirectory(item.Path)
    Else If item.Type = ItemTypeEnum.Report Then
    SaveReport(item.Path)
    End If
    Next
    End Sub
    Sub CreateDirectory(path As String)
    path = GetLocalPath(path)
    System.IO.Directory.CreateDirectory(path)
    End Sub
    Sub SaveReport(reportName As String)
    Dim reportDefinition As Byte()
    Dim document As New System.Xml.XmlDocument()
    reportDefinition = rs.GetReportDefinition(reportName)
    Dim stream As New MemoryStream(reportDefinition)
    document.Load(stream)
    document.Save(GetLocalPath(reportName) + ".rdl")
    End Sub
    Function GetLocalPath(rsPath As String) As String
    Return rootPath + rsPath.Replace("/", "\")
    End Function
    Then navigate to the folder contains the script, we can directly run the below command from the run menu:
    rs -s
    http://aa/ ReportServer -i download.rss
    We can modify the rootpath to point at whaterver fold you’d like to download the RDL files.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How do we know what are all the fields  updated in a screen?

    Hi all,
             If i am making modifications in row details of sales order screen .for eg, <b>i am changing the quantity or price for a row</b> 
             I want to write log file for the updated fields for that particular sales order.
             <b> How do we know what are all the fields are updated ?</b>     
             If we can use SBOTransaction_Notification procedure.How to write code inside that.
             Please provide code example for that.I have downloaded the sample.But i donot know how to use 'Add code to here ' part.
             Please help me to solve this.Hope  your  reply soon
    Regards,
    V.Rangarajan

    Hi, V.Rangarajan!
    When the field in the matrix is filled with some value and the user moves to another field, the et_LOST_FOCUS event occurs. So, i think you can try to handle ItemEvents and use such code (for example):
    if (pVal.EventType == SAPbouiCOM.BoEventTypes.et_LOST_FOCUS && pVal.ItemUID == "38" && pVal.BeforeAction == false && pVal.FormType == 139)
    string ChangedColumnID = pVal.ColUID;
    int ChangedRowNumber = pVal.Row;
    and write the values to your log.
    "38" - is the matrix ID in the Orders form
    "139" - is the Orders form
    Also you can access to the value, that user had put into the field.
    Hope this helps!

  • Hi,I have recently replaced by hard drive with a ssd. My old hard drive has all my iTunes stuff.i would like to install only iTunes programme on the ssd with all the content on the old hard drive. How do I do it?

    Hi,I have recently replaced by hard drive with a ssd. My old hard drive has all my iTunes stuff.i would like to install only iTunes programme on the ssd with all the content on the old hard drive. How do I do it?

    Install iTunes.
    Once install, hold SHIFT and launch iTunes.
    When prompted, point iTunes to the correct location for the iTunesLibrary.itl file which should be in the iTunes folder under <user>/Music on the old drive.

  • I got the iphone 5, got some pics and msgs and contacts on it, and when i connected to my PC to restore my previous info from the old iphone, all the new stuff are gone, how can i get it back, thanks for help.

    i got the iphone 5, got some pics and msgs and contacts on it, and when i connected to my PC to restore my previous info from the old iphone, all the new stuff are gone, how can i get it back, thanks for help.

    The voicemail system used for the iPhone is different from the voicemail system used on the rest of the Verizon Wireless network. When you activate the iPhone, you lose your saved voicemails from the other system. When you activate a non-iphone, you lose any saved voicemails from the iPhone voicemail system too.

  • For some artists in my Music app on my I-phone, the songs do not appear when I search by the artist.  However, if I search the album name, all the songs show.  How do I get the songs to show under songs?

    For some artists in my Music app on my I-phone, the songs do not appear when I search by the artist.  However, if I search the album name, all the songs show.  How do I get the songs to show under songs?

    Hi Spam_Valley,
    I understand that you are having issues with your music displaying correctly. This may be an issues with the metadata stored within that song, and iTunes interpretation of that info.
    We may need to repair this. See the following resources for information:
    iTunes 10 for Windows: If song titles don’t appear correctly
    http://support.apple.com/kb/PH1468
    Fixing Incorrect Song or Album Listings in iTunes
    http://support.apple.com/kb/TA24677
    Thanks,
    Matt M.

  • I purchased the Brookstone DLP projector for the iPhone, and all the reviews state the iPhone 4S can be mirrored with it. However, I can't not figure out how to do so. Is there a setting to change? Can't figure it out! ARGGG!

    I purchased the Brookstone DLP projector for the iPhone, and all the reviews state the iPhone 4S can be mirrored with it. However, I can't not figure out how to do so. Is there a setting to change? Can't figure it out! ARGGG!
    It will show pictures and videos if I choose, Start Slideshow, but it won't show anything else, no apps, etc.
    Here's a few examples of the reviews which state it mirrors:
    http://www.bgr.com/2011/11/07/brookstone-pocket-projector-for-iphone-4-and-4s-re view/
    http://www.gadgetaddict.info/brookstone-pocket-projector-for-iphone-4-and-4s-rev iew/
    I bought this for video analysis presentations with an app on the phone, so this is a key feature for me.
    Any help is appreciated.
    Jim

    I also have not figured out how to mirrow either.  I ask you both, is the sound via the projector louder than the phone itself when projector is tuerned off?  No matter what I do the max vilume through the projector speakers is lower that the phone itself even with phone remaining installed in projector.  I am think of taking it back to try another one.
    Keith

  • I have the new version of iMovie, and when i try to start the program, i can't because it says that it is looking for some movie files from the Iphoto, so all the program is locked up... how can i do to restart the program??

    i have the new version of iMovie, and when i try to start the program, i can't because it says that it is looking for some movie files from the Iphoto, so all the program is locked up... how can i do to restart the program??

    Hi
    Did You ever use - iPhoto ?
    Did You may be direct iPhoto to a different Photo Library
    As iMovie tries to find the appropriate photo library - it can get lost if iPhoto direct it into a Library on a not connected external hard disk or to a strange location - And iMovie HANGS.
    Do - When no other program is running that might interfere
    • Start iPhoto - BUT NOW KEEP alt-key (option key) DOWN during the full Start-Up process
    • Now iPhoto let's You select Photo Library
    • Select the one in Your Account / Home folder / Pictures ! !
    • Then iPhoto should start up OK
    • Now Quit iPhoto
    • START iMovie
    Does it still hangs - then I would suspect - iMovie Pref. file
    If it Run's OK - Then HURRAY !
    Yours Bengt W

  • I d/l your mozilla firefox today and now I get the error 0x80070002 all the time...how do I fix that?

    I downloaded mozilla firefox today and now I get the error 0x80070002 all the time, and I cannot use system restore because of it. How do I fix that so that my computer works right again. I was restoring because after I d/l your mozilla today, I lost all of my contacts in my msn email...just been tearing my hair out over this and it is soo darn frustrating. Tell me how to fix this. Marilyn

    Hi,
    The error is totally unrelated to Firefox. Please see [http://support.microsoft.com/kb/910336 this]. The [http://answers.microsoft.com/en-us Windows OS forum] will also be helpful.
    Please also check the downloaded file by right-clicking > Properties > Digital Signatures, which should say '''Mozilla Corporation''' and '''This digital signature is ok''' in '''Details'''. You can download Firefox from a known site like e.g. https://www.mozilla.org/en-US/firefox/new/
    You can try to Reset Firefox which would hopefully display the missing features, all (contacts, emails, settings etc.) of which are actually stored at the MSN site and are temporarily displayed by Firefox every time the site is accessed.
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • How do I change the color of all the text in a PDF?

    Hi.
    I have a large PDF, over 1000 pages. Some of the text is highlighted which makes it difficult to see on my preferred document background. In Acrobat XI how do I change the color of all the text in the document back to black please? Although solutions using any other software will be much appreciated too.
    I searched this forum already, and the same question was asked back in 2007 when it appears the only solution was to use an expensive third party plugin.
    Thanks.

    I know of no new solutions since 2007 except the ones you found.
    You could use the Accessibility Preferences > Change Document Colors to choose a text color. However, this is an individual preference and cannot be set as a default for others opening the document.

  • How to find out what are all the change pointers assoicated for an idoc ??

    Hi ,
    How to find out what are all the change pointers activated for an idoc ??
    Thanks,
    Varma

    Verma,
    You can check what are the active Change Pointers for the message type in tcode <b>BD50</b>
    Use tcode <b>BD61</b> to check whether change pointers are active or not??
    Hope this helps..

Maybe you are looking for

  • Saving from Safari as PDF results in an icon with 0 byte volume that fails to open as it is "damaged" Why and how to solve?

    saving from Safari as PDF results in an icon with 0 byte volume that fails to open as it is "damaged" Why and how to solve?

  • How to show top 20 values in a Pie Chart

    Hi We have a requirement to develop a Pie chart for top 20 Order value locations.but i am not able to plug in top 20 logic in a pie chart.This functionality (TOP N) is avilable in bar chart , but it is not avilable in Pie chart. Could some help me to

  • IPhoto '11: Export (JPEG) size not working

    I keep all my photos taken with iPhone 4 in iPhoto '11 ver 9.42 (710.42). It is a very excellent app to mange my photos. Recently I need some photos from iPhoto for the use in my web project. So I export them in JPEG, choosing "high" quality and "lar

  • Darken Text to form pattern

    Hi, I have a paragraph of text and I want to change color of some characters to form a big "CRE".  In other words change some characters in the paragraph to blue so they form CRE in larger text. I was thinking of having two copies of the test, crop o

  • Lighroom 5 not passing image to Photoshop 5.1

    When choosing "Edit in... Photoshop CS5.1" the modified Lightroom image does not get passed to Photoshop.  Instead, the original image appears in Photoshop, even though Lightroom has created a stacked copy.  I have uninstalled and reinstalled both Li