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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
jimmy69
Frequent Visitor

Agregar una columna nueva a partir de una relacion con otra tabla

Hola,

Tengo la siguiente tabla llamada "Datos":

jimmy69_0-1709550529683.png

Y quiero que consulte en la tabla GPS:

jimmy69_1-1709550599847.png

 

Si el campo "direccion de salida " de la tabla "datos" es igual a "adreça" de la Tabla GPS, quiero agregar el campo "Latitud" en la tabla "datos".

Necesito ayuda,  muchas gracias

 

 

1 ACCEPTED SOLUTION
v-huijiey-msft
Community Support
Community Support

Hi @jimmy69 ,

 

Please follow these steps:

 

1. This is the raw data I created. I would appreciate it if you could bring sample data with you the next time you ask a question.

vhuijieymsft_1-1709618651789.png

vhuijieymsft_1-1709618383623.png

 

2. Depending on your needs, you can use the Merge Queries in Power Query.

vhuijieymsft_2-1709618383626.png

 

3. Just select the columns where they are the same and click OK.

vhuijieymsft_0-1709618558341.png

 

4. Check the expand icon in the upper right corner and keep the "Latitud" column.

vhuijieymsft_1-1709618566457.png

 

5. Now for the adjusted data.

vhuijieymsft_0-1709618632578.png

 

If you have any other questions please feel free to contact me.

 

The pbix file is attached.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

1 REPLY 1
v-huijiey-msft
Community Support
Community Support

Hi @jimmy69 ,

 

Please follow these steps:

 

1. This is the raw data I created. I would appreciate it if you could bring sample data with you the next time you ask a question.

vhuijieymsft_1-1709618651789.png

vhuijieymsft_1-1709618383623.png

 

2. Depending on your needs, you can use the Merge Queries in Power Query.

vhuijieymsft_2-1709618383626.png

 

3. Just select the columns where they are the same and click OK.

vhuijieymsft_0-1709618558341.png

 

4. Check the expand icon in the upper right corner and keep the "Latitud" column.

vhuijieymsft_1-1709618566457.png

 

5. Now for the adjusted data.

vhuijieymsft_0-1709618632578.png

 

If you have any other questions please feel free to contact me.

 

The pbix file is attached.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.