Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Conversion from string "" to type date is not valid

$
0
0

Hi

From my ssas data source I have a datetime field which is in this format 2015-01-02 00:00:00. There are also nulls in this field.

I want to change the format to dd/MM/yyy

I am using this

FORMAT(CDATE(Fields!Oldest_Action_Date.Value),"dd/MM/yyy")

When I run the report I get the warning that it won't do the conversion and any field where it is NULL is now shown with a #Error.

How can I get around this?

Thanks


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>