I am creating quarterly report using SQL Reporting Services and I am trying to display the start date of the previous quarter in a text box using the following expression:
=DATEADD(qq, DATEDIFF(qq,0,getdate())-1, 0), 100).
However, I get an error.
When I use this expression in a SQL server query, it returns the right date. Can you tell me why the expression is not working in a report?
=DATEADD(qq, DATEDIFF(qq,0,getdate())-1, 0), 100).
However, I get an error.
When I use this expression in a SQL server query, it returns the right date. Can you tell me why the expression is not working in a report?