Forum Discussion

heatheralaska's avatar
heatheralaska
Copper Contributor
Oct 12, 2023

Power Query refresh error

My first Power Query and I had it up and running and refreshing but now something must have changed I get the error: We couldn't refresh the connection 'Query - Staff_Budget_Sheets' Here's the error ...
  • LeonPavesic's avatar
    Oct 12, 2023

    Hi heatheralaska,

    the error message [Expression.Error] 1 arguments were passed to a function which expects 0 indicates that Power Query is trying to call a function with one argument, but the function only expects 0 (zero) arguments.

    This can happen for a few reasons:

    • A formula in the query is referencing an empty cell.
    • A custom function in the query is not defined correctly.
    • A step in the query is trying to perform an operation on a single value, but the value is missing.

    To troubleshoot this error, you can try the following:

    1. Check all of the formulas in the query to make sure that they are referencing valid cells.
    2. Review any custom functions in the query to make sure that they are defined correctly.
    3. Look at the steps in the query to see if any of them are trying to perform an operation on a single value, but the value is missing. If so, you can try to fill in the missing value or remove the step from the query.

    If you are still unable to resolve the error, you can try the following:

    1. Delete the query from Power Query Editor and recreate it from scratch.
    2. Copy the query to a new workbook and try to refresh it there.
    3. Repair your Excel installation.


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

Resources