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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.