Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PC2790
Community Champion
Community 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 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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
Community Champion
Community 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
 
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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.