Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Convert a Date Time field to a Time Field

$
0
0

Hello,

I have been asked to run a report to look at calls being logged out of hours (from 8pm to 6am) and I am trying to create a calculated field to remove the date from the date time field out so I can apply a filter to it. The default server format of the field is mm/dd/yyyy hh:mm:ss AM/PM. I have tried using =right to get the time part only but I think its coming out as the wrong format because when I apply the filter I'm not getting back any results.

I'm not sure if this is the correct way to do what I'm trying to do, so I'm open to other suggestions :) Any help would be greatly appreciated.

Thanks

Suzi


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>