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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Sonashish
Resolver I
Resolver I

Using Combined Excel data and generate new report

Hello

 

I have multiple Excel Online files with below information, these excel hosted in SharePoint online. Each excel represent to different location like location1, location2, location3.

 

Excel 1

Then I am pulling data from different location excels and creatin a combine one local summarized excel using formula like IF(Location1!$B$5="N","NA",Location1!$C$5)

excel1.JPG

 

Excel 2

excel2.JPG

Now whenever new event occurred. I need to update both the excel files.  Currently I am manually adding the date and other column in first table for each location in excel online. Then  I am adding another column in table with using IF(Location1!$B$5="N","NA",Location1!$C$5) formula.

 

I am ok with first excel because I can add multiple excel and combine them. Using the values from combined excel data, I want to generate report as mentioned above in 2nd tables with background color. So whenever if someone add data in first table (Excel online), so 2nd table should update the report with new information.

 

How this can be done ?

 

Thanks

Sona

1 ACCEPTED SOLUTION

Hello Lionel,

Actually I found that whatever excel I am combining that sheet tab names are different. Once I renamed the sheet name as Sheet1 in all excel, everything was working as I am expected.

 

However I did not found that in any bloh or post where it is mentioned that if you combine excel, sheet name should be same.

 

Thanks

SOna

View solution in original post

5 REPLIES 5
v-lionel-msft
Community Support
Community Support

Hi @Sonashish ,

 

Is it like this?

v-lionel-msft_0-1609136276654.png

The reason is that the column names of the tables in different Excel files are different.

If the tables have the same field names, they can be merged.

 

Best regards,
Lionel Chen

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

 

Hello Lionel,

Actually I found that whatever excel I am combining that sheet tab names are different. Once I renamed the sheet name as Sheet1 in all excel, everything was working as I am expected.

 

However I did not found that in any bloh or post where it is mentioned that if you combine excel, sheet name should be same.

 

Thanks

SOna

v-lionel-msft
Community Support
Community Support

Hi @Sonashish ,

 

v-lionel-msft_0-1608713794769.png

Did you create these two tables on the data source(SharePoint Online)?

You should first import excels from different locations on SharePoint Online to Power BI, then merge the tables (table 1) and create a matrix (table 2) with table1.

 

Best regards,
Lionel Chen

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

I manually combined the excel and able to create the first table and generate pivot table successfully and able to refresh only.

 

However I am not able to combine the multiple excels from SharePoint online in PowerBI.  After combining the excels, it is always picking first excel only, not sure why? However I am able to combine multiple CSV. I posted same query in forum as well.

 

 

amitchandak
Super User
Super User

@Sonashish , do not got  it completely. But Excel 2, need to unpivoted

https://radacad.com/pivot-and-unpivot-with-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.