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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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 @Anonymous,

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
Super User

@Anonymous , 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

Anonymous
Not applicable

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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