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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Erin_
New Member

Export single column to separate sheets in Excel from Power BI

I am trying to export an Excel spreadsheet from a Power BI table visual. Table includes things like truck number, delivery items, etc. I need this spreadsheet to be formatted with different truck numbers as different sheets and each sheet including all information about that truck. Is it possible to set 1 column to be split by sheet in the spreadsheet? I know this can be done in SSRS but this data is being exported by users from Power BI in a browser. How do I accomplish this?

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

Hi @Erin_ ,

If I understand you correctly, you want to talk about exporting the data of each truck on visual to each sheet. i.e. each truck's data corresponds to a sheet, right? If yes, I'm afraid that there is no direct method to achieve it in Power BI. You can export the data from a Power BI visual to a .csv file and then use a macro or a VBA script in Excel to split the data into separate sheets based on the values in a specific column. You can find more information on how to export data from a Power BI visual to a .csv file in the following link. 

Export data from a Power BI visualization - Power BI | Microsoft Learn

vyiruanmsft_0-1692607105542.png

Once you have the data in Excel, you can use a macro or VBA script to split the data into separate sheets.

How to Split Excel Sheet into Multiple Workbooks Using VBA (With Example) (yodalearning.com)

excel - Split Data into Multiple Sheets with VBA - Stack Overflow

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @Erin_ ,

If I understand you correctly, you want to talk about exporting the data of each truck on visual to each sheet. i.e. each truck's data corresponds to a sheet, right? If yes, I'm afraid that there is no direct method to achieve it in Power BI. You can export the data from a Power BI visual to a .csv file and then use a macro or a VBA script in Excel to split the data into separate sheets based on the values in a specific column. You can find more information on how to export data from a Power BI visual to a .csv file in the following link. 

Export data from a Power BI visualization - Power BI | Microsoft Learn

vyiruanmsft_0-1692607105542.png

Once you have the data in Excel, you can use a macro or VBA script to split the data into separate sheets.

How to Split Excel Sheet into Multiple Workbooks Using VBA (With Example) (yodalearning.com)

excel - Split Data into Multiple Sheets with VBA - Stack Overflow

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.