cancel
Showing results for 
Search instead for 
Did you mean: 
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 , and Fortune 500 Companies Analysis

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 , and Fortune 500 Companies Analysis

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors