cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cathyyue
Helper I
Helper I

The key didn't match any rows in the table when changing data source

Hi,

 

I was trying to change a data source for my report in Power BI desktop. I wanted to replace excel file A with excel file B. The headers in excel file B is exactly the same as in A, it's just that B has more up-to-date data than A. 

What I did was clicking om 'Transform data' -> Data source settings -> selected excel file A then change source -> close. Then a bar showed up saying 'There are pending changes in your queries that haven't been applied'.  I clicked 'Apply changes' and a message popped up (see below). Can someone tell me what this message means and how I resolve this issue please? Thank you!!

 

Screenshot 2021-09-07 155643.png

1 ACCEPTED SOLUTION
sm_talha
Resolver II
Resolver II

Keep the names of the old and new file same, it should resolve your problem.

View solution in original post

4 REPLIES 4
sm_talha
Resolver II
Resolver II

Keep the names of the old and new file same, it should resolve your problem.

View solution in original post

Thank you!!!

parry2k
Super User
Super User

@cathyyue maybe in the new excel file you don't have the same sheet or table you connected to when used the original file. go to the navigation step and change the sheet or make sure the new excel file has the same sheet name as your original file. it is also case sensitive.

 

Follow us on LinkedIn

 

Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





Thank you so much!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.