Forum Discussion
New to BI. Writing SQL queries to parse data. I am obviously missing something.
How can I edit the query when I'm using the BigQuery connector?
The bigQuery connector just allow me to select a table, but I need to make a different sql to correlate 2 tables with several gigabytes of data. The result has only 3800 rows and that is what I want to bring to powerBI.
I cannot change my odbc connections, but I can use the BigQuery connector.
Can I edit the SQL in PowerQuery advanced editor?
Thanks a lot
Anonymous Not clear if you are asking a question. From what I understand you want to merge two tables using a query in Big Query and bring in only that data right which is 3800 rows. What you can do is write your SQL query in Google BQ Console and then save that data as a view under a project. Then in Power BI, connect to that view instead of those 2 tables.
- Anonymous6 years agoNot applicable
Thank you for the quick answer newpi .
I know I can proceed as you described. My question is if there is a way do specify the SQL in the connector configuration.
As example, for oracle we can write in advanced editor:
let
Source = Oracle.Database("dbHost/db",[HierarchicalNavigation=true, Query="select field from table where condition"] )
in
SourceCan I do the same with bigquery connector? how? I tried the same but the "Query" parameter does not work 😞
I'm using:
let
Source = GoogleBigQuery.Database([BillingProject="projectid"])
{[Name="projectid"]}[Data]
{[Name="myDataset",Kind="Schema"]}[Data]{[Name="myTable",Kind="Table"]}[Data]
in
Source
Documentation is not clear nor can't find the possible options for the connector
Thanks to all