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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
prathijp
Frequent Visitor

Dataflow Gen2 Misreads Excel File – Encoding or Format Issue

I’m trying to read and transform an Excel file stored in a SharePoint folder into a Lakehouse table using Dataflow Gen2 in Microsoft Fabric.

I’m using the SharePoint Folder connector, and while the connection works, the Excel data is being read with incorrect or garbled characters, which suggests a possible encoding or format issue.

Interestingly, when I try the same process with a CSV version of the file, the data is read correctly by the dataflow.

I’ve already ensured the file is saved as a proper Excel Workbook (.xlsx), but the issue persists. I’ve attached a sample of the data being read incorrectly.

Could you help me understand why this is happening and how to resolve it?

1 ACCEPTED SOLUTION
v-nmadadi-msft
Community Support
Community Support

Hi @prathijp ,
Thanks for reaching out to the Microsoft fabric community forum.

In Power Query, use the Excel.Workbook([Content]) function. After connecting through the SharePoint Folder, locate the file’s binary content and apply this function to correctly decode the workbook structure. This ensures the Excel file is interpreted and loaded properly.

I hope this information helps. Please do let us know if you have any further queries.
Thank you

View solution in original post

5 REPLIES 5
v-nmadadi-msft
Community Support
Community Support

Hi @prathijp ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the suggestions  provided by the community members for the issue worked. Please feel free to contact us if you have any further questions.

 

Thanks and regards

v-nmadadi-msft
Community Support
Community Support

Hi @prathijp 

May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.


Thank you

v-nmadadi-msft
Community Support
Community Support

Hi @prathijp 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.


Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @prathijp ,
Thanks for reaching out to the Microsoft fabric community forum.

In Power Query, use the Excel.Workbook([Content]) function. After connecting through the SharePoint Folder, locate the file’s binary content and apply this function to correctly decode the workbook structure. This ensures the Excel file is interpreted and loaded properly.

I hope this information helps. Please do let us know if you have any further queries.
Thank you

Shahid12523
Community Champion
Community Champion

Problem: Dataflow Gen2 misreads Excel from SharePoint due to encoding/streaming issues.
CSV works because it's plain text; Excel needs proper binary stream.


Fix: Use Web.Contents() with a direct SharePoint download URL to fetch the actual Excel file:


let
Source = Web.Contents("https://...download.aspx?...YourFile.xlsx"),
ExcelData = Excel.Workbook(Source, null, true)
in
ExcelData

Shahed Shaikh

Helpful resources

Announcements
September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

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.

Top Kudoed Authors