Forum Discussion
Column from Different Tables
Hello,
usually they should be mergable in Power Query. Are both ID columns formatted the same without any spaces or similar?
Nevertheless you can relate the two ID columns.
If both columns contain unique values you can just add a calculated column =[Cost]-Related(ID_Cost2[Cost]).
It is depending of the direction of your relation in which table you are able to add the RELATED.
- Anonymous8 years agoNot applicable
Hi Floriankx
I tried creating the calculated column =[Cost]-Related(ID_Cost2[Cost]), but it did not work.
I have both tables connected through a fact table, like this:
[Table1] N -------1[Fact]1-------N[Table2]
- Floriankx8 years agoSolution Sage
Hello,
I assume you add your calculated table in the Fact Table.
The relations have to be the other way arround. So you need to drag the Fact ID on the data ID.
I don't how excatly this works with the direction of the relations but I know it works this way.
Regarding your Problem in Power Query it would be helpful to know which error is shown.