Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Refresh issue with combined API and excel dataset

Hi All,

I'm using a dataset which is a combination of an Excel file (stored locally) and some API connections to a third party site. In the desktop app, I've joined these sources with a date table I created using the CALENDARAUTO() command to create the final tables, calculated columns and measures I've used for visualizations.

 

In the online service I've set up a data gateway connection to update the Excel file, set up the API credentials separately (as it says these are optional to add to the gateway) and set up the schedule refresh.

 

When I click refresh on the dataset, it seems successful (I get 'connection successful' messages in the refresh history) but when I go to the report online, the visualisations are not displaying the information correctly. Almost all data is displaying as 0.

 

I've tested the update separately for the excel file through the data gateway (it works) and the API connections without using the gateway (they work). When I do the refresh of the whole dataset within the desktop app it all works fine. 

 

I'm at a complete loss now, any ideas on what I'm doing wrong?

 

Thanks

7 Replies

  • JirkaZ's avatar
    JirkaZ
    Solution Specialist

    Anonymous Do you have the privacy levels set up correctly (to identical values) in the service?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi JirkaZ , thanks for the suggestion but yes they're all the same...

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI Anonymous,

    It sounds like you use the additional connection to the external data sources in your excel file, right? If this is a case, power bi service side, it only traces the change of your excel file. These refresh requests not trigger and activate the internal connection that stored in your excel file. (so power bi can not get records from excel file even if refresh operation processing succeed)

    Regards,

    Xiaoxin Sheng

    • Anonymous's avatar
      Anonymous
      Not applicable

      No sorry Anonymous I haven't used an additional connection to them within the excel. The excel file only contains manually entered data.

      • Anonymous's avatar
        Anonymous
        Not applicable

        HI Anonymous,

        Did your report mix with multiple types of data sources? (e.g both on-premise and online datasource)  Any advanced operations in your query tables? (e.g. merge, combine, reference other queries...) They may affect the refresh operations and Datasource configurations.
        Regards,

        Xiaoxin Sheng