Forum Discussion

Paul_Castelino's avatar
Paul_Castelino
Copper Contributor
May 18, 2020

Data Connection Refresh Error

Hi. I have successfully been able to import data (in File No. 1) from another excel file (File No. 2). Both these files are stored in Sharepoint and are collaborated with a team. These files also can be accessed thru the Files Tab in a Teams Channel. These files are also stored on my Laptop and can be accessed via OneDrive/Sharepoint. When I open the file from my laptop and perform Data Refresh , the connection is successful and the refreshed data gets imported (i.e. New Data from File No. 1 to File No. 2). When I access the same file thru Teams (or excel online), I get a refresh error as below.

 

Other users who try to Refresh the File (File No. 2) also get the same error. Appreciate if I can get a solution.

 

 

24 Replies

  • Hey all,
    We appreciate your patience!
    I can share we have now released the ability to refresh Power Query queries in Excel Web / Teams, for 2 data sources: From Table/Range and (anonymous) OData feed.
    We are continuing work to support more data sources and refresh automation - stay tuned...
    Happy for any feedback.
    • Anthony13122's avatar
      Anthony13122
      Copper Contributor

      jokahati Any update on supporting the Power Query data source for Excel Online?

      "UNSUPPORTED DATA SOURCE This workbook contains Power Query queries that can't be refreshed in Excel for the Web."

      • jokahati's avatar
        jokahati
        Icon for Microsoft rankMicrosoft
        Hey Anthony13122,

        See my previous comment - we now support PQ Refresh in Excel Online for these data sources:
        From Table/Range and (anonymous) OData feed (also appears in the "Learn more" link).
        We are continuing work to support PQ Refresh for many more data sources.
  • Paul_Castelino 

     

    You cannot refresh Power Query queries in Excel for the Web today (same applies for Teams which uses Excel for the Web internally). We are working on this, but it will take a while until we get there.

     

    I encourage you to follow the announcements at the Excel blogs channel here on this portal:

    Excel Blog - Microsoft Tech Community

     

    Guy

    - Excel Team

    • BCH78's avatar
      BCH78
      Copper Contributor

      Guy Hunkin- Would you be willing to respond to this inquiry to let us know if this problem has been resolved since you posted about it in December 2020.   I'm having a hard time refreshing a query via ExcelOnline or in Excel under the Teams wrapper.  (Manually or via OfficeScript) 

       

      Only works if I open the workbook. 

       

      Thank you.

      • Paul_Castelino's avatar
        Paul_Castelino
        Copper Contributor

        BCH78 No updates from Microsoft. Switched over to Google Sheets and it was simple and seamless....lol...

    • ConnorMurphy's avatar
      ConnorMurphy
      Copper Contributor
      Hello! See it has just been over a year since this comment was posted. I was curious if there has been any update regarding this matter? I am also trying to use the power query function in Teams and would love to be able to.
    • dgr4it's avatar
      dgr4it
      Iron Contributor

      Guy Hunkin 
      Just wanted to say that I have the same problem as the OP (meaning I'd like the same feature).
      I understand it's not working yet, hope you can get it soon.

      One of the cool usages I've always thought I'd want Teams Excel tabs to be is displaying "simple dashboards" based on Excel files. I guess there are smarter ways of doing that, but as of now we tend to build those using self-refreshing Queries (not even Power Query, just simple Excel to Excel Queries).

       

      Not being able to refresh those in Teams means the idea of the "simple dashboard" just fell into pieces.

    • Paul_Castelino's avatar
      Paul_Castelino
      Copper Contributor
      Hi Jan,
      Thanks for your reply. The file address is a Sharepoint path and not a local path. It has been connected just like the instructions in the link you have sent.
      • SergeiBaklan's avatar
        SergeiBaklan
        Diamond Contributor

        Paul_Castelino 

        One of possible reasons if in desktop application privacy level were ignored. Cloud services ignore such ignorance and take about the privacy levels. 

        That's easy to check - on desktop change setting on Combine privacy levels and Refresh All. If works - something else. If not - rebuild your query.

Resources