Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vega
Resolver III
Resolver III

Unable to Open .xls Files From Azure Data lake

Hello,

I am trying to open some .xls files that are located in Azure Data Lake. When I use Get Data -> More -> Azure -> Azure Data Lake, navigate to where the files are, and try to combine the files I get the following error:
Capture2.PNG

However, if download the .xls files to my local machine and use Get Data -> More -> Folder, point it to the local copies and combine the files, the process works as expected and I am able to see the contents of the files. Does anyone have any suggestions as to why this is the case or what can be done to resolve it?

 

Thanks

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @vega,

 

You can refer to below steps to combine these xls files.

 

1. get data from azure data lake.

1.PNG

 

2. Navigate to files list.

2.PNG

 

3. Add custom column to analysis excel files.

#"Added Custom" = Table.AddColumn(Test, "Custom", each Table.PromoteHeaders(Excel.Workbook([Content])[Data]{0})),

5.png

 

4. Use Table.Combine function to merge these files.

4.PNG

 

Full query:

let
    Source = DataLake.Contents("xxxxxxxxxxxxxx"),
    Test = Source{[Name="Test"]}[Content],
    #"Added Custom" = Table.AddColumn(Test, "Custom", each Table.PromoteHeaders(Excel.Workbook([Content])[Data]{0})),
    Custom1 = Table.Combine(#"Added Custom"[Custom])
in
    Custom1

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.