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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
santidlp94
New Member

How to select column JSON using native Query in MongoDB SQL Connector

I have for example the following table 

santidlp94_1-1699553113797.png

 

The column "ubicacion" has 3 columns inside the JSON. ("direccion", "lat", "long")

 

Is there a SQL statement to use in the Native Query to get the following result?

santidlp94_2-1699553278316.png

I used the Power Query functionality to transform JSON to get this results , but i want to know if its possible using a Native Query.

 

This result is Selecting "nombre" and the column "dirreccion" that is inside the JSON format column.

1 REPLY 1
lbendlin
Super User
Super User

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.