Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Excel Refresh Fails

When I try to refresh an Excel spreadsheet that is in a SharePoint library through Power BI the refresh takes a long time then errors out. Here is the most recent error (it's not very helpful):

 

Activity ID: 669bef00-d345-4b59-a62d-26ddbda3474c
Request ID: 8f9caf56-2ee8-415f-5683-4595852b79e1
Correlation ID: e05a813a-475d-a691-8c1c-3cb92fc97e0a
Time: Mon Jul 11 2022 15:00:02 GMT-0400 (Eastern Daylight Time)
Service version: 13.0.18578.38
Client version: 2206.4.12175-train
Cluster URI: https://wabi-us-east-a-primary-redirect.analysis.windows.net/

Status: Needs Info
Comments
Anonymous
Not applicable

Hi @sarmbrecht 

Has this happened before ? If you refresh an Excel spreadsheet in Desktop , will there be such an error ? 

 

Best Regards,
Community Support Team _ Ailsa Tao

sarmbrecht
Frequent Visitor

Yes this happens with every time I run the spreadsheet.  It runs for 1 hour then fails. 

See the first screenshot below.

 

I was able to create a Data Flow that ran the same queries successfully.  See the second screenshot below. I then copied the M back into the spreadsheet, set the primary query to load to the data model in the spreadsheet, uploaded the spreadsheet to the same environment as the data flow, updated the connection credentials, then refreshed the spreadsheet and it failed.  See the third screenshot.

 

Is there any way to get more detail on why the third screenshot below failed?  I have copied in the text version of the error details.

 

sarmbrecht_0-1657622919238.png

 

sarmbrecht_1-1657623185850.png

sarmbrecht_2-1657625337561.png

Failed Connections:Query - Solutions Env Summary
Cluster URI:WABI-US-EAST-A-PRIMARY-redirect.analysis.windows.net
Activity ID:d6d28225-c641-4a0e-88b8-d63891bfbd33
Request ID:74c409d1-69aa-aaba-5b71-7c770416e84c
Time:2022-07-12 11:24:50Z
sarmbrecht
Frequent Visitor

Also, when I refresh the same spreadsheet in the Excel desktop app I do not get the error.

Anonymous
Not applicable

Hi @sarmbrecht 

So you create report in Desktop with data from SharePoint library , then publish the report to Service , then refresh the dataset failed , right ? If yes , did you configure gateway in Service ? After all, to get data from local, you need to configure gateway .

 

Best Regards,
Community Support Team _ Ailsa Tao

sarmbrecht
Frequent Visitor

No.  I am using Power Query in Excel Desktop to pull data from an API and perform some transformations to the data before presenting it as a table in Excel.  I then upload the spreadsheet to power bi and set it to refresh the spreadsheet on a schedule using the following steps:

 

1. Get Data

sarmbrecht_0-1659969886884.png

2. Choose Files

sarmbrecht_1-1659969924398.png

Choose SharePoint Teams Site

sarmbrecht_2-1659969942664.png

Enter URL to Teams site that has the excel file:

sarmbrecht_3-1659969965054.png

Select the Excel File.

SElect Connect

Then select Connect again

sarmbrecht_4-1659970134367.png

Then go to the file and select Schedule Refresh

sarmbrecht_9-1659970475362.png

 

Update the Credentials

sarmbrecht_7-1659970361015.png

Then click Refresh Now.  It always fails.

sarmbrecht_8-1659970432585.png

 

sarmbrecht
Frequent Visitor

This is still an issue.  Is there some other place I should post this to get some support?

sarmbrecht
Frequent Visitor

@Anonymous I do not know why this is marked as Needs Info.  Am I looking for help in the wrong place?  I still need help with this.  I am unable to automate any spreadsheets that we use to query data from Jira or Zendesk.  This should work.  Can you escalate this?

sarmbrecht
Frequent Visitor

Can someone please respond to this ticket??  I have provided a LOT of detailed information above and it is still sitting in the NEEDS INFO status that is incorrect.  We are blocked from using power bi in the way we need to: We want to refresh an excel spreadsheet on a nightly basis.  It refreshes fine when I execute the refresh manually but power bi is failing on the refresh. @Anonymous @v-yadongf-msft @Anonymous @Anonymous 

sarmbrecht
Frequent Visitor

I think I figured it out.  It seems that while you can refresh locally, Power BI will fail if you do not explicitly set the data type for every field.  I have done so and it seems to be working now. Hope this helps others.