Forum Discussion

LuizLai's avatar
LuizLai
Regular Visitor
8 years ago

How to connect BigQuery Sheets table using the Power BI connector?

Good day,

 

I have a dataset in bigquery with some tables of data. One of this source table its a google sheets data. When i try to use the bigquery connector in Power BI i'm getting this error. I know that error its because the Powerbi App not request the Google drive api permission, to read my sheets, only the BigQuery API).

 

 

 

I'm trying many ways to work around this problem, and one solution is programming a job query into BigQuery to copy my table to another table without link of the sheet, in the case the bigquery connector works fine. 

 

 

Is possible to grant more permission to the Power bi app for read my google drive sheets? How i can do this?

 

Thank you so much.

 

7 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    LuizLai,

    Based on my research, accessing data hosted within Google Drive requires an additional OAuth scope. Have you enabled Google Drive access following the guide in this article?

    Regards,
    Lydia

    • LuizLai's avatar
      LuizLai
      Regular Visitor

      Hi Anonymous

       

      Exactly! but my google drive api for this project is enable! i think so this problem is correlated with the `powerbi.com` app that don`t ask me to consent this permission. I have some screeenshoots.  

       

       

       

      How i can pass the google drive API persmission for the powerbi.com ? 

       

      is there any way to add permission for this app powerbi.com(API, support, Web Cli)?

       

      Thank you.

  • Found any solution? Because I am having the same issue.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi all, a little late here but I found a solution that solves importing a BigQuery table (source - Google Sheet) to PowerBI. It's relatively simple - schedule a query in BQ (e.g. SELECT * FROM [name of your google sheet table in bigquery]) and run that daily to ensure you capture new changes in the Google sheet. This allows you to store the results of your scheduled query in a separate table which you will then use in PowerBI. This way PowerBI doesn't have to authenticate with Google Sheets.

       

      Hope this helps!