Forum Discussion
Whole database imported into one table
- 7 years ago
This got fixed by entering table's Advanced editor. For some reason I had only rows 1 and 2 there:
let
Source = Sql.Database("SERVER", "db_name"),
dbo_Target = Source{[Schema="dbo",Item="Goal"]}[Data] <-- this one was missing#"Renamed Columns" = Table.RenameColumns(dbo_Goal,{{... <-- and this one too
hi, CAPSTALKER
I think when you get data from SQL server, you select the whole database to load instead of select the tables to load.
For example:
And here is a blog for you refer to.
Best Regards,
Lin
- CAPSTALKER7 years agoHelper I
This got fixed by entering table's Advanced editor. For some reason I had only rows 1 and 2 there:
let
Source = Sql.Database("SERVER", "db_name"),
dbo_Target = Source{[Schema="dbo",Item="Goal"]}[Data] <-- this one was missing#"Renamed Columns" = Table.RenameColumns(dbo_Goal,{{... <-- and this one too
- v-lili6-msft7 years agoCommunity Support
hi, CAPSTALKER
It's pleasant that your problem has been solved, could you please accept the reply as solution, that way, other community members will easily find the solution when they get same issue. :smileyvery-happy:
Best Regards,
Lin