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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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