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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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

Hi @Anonymous

 

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/td-p/186522

 

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.
Anonymous
Not applicable

@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.

Anonymous
Not applicable

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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