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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

Hi @Anonymous ,

 

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
Anonymous
Not applicable

Hi @Anonymous ,

 

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.