Reputation: 20045
SELECT
name,
latitude,
longitude,
CONCAT(latitude,',',longitude) AS location
FROM
`bigquery-public-data.ghcn_m.ghcnm_tavg_stations`
LIMIT
1000
I'd like to display those stations on a Bubble Map in Data Studio.
But it doesn't accept location
as the location dimension. How do I have to go about this?
Upvotes: 0
Views: 726
Reputation: 10172
Strange... It worked for me. I created a table like this:
CREATE TABLE test.test
as
SELECT
name,
latitude,
longitude,
CONCAT(latitude,',',longitude) AS location
FROM
`bigquery-public-data.ghcn_m.ghcnm_tavg_stations`
LIMIT
1000
then used it as a datasource for the Datastudio Report.
Make sure that you selected the Type of the field as Latitude, Longitude
and pressed Refresh Data
Upvotes: 1