Is there a way in SSRS 2008 to format datetime to half hour?

Is there a way to format date time in SSRS 2008 to half hour. I am working on a graph and I am sorting by the hour, but i need
half hour is there a way I can do this?

Hi Fozzy767,
To round time to half hour, we need to use custom function in SQL Server Reporting Service(SSRS). A similiar function can be got from the following thread:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/443a22c6-d5fd-44f6-a379-67f3760537fb/round-time-to-quarter-hour?forum=sqlreportingservices
To understand how to use custom function, please see:
http://technet.microsoft.com/en-us/library/ms156028.aspx
Thanks,
Jinchun Chen

Similar Messages

  • Is there a way to change the date format so that delegates have to choose a day, month and year from a drop down menu as my delegates keep forgetting to change the year of their information

    When my delegates are filling in a event form i have put together, a large number of them forget to change either the month or year on the date field. Is there a way to have a date field that has drop down boxes for day, month and year so they have to choose rather than a date been already on the screen??
    Thanks

    Hi Christopher,
    The WEEKDAY function allows specifying either Sunday or Monday as the first day of the week:
    WEEKDAY
    The WEEKDAY function returns a number that is the day of the week for a given date. WEEKDAY(date, first-day)
      date:  The date the function should use. date is a date/time value. The time portion is ignored by this function.
      first-day: An optional value that specifies how days are numbered.
    Sunday is 1 (1 or omitted):  Sunday is the first day (day 1) of the week and Saturday is day 7.
    Monday is 1 (2):  Monday is the first day (day 1) of the week and Sunday is day 7. Monday is 0 (3):  Monday is the first day (day 0) of the week and Sunday is day 6.
    But I think you are referring to the first day of the 'workweek', for which I do not see a means of defining a custom value.
    Since you want to 'insert categories', though, you could easily define your own, using WEEKDAY(date) or WEEKDAY(date,1), plus an IF statement to return the category label appropriate to the day. Here's one for a Sunday to Thursday work week. Dates are in column A, the formula is in whichever column you want as the Category column. For the example, I've placed it in column B.
    B2, and filled down: =IF(WEEKDAY(A)<6,"Work","Off")
    The top table shows the weekday numbers returned for each day of the week for each of the three permitted values for the optional second argument. The bottom table shows the results from the formula above, used to define a category label for each date:
    A10 was left blank intentionally, to determine if the lack of data resulted in an error. The Warning message, flagged by the blue 'warning' triangle, is "The formula uses a number in place of a date." The 'date' assigned to this numerical value of zero was a Friday, but I'm not certain when. Probably best to avoid extra rows with no date shown.
    Regards,
    Barry

  • Is there the way to use "Highlight File Format" with Acrobat Reader 9.0 or later?

    hi
    Do anyone know the way to use "Highlight File Format" with Acrobat Reader 9.0 later or substitutional way to highlight a PDF file as well as highlight file?
    I want to highlight some words by indicating character's location(from n to m) using Acrobat Reader 6, 7, 8, and 9.
    I use highlight xml file to highlight words in Acrobat 6, 7, and 8.
    http://www.adobe.com/devnet/pdf/pdfs/HighlightFileFormat.pdf
    According to this documents, "External Window Handler Plugin" is required to use highlight file.
    But I cannot find this plugin in Acrobat Reader 9.
    So Acrobat Reader doesn't recognize highlight file.
    Well, I know that there is another way to highlight pdf file. It is called "PDF Open Parameters".
    However this parameters cannot indicate location of characters but words which is to be searched.
    This parameter does not work perfectly to substitute a highlight xml file.
    To satisfy what i want to do, the best solution is that Acrobat Reader 9.0 recognizes highlight xml file.
    But I think it is impossible because of lack of plugin.
    Do anyone know the way to recognize a highlight xml file to 9.0 or another way to highlight some words?
    thanks,
    Asatamax

    The feature is disabled by default in reader 9
    (1) Open Adobe Reader
    (2) Click Edit > Preferences > Search, and
    (3) check the box labelled Enable search highlights from external highlight server.
    (response found here: http://support.dtsearch.com/dts0117.htm)
    I can't imagine why Adobe choose to disable it. It's a bad joke for us at UNESCO (http://unesdoc.unesco.org)

  • Is there a way to bump up the format?

    Hi. I'm making particles for a standard def movie that will eventually get bumped up to high def. Is there a way to output my standard motion quicktimes, onto which I've attached particles, at 1080i without losing resolution? Is there any degree of resolution independence in Motion?
    In other words, I don't want to take a HD clip and add particles to it from scratch b/c it will be insanely slow.
    Thanks.

    What if you took the HD clip, but set the display to quarter-rez?
    Patrick

  • Is there a way to remove the leading zero from the 24 hour time display in iOS8?

    In the previous versions of iOS, the 24 hour time format for some regions dropped the leading zero from single digit hours: 1:23 for example.
    In iOS8, it appears that once 24 hour time format is toggled, the time is always displayed as four numbers: 01:23 for example.
    Is there a way to revert to this older format without leading zeroes?

    Yes, a colleague of mine was able to figure it out. Just double-click the chapter title in the .aggr project. It places it into edit mode and allows you to remove the ".swf" extension as well as make any other changes to the name that you want. It's so easy now that we know how to do it, but it was tricky to figure out since the chapter list does not appear editable at first.

  • SSRS 2008: date format Jan 3rd 2014

    Hi Friends,
    Please provide a way to below result  from regular datetime field(I dont have an option to update a query)
    Jan 3rd 2014
    here in 3rd the word 'rd' should be small.
    Please do the needful.
    Thanks in advance
    Parixit

    I think you are going to need to custom format your string, and use some custom code to call in your report to add the rd, st, th to the end of your number.
    I should note that the following example should have included 23, as well as 3 in the 'rd' section
    http://cortechs.wordpress.com/2012/08/23/ssrs-to-format-a-date-with-st-nd-rd-and-th-contraction/

  • Is there any way to undo Time Machine formatting?

    Within 20 minutes of becoming a proud iMac owner for the first time I think I have made a serious mistake
    I have two external hard drives, a 1TB Seagate that I wanted to use as my Time Machine back-up drive, and a 500MB WD drive that I had various files on that i wanted to copy to my iMac.
    I had both drives connected through USB and when I went through set-up I selected the Time Machine option for the Seagate drive.  I certainly don't recall my WD drive being mentioned at any point in the process, however when I look at the WD drive it now shows as 'Time Machine Backups', as does my Seagate drive, so it appears both drives were re-formatted.
    Is there any way to undo this or will I need to look at data recovery software?

    It sounds like you got this prompt:
    And clicked Use as Backup Disk.  Then got this:

  • I have a old Ipod classic that has the abilities to hold movies but it is an older version and will not hold movies that i got after 2012. Is there a way to change the video formating so that I can put it on my ipod?

    I want to put movie on my ipod that I bought specifically with a digital copy but it says that they cannot be copied to my device. I don't know why.

    "She says it doesn't work because the iPod is too old and Apple doesn't suport it any more."
    She is wrong.
    Since you do not mention what happens when you try it is hard to help.
    The sync is one way - computer to ipod.  The only exception is itunes purchases:  File>Devices>Transfer Purchases
    Everything on the ipod came from your computer in the first place.  It should still be there and you should always have a backup copy.

  • Is there a way to defile new list format?

    I want to defile new list format like this:
    First:         Lab lab lab.
    Second:    Another Lab lab.
    Third:        Continueing the lab lab.
    Or other like lists in different languages.

    I think you probably mean "define" rather than defile, which in English is often used interchangeably with rape in literature, but I think we can figure this out OK. I'm sure your English is far better than my skills in your native language.
    Can you mock up a list the way you want it to appear on a page and take a screen capture? You can embed the image into a post using the camea icon above the forum editing area:
    I'm not sure I understand what it is that you want to do, exactly, but I suspect the capability is already built into the lists features in ID.

  • HT1660 if i create a copy in mp3 format in itunes from the mp4 music i already have in itunes it puts both formats in the same file is there a way of seperating the two formated albums from each other completely but keep them in itunes

    HAVE CONVERTED MY ITUNES MUSIC INTO A SECOND FORMAT OF MP3. WHEN I DID THIS IT COPIES THE MP3 FORMAT DIRECTLY INTO THE SAME FILE. THEN IT SHOWS TWO OF EACH SONG IN THE MUSIC FILE IN MP3 AND MP4. WOULD LOVE TO SEPERATE THEM INTO DIFFERENT FILES LIKE WINDOWS MEDIA PLAYER DOES WITH WMA AND MP4 IT CREATES A SEPERATE FILE FOR THE MP4 FILE DIRECTLY IN THE WMP MUSIC FOLDER THAT YOU CAN CLICK ON. QUESTION IS CAN IT BE DONE IN ITUNES IS THERE SOMETHING I CAN CLICK ON IN ITUNES THAT WILL SEPERATE THESE TWO FORMATS FROM EACH SO IT WILL BE EASIER FOR ME TO PICK WHEN NEEDED WHICH ONE I NEED WITHOUT DOING IT ONE SONG AT A TIME. THANKS PLEASE HELP!!!

    Select the Songs view. Use the Search window to display the tracks from the album. Turn on the Kind column and sort on it. Give each version of the album a distinct title. E.g. Album [AAC] and Album [MP3].
    See Grouping tracks into albums for tips on iTunes organization.
    tt2

  • Using an Ipad Air is there a way to change the page format in Ibooks to show what chapter you are in?

    Anyone have an answer?

    Anyone? Just need to know where I can change that message and also how I can set up the icloud calender to send invites using my work email address (as configured in Mail)?

  • Globals!RenderFormat alternative for SSRS 2008

    In SSRS 2008 R2 there is Globals!RenderFormat variable that can be used to control appearance when exporting to different formats.
    Is there something similar in SSRS 2008? Specifically I am interested in conditional TextDecoration (I would like it to be Underline when report is viewed in the browser (clickable report bookmark) or None if exported to PDF)

    Hi,
    According to your description, you want to set conditional TextDecoration when export report to different formats.
    In Reporting Services 2008, we don't have Render Format Name Built-In Field to recognize the render formats. Then we can use parameter with conditional expression to control the visibility of underline. For more details, please refer to the following steps
    to achieve your goal:
    Create a parameter, in the Name and Prompt text box, type Type.
    Click Available Values, and add available values: Default, Pdf.
    Click Default Values, and add the default value: Default.
    In Text Box Properties dialog box, click Font, in the Effects Expression text box, type the following expression:
    =IIf(Parameters!Type.Value="Default","Underline","Default")
    Then we can select a type to control its appearance before exporting the report.
    The following screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • SAP: SystemCommand=N*TACODE. Is there a Way to export to Excel directly?

    Hi!
    Im Using a SAP-Desktop-Link to login automatically, start a transaction, passing values to dynpro fields.
    That works Fine.
    The mylink.sap opened in an texteditor looks like this:
    SystemCommand=N*FBL3N -dynprofield1=foo;-dynprofield2=bar
    is there a way to pass some output formatting option to export it to excel and save it on the harddisk?
    something like
    SystemCommand=N*FBL3N -dynprofield1=foo;-dynprofield2=bar -outputFormat=Excel > C:\myresult.xls
    Using RFC or Sap Gui Scripting seems to me a way overkill for such a simple task.
    Thank you in Advance for your help
    attila

    Hi ,
    We can export the crystal report in Excel sheet however it is not pssible to export different pages of report to difrent excel sheets.
    Regards,
    Pradnya Kokil

  • Is there any way to paste formatted text into muse, and have it stay formatted?

    Greetings,
    I have a client who sends material to me with intricate formatting (italics and bold only) for posting on the website. Is there any way to avoid losing that formatting when I paste it into Muse? If not, I have several hours of work to format everything all over again, every time he sends an update? Any suggestions?
    Thanks,
    Lori

    Hello Muse Community,
    Ok, so I have figured out how to do this. For those of us who have a large amount of formatted text to paste on a website, but don't want to have to take the time to format every individual word or line, the solution is to embed the following html code:
    <iframe src="filename.html" width="600" height="300" scrolling="yes"></iframe>
    and replace "filename.html" with a the name of a plain html document created from some other software where you can paste formatted text. Muse will pick up the html document as an included file in a window with a scrollbar. It's actually pretty slick.
    Best wishes,
    Lori

  • HT201335 I have an i mac early 2008 10. 8. 2 mountain lion. Is there any way i can do the mirroring to my apple tv.

    I have an i mac early 2008 10. 8. 2 mountain lion. Is there any way i can do the mirroring to my apple tv/ tv?

    Not natively. That requires the newer processor. You will have to use Airparrot
    http://airparrot.com/

Maybe you are looking for

  • Cloning a Vector String causes warning: unchecked

    I have a Vector<String> that I want to clone and store in another Vector<String>. I can't figure out why I get a warning. Vector<String> DATA = new TestData1().getData(); Vector<String> nuDATA; //@SuppressWarning( "unchecked" ) nuDATA = (Vector<Strin

  • Dont' Understand Why getURL is not working

    When testing my Flash movie on my computer, all of the getURL links work perfectly, and worked on exported movie .swf which was loaded onto server and veiwed by another on their system. Now that it has been added to web page, the animation is running

  • Printing is not happenong

    The print job appears in the queue but does not print. I have tried disconnecting power cord, uninstaling and still nothing happens. Any ideas?

  • Error when opening Outline

    Hi -, I just configure Analytic Administration Services (version 11.1.1.2) using Oracle Application Server (version 10.1.3). I deployed it manually and successful deployed. Next step, add new Analytic Server / Essbase (version 11.1.1.2), that's appea

  • Express vi thermocouple reading temperature increase as temp decrease

    Hi there, I'm using a labiew express vi to take a measurement from a j-type thermocouple. I have, however noticed that a (real) temperature increase is shown as a temperature decrease indicating that I've wired the thermocouple in the opposite way to