Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Dataset refresh from OneDrive Excel file set-up

I have a .pbix file made in Desktop Pro. The source of the data is excel files. I have uploaded the excel files on onedrive and made the required changes Following the threads:

https://community.powerbi.com/t5/Desktop/Changing-excel-file-data-source-location/m-p/206196#M90859

http://community.powerbi.com/t5/Desktop/Change-source-of-Excel-to-OneDrive-for-existing-reports/td-p/230229

 

I have also imported the dataset and report in service . However, the data is not refreshing and I do not see any options to enter my credentials. From what I understand, I do not need to schedule refreshes for the data in onedrive. Hence, fail to understand why PowerBI  is asking me to enter credentials.

 

Every other discussion in the forum or the microsoft documentation varies, because of the different versions of Power BI, I believe.  Can any one help with the latest update/version?

 

 

 

3 Replies

  • v-juanli-msft's avatar
    v-juanli-msft
    Community Support

    Hi Anonymous

    “I have a .pbix file made in Desktop Pro. The source of the data is excel files. 

    I have also imported the dataset and report in service . “

    You connect excel files stored on OneDrive(for Business or Personal?) to Power BI Desktop via Web connector, then publish the pbix file to Power BI Service, right?

    “From what I understand, I do not need to schedule refreshes for the data in onedrive. Hence, fail to understand why PowerBI  is asking me to enter credentials.”

    Also, from your screenshot, you don’t install a gateway or configure datasoure to the gateway.

    When you setup a refresh schedule, Power BI will connect directly to the data sources using connection information and credentials in the dataset to query for updated data, then load the updated data into the dataset. So you need to install a gateway and configure the credential for datasource.

     

    Therefore, please follow the steps so you can refresh on Service site.

    1.Connect files stored in OneDrive for Business to Power BI Desktop

    Use OneDrive for Business links in Power BI Desktop

    Note: To use a OneDrive for Business file as a data source in the Power BI service, with Service Refresh enabled for that file, make sure you select OAuth2 as the Authentication method when configuring your refresh settings. 

    2.Download and install On-premises data gateway

    3.Manage data source

    4.Configuring scheduled refresh

     

    Additionally, you may need know more about refresh for further use.

    Understanding data refresh

     

    Best Regards

    Maggie

  • Hi there,

    If you changed the connection to connect via a web URL then you will need a gateway to refresh the data.

    How do you connect to your files in OneDrive?