SSRS Display question mark when date is blank
- Joel Lipman
- SQL Server Reporting Services
- Hits: 6626
- Microsoft SQL Server Reporting Services 2012
- Microsoft Visual Studio 2012 Premium
- Microsoft Windows 7 Enterprise
What?
So I have a column in an SSRS report which displays a date. Being rather pernickety, I would like a question mark to display if there is no date to populate the field.
Why?
At the moment, the expression in there is something like this:
=Format(Fields!MyCompletionTime.Value, "dd/MM/yyyy HH:mm:ss") -- yields 11/02/2014 11:21:32
- =Format(Fields!MyCompletionTime.Value, "dd/MM/yyyy HH:mm:ss")
- -- yields 11/02/2014 11:21:32