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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
apbiuser
Helper I
Helper I

Datetime2 is not a defined system type

I have a report developed that is attached to a dashboard.  I use a SQL database as the source of my report.  I am able to pull data, publish and refresh from the Desktop.  I have scheduled the dataset to refresh.  The scheduled refresh will not complete on the scheduler and I cannot make it refresh.

I get Underlying error code -2147467259 Table:TASKS

Underlying error message Microsoft SQL: Type datetime2 is not a defined system type

DM_ErrorDetailNameCode_UnderlyingHResult -2147467259

Microsoft.Data.Mashup.ValueError.Reason DataSource.Error

Cluster URI WABI-US-EAST2-redirect.analysis.windows.net

I have the most current version of desktop loaded.  When I googled the error it looks like something that existed back in 2016 that is supposed to be fixed now.  Anyone have suggestions?

Thanks in advance.

 

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@apbiuser ,

 

Please check if the data type is valid in SQL Server and same with that in power bi.

 

Community Support Team _ Jimmy Tao

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

My data is being pulled from just one table.  The table is in SQL Server Express Edition, Version 9.4.5000.00.  I pull the data straight into Power BI.  From the Query Editor I changed all of the columns I am using from DateTime format to Date MM/DD/YYYY to facilitate date range comparisons.  When I run the Refresh from within the Desktop environment it works great.  I have confirmed my row counts and hash level totals and they are correct.  It is the published version of the report, that is part of a dashboard, that will not successfully refresh.  I am using a Corporate Gateway that works successfully for my other reports.  

When I navigate to the Power BI site and manage Gateways I can select my defined part of the cluster and the Data Source Settings Tab reflects the connection is successful.  I am using Organizational level Privacy.  

I am at a loss on how to proceed.  Any further advice?

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors