Forum Discussion
Merging data from different tables with several commons fields
- 4 years ago
Thanks Ashish
After adding a column "type" and making the title of columns identical for both tables , I just used the "add queries" to add the indirect table to the project table and I works fine. I can have all booking hours or filter using the new "type" column
It was simpler that I expected
Thanks for support
Hi jolyp
Use RELATED DAX function to add columns to your tables, for example if you want to add Indirect Date of Booking to the Project Booking table, use this code to add a new column (I assume there is a relationship between those 2 columns):
Indirect Date Of booking = related('indirect booking'[date of booking])
then add other columns:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
- jolyp4 years agoNew Member
Thanks for your suggestion
but in fact I wanted to merge the data not to add new column, so using add query 'indirect table added to project table" it works fine and simple