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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Nivram
Regular Visitor

Question about connecting the data from 2 Files

Hello Power BI Community,

I have a question that I'm sure the experts among you can answer without further problems.

 

I have included 2 Excel files as data source in the dataset. Excel A for 2022, Excel B for 2023.

 

How can I link the Excel files so that in a visual (eg bar chart) the data from Excel A with the data from Excel B is continued?

 

Thanks for your help 🙂

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello,

you can insert both files into power bi and in power Query you can append both files to have it as one dataset.

 

you can learn how to do it from this link https://learn.microsoft.com/en-us/power-query/append-queries

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Nivram 

 

To display two Excel files' data in a visual continuously, you need to combine data from two files into one table first. Append queries is a good method to do that. Before appending, ensure that the column headers have the same names for columns that share the same meaning. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!

Idrissshatila
Super User
Super User

Hello,

you can insert both files into power bi and in power Query you can append both files to have it as one dataset.

 

you can learn how to do it from this link https://learn.microsoft.com/en-us/power-query/append-queries

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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