I\'m trying to format some cells in a Reporting Services report that will contain DateTime?
values - or not.
If the underlying data has a NULL
use a code like this:
If(isNull([date field]),Null, elsequote)
I just tested the following expression and it replaced the null
date with an empty string:
=IIF(Fields!DatumBSE.Value is nothing, nothing, FormatDateTime(Fields!DatumBSE.Value, 2))
The other suggestion that I would make is that you could format the date to the correct format in the report dataset by placing a CASE
expression around the date value.