Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 61926

the conversion of a marcher data type to a dateline data type resulted in an outrage value

$
0
0

Hi

 

I have been pulling in 5 columns of date data from a datawarehouse to views and converting the date information from int to varchar8 then to datetime in views before importing to powerbi. This has been working ok for sometime but recently I started getting the message when refreshing the data in desktop or from the enterprise gateway: the conversion of a varchar data type to a datetime data type resulted in an out-of-range value.

 

The data is pulled in and converted from datetime to date in the report. Can anyone help as the data in the views looks ok? I use CAST(CAST(ShippingDateRequested_SK AS VARCHAR(8)) AS DATETIME) AS [Shipping Date Requested] to convert from int to date time in the SQL views.

 

Thanks

 

 


Viewing all articles
Browse latest Browse all 61926

Trending Articles



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