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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BIBarry
Helper I
Helper I

Ms Access Refresh - Error 2147467259

Hi,

I have an issue refreshing a Query from an Ms Access Database, returning the above error code. Error below.

 

Refresh Error.PNG

 

I have read that this can be caused by changing the name of a table,tabs in the source etc, but that is not causing this. 

 

This is the query I am connected to(Named exactly as above)

 

PMO Entries.PNG

 

I am using an personal-mode gateway, doubt that causes this error.  Is there anything within the Advanced Editor script that could cause this?

 

ae.PNG

 

Any help to get my first scheduled dataset to run would be greatly appreciated Smiley Very Happy

 

Thanks,

Barry.

 

4 REPLIES 4
BIBarry
Helper I
Helper I

FYI The refresh works fine in Desktop with no errors appearing in Power Direct.

Hi @BIBarry

 

I cannot reproduce the same issue. Please check if the below post could help you.

https://community.powerbi.com/t5/Desktop/Expression-Error-The-key-didn-t-match-any-rows-in-the-table...

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-cherch-msft Unfortunately, this didn't fix the error.  I removed steps used in Power Direct changing any datatypes and republished the workspace. No Luck Smiley Sad

 

ALSO If I try to connect to the database from the Dataflow service, I cannot even see the queries.  My suspicion is that this error lies with trying to connect to a view instead of a table ?? I am the owner of the database so permissions shouldn't be an issue.

Solved the issue, I had fields that were null in the database which were causing this as I had a default value rule set for the Fact Table, Zero in this case because it was numberic field.  Power BI was taking this rule into account when trying to ready the query from the database, identifying the null's as incorrect key values.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors