Forum Discussion
PC2790
5 years agoCommunity Champion
JSON data from Google Big Query not interpreted correctly once extracted in Power BI
Hello guys, So I am working on this piece of work where I am trying to fetch Google Big Query data in Power BI, however when I do that in normal tabular format, it comes out to be somewhat gibber...
- 5 years ago
Finally I reached to a conclusion here where I am Unnesting the columns in Google Big Query, saving them as views and then consuming them in Power BI.
Prerequisite is that you have some background knowledge of writing queries in Google Big Query.
Some information on the queries can be found here:
https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#unnest_operator
PC2790
5 years agoCommunity Champion
So when I try to download the data in the offline mode as JSON format and the load in Power BI as JSON, it works fine.
So what I am not doing is UNNESTING the data as:
Select *, co.value
from <table> as tablename,
UNNEST(NestedColumnname) as co
I am looking for ways to get this query saved as view so that I can consume it in Power BI