I have reports that need to check what day of the year it is. On anything other than Jan 1 the reports will pull YTD data. If the date is Jan 1, I want the reports to pull PreviousFullYear. I have played around with DatePart but have not figured out how to do it.
Thanks!
Thanks!