Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
So I'm trying to play around with the Google Analytics dataset found in Google BigQuery. Just a little background on this dataset:
When I connect to BigQuery in Power BI and it loads the data, I'm noticing some formatting issues. Check out the screenshot below:
You'll notice that some columns are formatted just fine and it is understandable (i.e. "channelGrouping", "socialEngagementType", "fullVisitorId"). But it looks like the columns "customDimensions" and "hits" are not splitting up into their subsections and is combined into one messy column in a format I don't understand.
When I go to look at the data source on BigQuery, however, it looks fine:
Even though the preview only has one row of data available, you can see that the "hits" column is correctly separated into its respective subsections.
How do I go about formatting the query to look more like this? Here are my ideas:
Any feedback is appreciated. Cheers!
Hi pstrand64,
To use SQL statement when connecting to Google Big Query, you can use ODBC connector instead. For details, you can refer to:
In addtion, ODBC driver only support import mode, so if you are using direct query mode you should using Google Big Query connector.
Regards,
Jimmy Tao
Jimmy,
Thanks for the response, man. So what you're saying is that I can query the data with SQL from Google BigQuery inside Power BI by selecting the option "OBDC connector"?
Sorry if I'm not understanding this or asking the right questions, I'm a little new to SQL and data wrangling (also new to Power BI).
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
87 | |
67 | |
49 |
User | Count |
---|---|
135 | |
113 | |
100 | |
68 | |
67 |