cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sunny1984
Regular Visitor

Select different sheet name present in three different excel

Hi All,

 

I have Three excel file which contains many sheets.

For example, 

 

1. 2020 -> IndJan20, IndFeb20, IndMar20

2. 2019 -> CHNJanuary19, CHNMarch19, CHNFebruary19

3. 2018 -> MYJan18,  MYFebruary18, MYMar18

 

I wants to create three table.

First table contains data of IndJan20, CHNJanuary19, MYJan18.

Second table contains data of IndFeb20, CHNFebruary19, MYFebruary18

Third table contains data of IndMar20, CHNMarch19, MYMar18

 

I tried below solutions but it did not work as my index is different.

https://radacad.com/get-data-from-multiple-excel-files-with-different-sheet-names-into-power-bi

 

I tried second solution but it is giving key error.

 

 

 

 

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @Sunny1984,

According to your description, I think you may need to use advanced operations(nested multiple functions or custom with power query functions) to achieve your requirement.
Can you please share some dummy data to test?

How to Get Your Question Answered Quickly

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User IV
Super User IV

@Sunny1984 , You should rename the columns and merge -https://radacad.com/append-vs-merge-in-power-bi-and-power-query

example

IndJan20, -> Jan 20

MYFebruary18 -> Feb 18

 

Post that unpivot the column and gets a month in rows

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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Hi @amitchandak ,

 

Thanks for the reply. I have hundred of excel like this, is there any way to rename the sheet automatically ?

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors