March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Hi,
I am trying to change the schema of a table object by going to the advanced editor but it keeps on erroring out. The contents of the advanced editor:
let
Source = Sql.Database(ServerName, DatabaseName),
dbo_Table_Name = Source{[Schema="dbo",Item="TableName"]}[Data],
#"Renamed Columns" = Table.RenameColumns(dbo_Table_Name,{{"customer_id", "CustomerID"}})
in
#"Renamed Columns"
All i want to change is the Schema of the object from "dbo" to "data". The new table in the new schema does have a new column. Is that the problem?
The changing of the schema unfortunately keeps on failing. Is this an easy thing to solve?
The error I get is the below:
Expression.Error: The key didn't match any rows in the table.
Details:
Key=
Schema=data
Item=TableName
Table=[Table]
Thanks,
Do you have a table called TableName in the database?
Phil
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
12 | |
9 |
User | Count |
---|---|
36 | |
31 | |
20 | |
19 | |
17 |