I am trying to set a simple expression in SSRS in my report using the datepart function:
=datepart("dw",Fields!period_dt.Value)
When I preview the report, the values come up as #error.
Am I missing something completely obvious here?
The Fields!period_dt.Value field contains dates in this format 12/31/2013 12:00:00