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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Mahmoud_Awad99
New Member

I have this error: The key didn’t match any rows in the table error in Power BI when I open Autodesk

  • I have this error(The key didn’t match any rows in the table error in power bi) when i Open autodesk construction cloud template and add data in power bi using construction cloud can any one help me and why data does not match The corresponding table in the template it load a new table with same name +(2).
  • @XiaodongLiang 
  •  
1 ACCEPTED SOLUTION
oe_lopez
Regular Visitor

Hello Mahmoud, I am very new to PowerBi but I had this problem as well. 

 

The solution is converting the hardcoded sheet name in the transformation function to dynamic. I found this from MissMicrosoft https://www.youtube.com/watch?v=MMF3bNXqT2c&ab_channel=MissMicrosoft. 

 

In this video, she also covers dynamic name tables.

 

Hope this helps!

 

Omar

View solution in original post

4 REPLIES 4

Duplicate Table Loading:

Data Source Changes: When you add data from Construction Cloud, Power BI might detect differences in the data source compared to the template's original data source. This can lead it to create a new table instead of updating the existing one.

4lejandro
New Member

I know this is already solved, but to anyone that is still struggling with this error I have a solution, more like a guideline you should always take into account when working with multiple files, this works in a very specific scenario, I think:


Don't save the workbook you are using to merge all the files in question in the same folder as your source files. It worked for me, it can work for you. Cheers

oe_lopez
Regular Visitor

Hello Mahmoud, I am very new to PowerBi but I had this problem as well. 

 

The solution is converting the hardcoded sheet name in the transformation function to dynamic. I found this from MissMicrosoft https://www.youtube.com/watch?v=MMF3bNXqT2c&ab_channel=MissMicrosoft. 

 

In this video, she also covers dynamic name tables.

 

Hope this helps!

 

Omar

Anonymous
Not applicable

Hi @Mahmoud_Awad99 ,

TL;DR You’re probably getting this error because your Power Query query is trying to connect to a table or worksheet or something in your data source that has been deleted or been renamed.

There are two ways to fix the error:

  1. Go to the Excel workbook and change the name of the sheet called “Hello” back to “Sheet1” or
  2. In either the Advanced Editor or the Formula Bar edit the M code and replace the reference to “Sheet1” with “Hello” in the second step of the query:

More details:Understanding The “The key didn’t match any rows in the table” Error In Power Query In Power BI Or E... 

 

I have also found a similar post, please refer to it to see if it helps you.

Expression Error.: The key didn't match any rows in the table

  • Click duplicate on source on the right ( Applied step)

    - It show a table--> You can see at the Hiddens column--> It's "False"

    - Click on "Table" on Data column.

    - It's show a msg box (Pic 2) --> Choose continuos 

If I have misunderstood your meaning, please provide a screenshot with the error.

 

Best Regards
Community Support Team _ Polly

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

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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