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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
medonication
Helper I
Helper I

CRUZ UNIRSE A DOS TABLAS MEDIANTE CONSULTAS COMBINADAS

Buenos días querida comunidad PBI,

hay alguna manera de combinar dos consultas usando CROSS JOIN. Las dos tablas (País y Producto) no tienen ninguna columna de clave para que coincida.
Sería genial hacerlo directamente en PBI.

Gracias

7 REPLIES 7
amitchandak
Super User
Super User

@medonication , En DAX, prefiere crossjoin. Para la consulta del POwer refiera https://exceleratorbi.com.au/cross-join-with-power-query/

Thanks but I want to do that in as in the query editor

@medonication

En Power Query Editor:

Payeras_BI_0-1604836553759.png

Payeras_BI_1-1604836567659.png

En la Tabla1 agregue Columna personalizada siendo la fórmula - Tabla2

Payeras_BI_2-1604836602256.png

En la Tabla1 ExpandTableColumn

Payeras_BI_3-1604836609511.png

Obtener el CrossJoin

Payeras_BI_4-1604836621273.png

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

¡Gracias!

medonication
Helper I
Helper I

I found only following options 

medonication_0-1604650333487.png

 

amitchandak
Super User
Super User

@medonication , sí CROSSJOIN sí mismo

CROSSJOIN(País ,Producto)

referirse https://docs.microsoft.com/en-us/dax/crossjoin-function-dax

https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

Power Query -https://radacad.com/append-vs-merge-in-power-bi-and-power-query

Proporcione sus comentarios y consejos para nuevos videos
Tutorial Series Dax Vs SQL Direct Query PBI Consejos
Apreciamos tus Felicitaciones.

Do you mean in Merge Queries ? Or how ?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.