cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Skosmek
Frequent Visitor

Power BI Online doesn't refresh (Google Sheets)

Hello Poer BI Comminity,

 

I have a question in regards of P-BI (Online) w/ Google Sheets...

 

For some reasons, when refresh on P-BI (Online) the table for Google Sheets doesn't refersh...

Although, the P-BI (desktop) refreshes with no issue... 

I have hit rock bottom, can figure it out...

I have been publishing the dashboard instead of refreshing...

i don't know if it helps, but i am not uing teh Google Sheets (Beta).

 

If any questions, please let me know.
Thank yo uvery much in advance.

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @Skosmek 

 

How did you connect to Google sheet in Power BI Desktop? After you published the report to Power BI Service, did you set credentials on dataset settings page in Power BI Service?

 

Here are my steps to connect to Google sheet and set refresh in Power BI Service. Hope they are helpful. 

 

1. Connect to Google sheet with the method from this link How to connect Power BI to Google Sheets?

When publishing to the web, I choose to export it as an Excel workbook. So in Advanced Editor of Power Query Editor, my source step is like below.

Source = Excel.Workbook(Web.Contents("https://docs.google.com/spreadsheets/d/e/2PACX-xxxxxxxxxxxx_KZe0mn4/pub?output=xlsx"), null, true)

 

2. After publishing the report to Power BI Service, if I refresh the dataset directly, I will receive refresh failure error. So I go to Settings page, select this dataset and edit credentials in Data source credentials section. 

vjingzhang_0-1645672187997.png

 

3. Select Basic for Authentication method and enter the credentials below that. Save the change. Then I can refresh the dataset in Power BI Service successfully. 

 

* After a dataset is refreshed successfully in Power BI Service, it takes some time to bring new data into the reports using this dataset. So you may not see changes in the reports immediately. You can wait for a while and refresh the report. In my previous test, I saw new data after around 5 minutes. 

 

Hope it helps. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors
Top Kudoed Authors