Forum Discussion
Anonymous
6 years agoNot applicable
How to Join tables and Add column using DAX(Edit Query)
I have to join two tables A and B using ID. Then add on column 'Degree' from table B to Table A Expected O/P : Table contains column A,B & C Input File: Table A ID Name 111 Adex 2...
- Anonymous6 years ago
Providing you have a relationship, just add a column on Table A, the paste in the following
Degree = RELATED('Table B'[Degree]) - 6 years ago
Anonymous , one is merge table in edit query
https://radacad.com/append-vs-merge-in-power-bi-and-power-query
Dax way
https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/
New column in Table A
maxx(filter('Table B', 'Table A'[ID] ='Table B'[User ID]),'Table B'[Degree])
Anonymous
6 years agoNot applicable
Providing you have a relationship, just add a column on Table A, the paste in the following
Degree = RELATED('Table B'[Degree])
pearlking
3 years agoFrequent Visitor
What should we do if those tables have many to many relationships?