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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jellis1971
Helper IV
Helper IV

The key didn’t match any rows in the table

Hi:

I made a copy of my Power BI .pbix file, opened it, chose "Transform Data", and changed the "Source" for each of the three tables.

I did this, to "point" my Power BI report to a different but similarly structured database.

Applying these changes displays the error, "The key didn’t match any rows in the table".

How do I eliminate this error, without removing and re-adding the tables?

Thanks!

John

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jellis1971 

 

Thanks for the reply from amitchandak .

 

@jellis1971 , I have done the following test for your reference:

 

The data source I'm using is SQL Server.

vxuxinyimsft_1-1723169172127.png

 

Then I modified the connected table

vxuxinyimsft_0-1723169023711.png

 

I'm getting the same error as you.

vxuxinyimsft_3-1723169896928.png

 

Then I deleted "Navigation."

vxuxinyimsft_4-1723170769492.png

 

Modify the corresponding form name, then Close & Apply.

vxuxinyimsft_2-1723169377094.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @jellis1971 

 

Thanks for the reply from amitchandak .

 

@jellis1971 , I have done the following test for your reference:

 

The data source I'm using is SQL Server.

vxuxinyimsft_1-1723169172127.png

 

Then I modified the connected table

vxuxinyimsft_0-1723169023711.png

 

I'm getting the same error as you.

vxuxinyimsft_3-1723169896928.png

 

Then I deleted "Navigation."

vxuxinyimsft_4-1723170769492.png

 

Modify the corresponding form name, then Close & Apply.

vxuxinyimsft_2-1723169377094.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@jellis1971 , Open Power Query. For one of the tables, there will be an error in the step where the column name does not match. You need to go and change the name there. It is usually in the rename or change datatype step.

 

debug issue
https://www.youtube.com/watch?v=OE6DPmKqN7s


refer how to handle error in power query
https://www.youtube.com/watch?v=OE6DPmKqN7s
https://www.youtube.com/watch?v=9-Lag0VOiTs

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors