Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
cooperabc
Frequent Visitor

Need to put SQL code/ Query in Power BI desktop and refresh whenever need

Hi, 

 

I have not used SQL in Power BI and I need truly help. My goal is to do everything in Power Bi, another words I want to add or update my SQL code/query in Power Bi without using BigQuery (if that's possible). I am using BigQuery DB, but as I said I want to automate everything in Power Bi. Just do not know steps so I do really need steps for Power Bi desktop. Thank you in advance. 

 

Adam

2 ACCEPTED SOLUTIONS

I think the error points to a connection issue, not an issue with your query.  Make sure your connection credentials are correct (and that they have access to the data you are querying)

View solution in original post

Here we go. So could you pls tell me how I can do it? Could you pls share screenshot for steps how I can do it ? I will be very thankful if you can give me or show me steps for that. Thanks

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

Decide which connector you want to use

lbendlin_0-1733263724217.png

Then paste your SQL statement in the box at the bottom.

 

lbendlin_1-1733263770189.png

 

 

Hi @lbendlin thanks for replying. I selected Get data--> Google BigQuery --> Advanced options --> Filled Project ID and Pasted my full code --> Ok 

 

I see this error.  

 

cooperabc_0-1733319398259.png

 

 

I just want to let you know, it is the first time connecting or using Power Bi with Big Query. This is the first step? Also secondly, do you think the query that runs perfectly in the BigQuery can be pasted here directly? 

 

Thank you ~ Adam 

I think the error points to a connection issue, not an issue with your query.  Make sure your connection credentials are correct (and that they have access to the data you are querying)

Here we go. So could you pls tell me how I can do it? Could you pls share screenshot for steps how I can do it ? I will be very thankful if you can give me or show me steps for that. Thanks

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors