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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
nemechek
Frequent Visitor

Google Cloud Platform and Json File

Hello PBI Community, 

 

I have an issue and i did not find the answer on the web,

 

I have a data base in GCP (Google Cloud Platform) this database is a multidimentional file format (.JSON). So i use the connection "Google Big Query" to import the data which it works. But it imports the data directly in table format and does not recognize the JSON Format. So impossible for me to use the data. Do you have any idea to how can i import JSON File that are stored in GCP ?  

nemechek_0-1640861111301.png

 

Thanks for your help,

 

Nemechek

P.S I know how to import a JSON file locally, but here the JSON File is stored in GCP

5 REPLIES 5
Anonymous
Not applicable

Hi @nemechek ,

 

Please refer to the official document:

 

Eyelyn9_0-1641198578944.png

 

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Eyelin9,

 

Thanks for the tips, but unfortunately it doesn't work because it extracts all data in lines. Let's take your example file, when you expand the columns (e.g first one); I can only expands in new lines, instead of expanding in new columns. and expand the lists in new lines. Did you manage to expand data in colums in your example ?

 

Thanks, 

 

nemechek

mahoneypat
Microsoft Employee
Microsoft Employee

I meant you could add a custom column in the query showed in the pic with = Json.Document([source])  for example.

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


mahoneypat
Microsoft Employee
Microsoft Employee

You can pass that text into the Json.Document function, and then drill into it from there.

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Hi thank you for your response,

Power bi directly import data from GCP directly in a table format, the function Json.Document cannot accept table format in entry:

 

let
Source = GoogleBigQuery.Database(null),
#"XX" = Source{[Name="XX"]}[Data],
YY_Schema = #"XX"{[Name="YY",Kind="Schema"]}[Data],
sales_history_View = YY_Schema{[Name="sales_history",Kind="View"]}[Data]
in
sales_history_View

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors