cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Khalyda
Frequent Visitor

Combinar dos matrices en una

Hola

Quiero hacer una fusión de dos matrices en una sola matriz.

Mi primer conjunto de datos tiene la forma de esta manera:

CATEG 1 | CATEG 2 | Value 1

Mi segundo conjunto de datos tiene la siguiente forma:

CATEG 1 ? Valor 2

Quiero hacer una matriz que se vea así :

categ 2.1categ 2.2Valor total 1etiqueta "Valor 2"
categ 1.1Valor 1Valor 1 Valor 2
categ 1.2Valor 1Valor 1 Valor 2
categ 1.3Valor 1Valor 1 Valor 2

¿Tienes algún consejo para hacer eso?

Gracias por sus consejos.

@v-lid-msft

@Icey

@parry2k

2 REPLIES 2
amitchandak
Super User IV
Super User IV

@Khalyda

No muy claro, pero se puede fusionar así

union( 
selectcolumns(Table1,"Category1", table1[CATEG 1],"Category2", table1[CATEG 2],"Value", table1[value]),
selectcolumns(Table1,"Category1", table1[CATEG 1],"Category2", "","Value", table1[value])
)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Greg_Deckler
Super User IV
Super User IV

https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/td-p...


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors