Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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