web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dataflow in Dataverse ...
Power Apps
Unanswered

Dataflow in Dataverse with BigQuery - missing SQL statement option

(0) ShareShare
ReportReport
Posted on by 93

Hi everyone,

I'm hoping someone can point me in the right direction for using a native SQL query when connecting to Google BigQuery from Dataverse Dataflow. When I set up a connection on Dataverse, I don't have an option to provide a SQL query, only select existing tables/views that are then available individually in Power Query. 

IanJB_3-1691006766878.png

 

Contrast this to a standard SQL server connection, which offers a query input under the Advanced options:

IanJB_1-1691006381236.png

 

Similarly, if I use BigQuery as my datasource in PowerBI Desktop, I can put in a query (as described here Use advanced power query editor to use SQL stateme... - Microsoft Fabric Community😞

IanJB_2-1691006424212.png


Does anyone know if there is a way to add a native SQL query when using BigQuery via a Dataflow on Dataverse?
Documentation suggests it should be possible (Import data from a database using native database query - Power Query | Microsoft Learn) but I'm not seeing a means to do so when creating a Dataflow.

 

The BigQuery doc reference suggests this should be available on the web as well (Google BigQuery connector - Power Query | Microsoft Learn)

IanJB_4-1691006852662.png


Am I simply missing something, or am I out of luck on this one?

 

Thanks!

 

 

 

 

Categories:
I have the same question (0)
  • IanJB Profile Picture
    93 on at

    Need to read a little further in the BigQuery connector doc to see that the SQL statement is not supported online:

    IanJB_0-1691010001994.png

    Bummer 😞

  • Verified answer
    IanJB Profile Picture
    93 on at

    Found a workaround. Even though the SQL statement input is not available as part of the connection setup on Web, you can drop in a native query once the connection is made in Power Query. Just create a new blank query and use the following format to get the query to run just as if you had the query input available on Desktop:

     

    Value.NativeQuery(GoogleBigQuery.Database(){[Name="PROJECT NAME HERE"]}[Data], "SELECT STATEMENT HERE", null, [EnableFolding=true])


Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard