Start with where the refresh runs
A refresh can fail in Desktop, in the service with a gateway, or in the service without one. The error text is often the same, but the cause is different. Identify the environment first.
The four families
| Family | Typical message | Section |
|---|---|---|
| Credentials | "The credentials provided are invalid" | 1 |
| Source access | "Couldn't find file" / "DataSource.Error" | 2 |
| Data shape | "We cannot convert the value to type" | 3 |
| Platform | Gateway offline, capacity exceeded | 4 |
1. Credentials expired
The most common cause. Fix in the service: dataset settings, data source credentials, sign in again. Also check whether the account that owns the credentials still exists.
For gateways, credentials are stored per data source, not per dataset, so one expired entry breaks several reports.
2. The file or folder moved
A local path in a desktop file works until the file is renamed. Symptoms: "Couldn't find file" or a path in the message you no longer use.
Fix: update the path in Power Query or in the data source settings, then refresh.
3. Type conversion errors
If a text value appears in a numeric column, refresh stops with a conversion message. Do not change the type to text to silence it; handle the exceptions explicitly.
Better: keep a raw column, add a cleaned column with try...otherwise, and filter the error rows into a review table.
4. Gateway offline or not configured
On-premises sources need a running gateway. Check status in the gateway settings, confirm the dataset is bound to it, and confirm the machine is on.
5. Privacy levels blocking the combine
"The formula is invalid" or a privacy-related message often means two sources are being combined without matching privacy levels. Set them explicitly under Options, Privacy.
6. Capacity or size limits
Large models can hit memory or size limits in shared capacity. Symptoms: refresh starts, runs long, then fails. Check the refresh history for the resource message.
7. Query folding lost
A slow refresh can time out if a step breaks folding. Move the folding-friendly steps earlier, or move the logic to the source.
8. Scheduled refresh disabled
Check the dataset settings: scheduled refresh may be off, or the time zone may put it outside your expectation.
9. Column renamed upstream
If the source renamed a column, the query fails. Fix at the source or make the query resilient with a rename step that handles both names.
10. Duplicate column names after merge
Merging two queries with the same column names can produce ambiguous references. Expand with prefixes.
11. Parameter or path changed
Parameters that build a path silently point elsewhere. Print the parameter value in a temporary step to confirm.
12. Service-only features
Some features work in Desktop but not in the service (or the reverse). Check the documented limitations before assuming a bug.
The fastest check order
- Refresh history: read the exact error, not the summary
- Credentials
- Source path exists and is reachable
- Type errors in the last changed step
- Gateway status
- Privacy levels and folding
Summary
Almost every refresh failure is one of four things: credentials, paths, gateway, types. Read the exact message, then work from the outside in.