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

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Top Solution Authors
Top Kudoed Authors