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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
bthan
Frequent Visitor

DataSource.Error: Microsoft SQL: "Invalid column name, Invalid column name

Hi all, my PowerQuery that connects to my Dataverse has been working fine up until around 2 pm in PowerBI. I have not changed the query whatsoever. Any one know why this may be happening? I've tried importing the tables and adding in the PowerQuery transformations line by line. It seems to be able to load the table initially but immediately fails to apply a simple calculated column like this:

 

 

 

#"Added Internal Support Score" = Table.AddColumn(dbo_cr141_dicatalogueitem, "Internal Staff score", each if [cr141_availability_of_internal] = "Yes" then 12 else if [cr141_availability_of_internal] = "No" then 0 else 0),

 

 

This is the error message:

 

 

 

DataSource.Error: Microsoft SQL: "Invalid column name 'lrcdi_CMDBstatusreason'.\r\nInvalid column name 'lrcdi_CMDB_CIID'.\r\nCould not use view or function 'dbo.fn_Filteredcr141_diCatalogueItemTDSGlobal' because of binding errors."
RequestId: TDS;250ab9a9-b479-454c-b305-5eedb7dc0e08;89
Time: 2023-07-10T20:09:33.4752197Z
Details:
DataSourceKind=CommonDataService
DataSourcePath=lrc-diu-dev.crm3.dynamics.com
Message="Invalid column name 'lrcdi_CMDBstatusreason'.\r\nInvalid column name 'lrcdi_CMDB_CIID'.\r\nCould not use view or function 'dbo.fn_Filteredcr141_diCatalogueItemTDSGlobal' because of binding errors."
RequestId: TDS;250ab9a9-b479-454c-b305-5eedb7dc0e08;89
Time: 2023-07-10T20:09:33.4752197Z
ErrorCode=-2146232060
Number=40000
Class=16

 

 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @bthan ,

 

The error message you are seeing indicates that there is an issue with the view or function 'dbo.fn_Filteredcr141_diCatalogueItemTDSGlobal'. This error message is related to a timeout issue. It is possible that the query is failing after hitting a timeout value of 10 minutes. You can try to modify the timeout limit to over 10 minutes to see if this resolves the issue. If this does not work, you can try to troubleshoot the issue by validating the results and checking if there are any duplicate or null values in the column that is causing the issue.

excel - How to set a max run time / timeout for Power Query? - Stack Overflow

                                                                                                                                                         

Best Regards,

Stephen Tao

 

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

View solution in original post

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @bthan ,

 

The error message you are seeing indicates that there is an issue with the view or function 'dbo.fn_Filteredcr141_diCatalogueItemTDSGlobal'. This error message is related to a timeout issue. It is possible that the query is failing after hitting a timeout value of 10 minutes. You can try to modify the timeout limit to over 10 minutes to see if this resolves the issue. If this does not work, you can try to troubleshoot the issue by validating the results and checking if there are any duplicate or null values in the column that is causing the issue.

excel - How to set a max run time / timeout for Power Query? - Stack Overflow

                                                                                                                                                         

Best Regards,

Stephen Tao

 

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

AmilcarParraga
Frequent Visitor

Hi All
I have a similar problem, in my case, we add a new column in a table for a power apps (model driven), but the BI that gets the data from the Dataverse is showing a similar error 
 =====
DataSource.Error: Microsoft SQL: "Invalid column name 'cr9ab_code_conduite_fournisseurs_continu'.\r\nInvalid column name 'cr9ab_code_conduite_fournisseurs_continuname'."
RequestId: TDS;7f50da3d-50c6-4aff-96c8-29a102795bf2;2
Time: 2023-07-11T15:27:32.1371290Z
Details:
DataSourceKind=CommonDataService

....
====

any help would be appreciated

Thanks !

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors