cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Expression Error while loading Access database

Dear All,

 

I am getting an expression error while loading Access database in which one table has one to many relationship with the other using look up function in Design view of Access. If I use allow multiple values, then the problem occurs. 

 

Under first table, the following message appears:

Expression.Error: The index is outside the bounds of the record.
Details:
Record=
Case_number=1
Customer_F_Name=Claire
Customer_L_Name=Redfiled
Incident_Date=10/07/2019 00:00:00
Incident_Details=something happened
Incident_Resolution=we fixed it
Case_Status=Closed
Index=-1

 

Under the second table, the following message appears:

 

Expression.Error: The column 'Assoc_name.Value' of the table wasn't found.
Details:
Assoc_name.Value

 

Can anyone help here?

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

For the 1st question, please refer to this case:

https://community.powerbi.com/t5/Desktop/Error-when-loading-tables-with-foreign-keys/td-p/602001

 

For the second question, I think the column 'Assoc_name.Value'  should have been removed from your data source. So the error occur. You can modify your M code to detele the column in Power query. Or you can refer to the slolution as below.

https://www.antaresanalytics.net/single-post/2018/08/13/Data-Management-M-Scripting---Preventing-The-column-of-the-table-wasnt-found-error-message

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

For the 1st question, please refer to this case:

https://community.powerbi.com/t5/Desktop/Error-when-loading-tables-with-foreign-keys/td-p/602001

 

For the second question, I think the column 'Assoc_name.Value'  should have been removed from your data source. So the error occur. You can modify your M code to detele the column in Power query. Or you can refer to the slolution as below.

https://www.antaresanalytics.net/single-post/2018/08/13/Data-Management-M-Scripting---Preventing-The-column-of-the-table-wasnt-found-error-message

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors