Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
MojoGene
Post Patron
Post Patron

Merge Tables - lost

I have 3 tables in my data model that contain substantially the same data. Each of the three tables represents a subset of the same information dealing with timeslips entries.

 

Table 1 contains timeslip entries in colums designated: UniqueID, date-of-service, Timekeeper, Time Worked, etc. (Some of these columns are unique to Table 1 and are not contained in Tables 2 and 3.)

 

Table 2 contains entries from the same timeslip with many columns identical to those in Table 1 (including UniqueID, which is common to all three tables), but Table 2 also contains columns that are not identical to columns in Tables 1 or 3, e.g., : billing status, bill value, etc.

 

Table 3 again contains entries from the same timeslip as Tables 1 and 2 with many columns that are indentical to those in Tables 1 and 2, but also contains unique columns that are not identical to those in either Tables 1 or 2, e.g., Work Description Text.

 

I have tried appending these 3 tables into a new table, but the new table now contains 3 rows for each timeslip and I am lost as to how to combine the rows based on the UniqueID so that I am left with only 1 row per timeslip.

 

Advice greatly appreciated.

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

 

You should not be appending but Merging (side by side) those 3 Tables.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

 

You should not be appending but Merging (side by side) those 3 Tables.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanks, Ashish. You pointed me in the right direction.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.