The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a folder which consist 3 excel file and each file has 3 sheet I want to fetch all these sheets as a Table i.e 9 tables in power bi( I dont want to combine files as it consist independant data) . How to do that?
Data source will be folder path
Solved! Go to Solution.
@komald Use this:
let
Source = Folder.Contents ( "C:\Users\SharmaAnt\Downloads\Test" )[[Content]],
AddedCustom =
Table.AddColumn (
Source,
"Custom",
each Table.SelectRows ( Excel.Workbook ( [Content] ), each [Kind] = "Table" )[Data]
),
ExpandedCustom = Table.ExpandListColumn ( AddedCustom, "Custom" )
in
ExpandedCustom
@komald Use this:
let
Source = Folder.Contents ( "C:\Users\SharmaAnt\Downloads\Test" )[[Content]],
AddedCustom =
Table.AddColumn (
Source,
"Custom",
each Table.SelectRows ( Excel.Workbook ( [Content] ), each [Kind] = "Table" )[Data]
),
ExpandedCustom = Table.ExpandListColumn ( AddedCustom, "Custom" )
in
ExpandedCustom