Forum Discussion

Archie2024's avatar
Archie2024
New Member
2 years ago
Solved

Getting error when trying to combine files from a folder

Hi,

I am trying to combine two files from a folder. I came up with an error message. I'm not sure what I'm doing wrong. I am a novice at PQ, so any help is much appreciated.

 

For context, I converted the file into the table before saving it as .xlxs.

 

Expression.Error: We cannot apply field access to the type Function.
Details:
Value=[Function]
Key=Content

5 Replies

  • Caelan's avatar
    Caelan
    Frequent Visitor

    Hi, unsure on the specific error message - when you say you're combining the files, do you mean you've used the combine and transform function when getting the data, or are you combining them after bringing them into the query? Is the error presenting as soon as it tried to merge the data?

  • Hi, thank you for your response.

    Here are the steps I took:

    Yes, from combine and transform

    - Get data> folder

    - both files were loaded

    -I hit transform

    -I removed the other columns, and kept colums Content (Binary) and Name(payrolldata..)

    -Add custom column, entered Excel.Workbook[Content]

    And that where the column came up with the error msg. Seems like only one table were loaded.

    Expression.Error: We cannot apply field access to the type Function.
    Details:
    Value=[Function]
    Key=Content