Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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?
Solved! Go to Solution.
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
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
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
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.
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
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