Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
hmbedford
Frequent Visitor

Dataflow Refresh Error: DateTime operation failed because the resulting value falls outside the rang

Hi

 

I have a dataflow setup which pulls from an onprem SQL server (Via gateway). The table has a Year, Month and Day column that I am using to build a date string:

 

Table.AddColumn(#"Changed column type", "Date"each #datetime([Year], [Month], [Day], 000)),
Table.TransformColumnTypes(#"Added custom", {{"Date"type datetime}}, "en-GB")
 
I am using this column in the Incremental Refresh Settings, but results in a refresh error that states:
 
Error: PipelineException: The DateTime operation failed because the resulting value falls outside the range of allowed values. .. RootActivityId = e97cd39f-2f6b-415b-b298-788aba85cab2.Param1 = PipelineException: The DateTime operation failed because the resulting value falls outside the range of allowed values. Request ID: be919842-9f3f-bbd6-69eb-596101612cf9.
 
I have the project options set Local 'English (United Kingdom)' and converted the DateTime field to en-GB.
 
Hopefully someone has the anwser 🙂
 
Thanks
Hayden
1 REPLY 1
lbendlin
Super User
Super User

Some questions: why are you specifying datetime but only feed it a date value ? Is that for incremental refresh?

And what's the reason for specifying the en-GB locale?  That shouldn't really be necessary?

Note that you are not creating a string, you are creating a datetime value.

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors