LarsAustin
New Member
- Joined
- Feb 27, 2016
- Messages
- 16
Hi All
I'm trying to load only selected fields/columns of a big database. Below is the M code generated:
let
Source = Odbc.DataSource("dsn=hbnav01", [HierarchicalNavigation=true]),
NAVLIVE_Database = Source{[Name="NAVLIVE",Kind="Database"]}[Data],
dbo_Schema = NAVLIVE_Database{[Name="dbo",Kind="Schema"]}[Data],
Darren_ItemCardUpdate_Table = dbo_Schema{[Name="Darren_ItemCardUpdate",Kind="Table"]}[Data]
in
Darren_ItemCardUpdate_Table
This code load all tables. I only want load for example columns named "Item No_" and "Description".
How do I do that.
Thanks
Lars
I'm trying to load only selected fields/columns of a big database. Below is the M code generated:
let
Source = Odbc.DataSource("dsn=hbnav01", [HierarchicalNavigation=true]),
NAVLIVE_Database = Source{[Name="NAVLIVE",Kind="Database"]}[Data],
dbo_Schema = NAVLIVE_Database{[Name="dbo",Kind="Schema"]}[Data],
Darren_ItemCardUpdate_Table = dbo_Schema{[Name="Darren_ItemCardUpdate",Kind="Table"]}[Data]
in
Darren_ItemCardUpdate_Table
This code load all tables. I only want load for example columns named "Item No_" and "Description".
How do I do that.
Thanks
Lars