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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
derekli17001
Frequent Visitor

How to swap out data source if my data is a folder of excel sheets?

i have a power bi template with visuals where i normally just use the "data source settings" option to switch out the old excel sheet for a new one where the visuals then automatically refresh and adjust to the new sheets. However, this time, i have a folder of multiple excel sheets and i cannot combine and load them as together they exceed the maximum cells excel allows. What do i do? Assume the excel sheets all have the same column names etc

2 ACCEPTED SOLUTIONS
Kishore_KVN
Super User
Super User

Hello @derekli17001 ,

In this case instead of data source settings, you have to go to transform data and it will opens up Power Query Editor and in the query options you can see a parameter which will be holding the path of the folder. There you can modify the new path of the folder. 

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

View solution in original post

v-yohua-msft
Community Support
Community Support

Hi, @derekli17001 

Thanks for the reply from @Kishore_KVN , please allow me to provide another insight:

In Power BI Desktop, go to the Home tab, select Get Data, and then select Folders. Navigate to and connect to the folder that contains the Excel file. 

Power BI prompts you to preview the files you find. Use the Merge button at the top of the dialog box, which will launch the Merge Files wizard. 

After you merge your files, you may want to use Power Query Editor to ensure that your data is clean and structured as needed. You can remove unnecessary columns, filter rows, or make other transformations.

Once loaded into the Power BI model, the visuals should automatically refresh and adjust to the newly combined dataset. You can see more information in following link:

Combine files (binaries) in Power BI Desktop - Power BI | Microsoft Learn

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

2 REPLIES 2
v-yohua-msft
Community Support
Community Support

Hi, @derekli17001 

Thanks for the reply from @Kishore_KVN , please allow me to provide another insight:

In Power BI Desktop, go to the Home tab, select Get Data, and then select Folders. Navigate to and connect to the folder that contains the Excel file. 

Power BI prompts you to preview the files you find. Use the Merge button at the top of the dialog box, which will launch the Merge Files wizard. 

After you merge your files, you may want to use Power Query Editor to ensure that your data is clean and structured as needed. You can remove unnecessary columns, filter rows, or make other transformations.

Once loaded into the Power BI model, the visuals should automatically refresh and adjust to the newly combined dataset. You can see more information in following link:

Combine files (binaries) in Power BI Desktop - Power BI | Microsoft Learn

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

Kishore_KVN
Super User
Super User

Hello @derekli17001 ,

In this case instead of data source settings, you have to go to transform data and it will opens up Power Query Editor and in the query options you can see a parameter which will be holding the path of the folder. There you can modify the new path of the folder. 

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.