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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
Sandeep58
Regular Visitor

Downloading CSV from sharepoint and read every sheet in the CSV as a table.

Hi, 

 

I Have a CSV file in my sharepoint and which has 50 sheets in it. 

 

How do i read that CSV file in fabrics and save those 50 sheets as table in my lakehouse ? 

 

it is getting hard with Dataflow as there are 50 sheets in CSV. 

 

is there any alternate way to do that ? 

1 ACCEPTED SOLUTION
v-sathmakuri
Community Support
Community Support

Hi @Sandeep58 ,

 

Thank you for reaching out to Microsoft Fabric Community.

 

CSV files do not support multiple sheets, only Excel files have the concept of worksheets. Assuming you are referring to an Excel file stored on SharePoint, you can try the following approaches:

 

Copy the Excel file from SharePoint to your Lakehouse Files (manually or using Dataflow Gen2 once). Then use Python code to load all sheets and save them as tables.

 

Another approach is to use Data Factory in Fabric. Create a pipeline with a ForEach activity looping through a list of sheet names. Use the Copy Data activity to read one sheet at a time from the Excel file and write it to the Lakehouse. However, this still requires manually specifying or extracting all 50 sheet names.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!

 

Thank you!!

View solution in original post

4 REPLIES 4
v-sathmakuri
Community Support
Community Support

Hi @Sandeep58 ,

 

I hope the information provided is helpful. Feel free to reach out if you have any further questions or would like to discuss this in more detail. If responses provided answers your question, please accept it as a solution so other community members with similar problems can find a solution faster.

 

Thank you!!

v-sathmakuri
Community Support
Community Support

Hi @Sandeep58 ,

 

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. If the responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.

 

Thank you!!

v-sathmakuri
Community Support
Community Support

Hi @Sandeep58 ,

 

Thank you for reaching out to Microsoft Fabric Community.

 

CSV files do not support multiple sheets, only Excel files have the concept of worksheets. Assuming you are referring to an Excel file stored on SharePoint, you can try the following approaches:

 

Copy the Excel file from SharePoint to your Lakehouse Files (manually or using Dataflow Gen2 once). Then use Python code to load all sheets and save them as tables.

 

Another approach is to use Data Factory in Fabric. Create a pipeline with a ForEach activity looping through a list of sheet names. Use the Copy Data activity to read one sheet at a time from the Excel file and write it to the Lakehouse. However, this still requires manually specifying or extracting all 50 sheet names.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!

 

Thank you!!

lutz_bendlin
Advocate V
Advocate V

CSV files have no sheets. Do you mean Excel files?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

May FBC25 Carousel

Fabric Monthly Update - May 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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