cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PC2790
Super User
Super User

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 gibberish.

Something like below:

PC2790_0-1619531371845.png

This is useless to me as I cannot use thi sdata as required.

I stumbled upon a similar post -https://community.powerbi.com/t5/Desktop/How-to-resolve-Nested-Big-Query-Data/td-p/1327846 and can see that it is marked as an Solved, however I am not able to figure out how.

 

Can anyone please advise how this can be approached please?

P.S- As the data is sensitive, I won't be able to share the data. If there is any other wa, please donot hesitate to suggest.

 

Thankyou in advance

1 ACCEPTED SOLUTION
PC2790
Super User
Super User

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

 

View solution in original post

3 REPLIES 3
PC2790
Super User
Super User

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
Super User
Super User

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
 
v-cazheng-msft
Community Support
Community Support

Hi @PC2790 

Please check whether there are other tables in the Navigator Pane. Maybe some tables contains proper data.

 

v-cazheng-msft_0-1619665528691.png

 

Best Regards

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution . Really appreciate!

 

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.