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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
diegoadum
Helper I
Helper I

Read Approvals and Approval Request tables

Hi Folks,

 

              I'm trying to read the Approvals and Approval Request tables using Power Bi, but I'm getting the below error message.

 

Captura de Pantalla 2021-04-05 a la(s) 10.12.53.png

 

Here's the completed error message:

 

DataSource.Error: Microsoft SQL: Adding a value to a 'datetime' column caused an overflow.
RequestId: TDS;0fb7c282-c2ed-485c-aa9e-14cdad79349b;2
Time: 2021-04-05T14:12:27.3140958Z
Detalles:
DataSourceKind=CommonDataService
DataSourcePath=XXXXXXXXXXX.crm.dynamics.com
Message=Adding a value to a 'datetime' column caused an overflow.
RequestId: TDS;0fb7c282-c2ed-485c-aa9e-14cdad79349b;2
Time: 2021-04-05T14:12:27.3140958Z
ErrorCode=-2146232060
Number=40000
Class=16

 

it's worth mention that I'm getting the same error for the Approval Request table as well, but I can read the Approval Response table.

 

I don't know if there is a way to read the tables using "normal" SQL sentences, on where I can pick only a few fields and avoid the error with the date? 

 

Thank in advance for any idea!!

2 REPLIES 2
Icey
Community Support
Community Support

Hi @diegoadum ,

 

Can the content of my reply above help you solve the issue?

 

 

Best Regards,

Icey

Icey
Community Support
Community Support

Hi @diegoadum ,

 

Please check if the datetime value falls within the range from 1753 to 9999.

 

Reference: 

sql server - "Adding a value to a 'datetime' column caused an overflow." - Stack Overflow;

sql - Adding a value to a datetime column caused an overflow - Stack Overflow.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors