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.
Hello,
I have a table A which needs to be extended by two columns.
The additional information is in Table B, but in different rows.
How would I have to create these columns?
Table A
NO | Decsription | ADD 1 | ADD 2 |
123456 | Test | Value from Table B Typ A | Value from Table B Typ B |
Table B
No | Typ | Value |
123456 | A | 000 |
123456 | B | 111 |
Thanks a lot
Marcus
Solved! Go to Solution.
@Marcus_S , In dax
MAxx(filter(Table2, Table1[No] = Table2[NO] && Table2[Type] ="A") , Table2[Value])
column 2
MAxx(filter(Table2, Table1[No] = Table2[NO] && Table2[Type] ="B") , Table2[Value])
In power query merge and Pivot
Merge Tables (Power Query) : https://www.youtube.com/watch?v=zNrmbagO0Oo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=16
Pivot Data(Power Query) :https://www.youtube.com/watch?v=oKByyI09Bno&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=12
@Marcus_S , In dax
MAxx(filter(Table2, Table1[No] = Table2[NO] && Table2[Type] ="A") , Table2[Value])
column 2
MAxx(filter(Table2, Table1[No] = Table2[NO] && Table2[Type] ="B") , Table2[Value])
In power query merge and Pivot
Merge Tables (Power Query) : https://www.youtube.com/watch?v=zNrmbagO0Oo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=16
Pivot Data(Power Query) :https://www.youtube.com/watch?v=oKByyI09Bno&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=12
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |