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