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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
cooperabc
Regular 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.