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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
AlbertoGrz
New Member

Traer un valor agrupado de otra tabla

Hola a todos!

Tengo una duda con estas dos tablas:

Tabla 1:

AlbertoGrz_0-1683064609781.png

Tabla 2:

AlbertoGrz_1-1683064638934.png

De la tabla 1 me quiero traer el recuento distintivo de todos los transportes que tengo, agrupados por centro en la tabla 2.

 

Ya le he dado mil vueltas y no encuentro como.

 

Quedo atento a su ayuda, saludos.

 

1 REPLY 1
amitchandak
Super User
Super User

@AlbertoGrz , You need a  new column like

 

You need to create a new column like

Sumx(filter(Table1, Table1[Column] = Table2[Column]), Table[Value])

 

refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.