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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
surajyadav484
Regular Visitor

Power BI

I have two tables. both tables contain a column named 'Company name'.  I want to copy the unique data from both the columns of two different tables and paste it into another column (may be in 3rd table).

Table 1: 

surajyadav484_0-1685082522712.png

Table 2:

surajyadav484_1-1685082593798.png

New column of 3rd table should contain unique records from above two columns. How can I achieve this? Please help me. Thanks!

Note: I want to implement venn diagram in power bi to show common companies hence I want to prepare data in that format.

1 ACCEPTED SOLUTION
Tahreem24
Super User
Super User

@surajyadav484 You can achieve your solution using 2 ways.

Solution1: Using UNION DAX you can combine two tables with same structure 

https://learn.microsoft.com/en-us/dax/union-function-dax

 

Solution2: Using Append option using PowerQuery(Transform Data) 

https://learn.microsoft.com/en-us/power-query/append-queries

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

1 REPLY 1
Tahreem24
Super User
Super User

@surajyadav484 You can achieve your solution using 2 ways.

Solution1: Using UNION DAX you can combine two tables with same structure 

https://learn.microsoft.com/en-us/dax/union-function-dax

 

Solution2: Using Append option using PowerQuery(Transform Data) 

https://learn.microsoft.com/en-us/power-query/append-queries

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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