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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DataFormat.Error: File contains corrupted data. Details: [Binary]

Hi,

 

In which case, do we normally get this type of error? 

 

jeongkim_0-1739872227178.png

 

 

let
// Get list of files in SharePoint folder
Source = SharePoint.Contents("https://nokia.sharepoint.com/sites/xxxxx"),
// Get list of files in SharePoint folder
Documents = Source{[Name="Documents"]}[Content],
// Get list of files in SharePoint folder
#"Rollout" = Documents{[Name="Rollout"]}[Content],
// Get list of files in SharePoint folder
#"Daily Report" = #"Rollout"{[Name="Daily Report"]}[Content],
#"Removed Other Columns" = Table.SelectColumns(#"Daily Report",{"Content", "Name"}),
#"Sorted Rows" = Table.Sort(#"Removed Other Columns",{{"Name", Order.Descending}}),
#"Kept First Rows1" = Table.FirstN(#"Sorted Rows",1),
#"Added Custom" = Table.AddColumn(#"Kept First Rows1", "Custom", each Excel.Workbook([Content])),
#"5G Site Status 20250210_20250214_All xlsx1" = #"Added Custom"{[Name="5G Site Status 20250210_20250214_All.xlsx"]}[Custom]
in
#"5G Site Status 20250210_20250214_All xlsx1"

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , I think expand of excel step or excel data has some problem

 

Have you used expand binary icon in the last step  ?

 

Check if this can work

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-use-onedrive-business-links


Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

jeongkim_0-1739932623487.png

 

If I expand the error from Custom column, it looks like this. 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.