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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Amjad1002
Helper III
Helper III

Error on Refresh

Hello Folks,

 

I have data files located into sharepoint and I am using web link to connect data for PB dashboard. This is happening second time.

I created the dashboard and refresh, it work good and data get freshed but now I am getting error.

I am not quit sure why this is happening. No one is changing filed name they are just updating datainto sharepoint files.

Any idea why this is happening? 

Amjad1002_1-1674141033797.png

Thanks

 

 

1 ACCEPTED SOLUTION

That's pretty easy - in this section:

GregMarbais_0-1674146575161.png


Find "PRIORITY" in red and change it to "DC Week" - just make sure it matches what's shown in the column header in the step earlier

View solution in original post

11 REPLIES 11
Amjad1002
Helper III
Helper III

Thanks GregMarbais!

Amjad1002
Helper III
Helper III

Hi Yes, I can see error in table. I can see the steps for each tables, anything which is "Changed Type" showing me error if I back track.  I only change the date type in data as it was text in data therefore I change to local.

Amjad1002_0-1674144789016.png

 

@Amjad1002 That's good - that helps. It doesn't appear that the change types step is the issue - it looks like the problem is earlier in the Applied Steps section. So the thing to check is the Source and Navigation steps. You may need to click the widget icon next to one or both of those and point Power Query to the new location/new sheet name.

GregMarbais_0-1674145097307.png

You can click on each step to see which one has the issue (basically, is it the Source step or the Navigation step that you'll need to fix). I'm guessing it's the Navigation step and you'd need to point it to the appropriate tab but if the location changed then you may need to update the Source step too. But basically, you want to click through each step until you see the error message appear and that's the step you need to fix.

I just figuer it out. someone change the column name "PRIORITY" to " DC Week". Now I want to update this column name how can I update so that error can be fix

That's pretty easy - in this section:

GregMarbais_0-1674146575161.png


Find "PRIORITY" in red and change it to "DC Week" - just make sure it matches what's shown in the column header in the step earlier

GregMarbais
Kudo Collector
Kudo Collector

@Amjad1002 Rather than refreshing the table, go into Power Query:

GregMarbais_0-1674143697540.png

In Power Query, you should be able to see which queries have errors in it - it looks like it may be a handful of the tables.
If you don't see any errors when you open Power Query, click the drop down arrow under "Refresh Preview" and click "Refresh All"

GregMarbais_1-1674143746475.png


That will try refreshing the preview data for each table. And you'll likely see errors in the tables. Then you can update any table names in Power Query or delete the tables and re-import them. But for sure, you'll need to make the updates in Power Query to fix the errors you're seeing. It looks like it may be a mix of changes to the location of files, changes to the name of files, changes to the tab names in excel files that may be causing those errors.

Amjad1002
Helper III
Helper III

Amjad1002_0-1674142974666.pngAmjad1002_1-1674142980391.png

These are the error I can see when I refresh each indiviual. Just keep in mind I have append query. 

Amjad1002_2-1674142994001.pngAmjad1002_3-1674143001388.png

Amjad1002_4-1674143014466.png

 

 

Amjad1002_5-1674143025329.png

 

 

 

Amjad1002_0-1674145772420.png

I just refreshed again now other error gone automatically. Not sure how. I belive when someone work on Sharepoint files it block me to refresh that what I belive what you think? Now I have one error in on table. I do not see error in Source or Navigation but When I click to Change type I can see below error. I beleive someone remove the periotity column? 

Amjad1002_1-1674145932727.pngAmjad1002_2-1674145948127.png

 

Amjad1002_3-1674145958352.png

 

 

@Amjad1002 Yep, that error message definitely means it doesn't see that column anymore. You can remove it from the Change Type step pretty easily - just click the down chevron

GregMarbais_0-1674146139099.png


Then find the entry for priority and delete it - make sure to delete the curly braces and the comma after too or you'll get another error message.

GregMarbais
Kudo Collector
Kudo Collector

@Amjad1002 I'd suggest going into power query and refreshing all of your tables - especially the one that's generating the error. That may fix the issue or it would help track down the error which could be a name change on the table (sheet name change, file name change, something like that).

Here's a good blog about it: https://blog.crossjoin.co.uk/2020/04/06/understanding-the-the-key-didnt-match-any-rows-in-the-table-...

amitchandak
Super User
Super User

@Amjad1002 , Your last table has an issue, refer

https://blog.crossjoin.co.uk/2020/04/06/understanding-the-the-key-didnt-match-any-rows-in-the-table-...

 

https://community.powerbi.com/t5/Power-Query/Expression-Error-The-key-did-not-match-any-rows-in-the-...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.