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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ArvindJha
Helper III
Helper III

Full Outer Join Handling Null Values in common fields

Hello Team,

 

I do a full outer join , results in null values in some of the columns.

I would like to have a single column with all values for all the common columns.

What is the best approach?

 

ABCD
1100200500
2101201501
3102202502
4103203503
ABCE
1100200600
2101201601
3102202602
5104204604
2 ACCEPTED SOLUTIONS
Chetan007
Frequent Visitor

Hii @ArvindJha 

Load the Data. Go to Transform Data.

1)

Chetan007_1-1729232623636.png

2)

Chetan007_2-1729232636174.png

 

Output:

Chetan007_3-1729232644627.png

Please Try this.

I hope this will help you.

View solution in original post

Kedar_Pande
Super User
Super User

Load both tables into Power BI and open the Power Query Editor.
Perform a full outer join using "Merge Queries" on your key column (Column A).
Expand the merged column to include all relevant columns (B, C, D, E).
Add a custom column using an if statement to consolidate values. For example

if [D] <> null then [D] else [E]

Remove the original D and E columns as needed.
Click “Close & Apply” to load the transformed data.

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

View solution in original post

5 REPLIES 5
Kedar_Pande
Super User
Super User

Load both tables into Power BI and open the Power Query Editor.
Perform a full outer join using "Merge Queries" on your key column (Column A).
Expand the merged column to include all relevant columns (B, C, D, E).
Add a custom column using an if statement to consolidate values. For example

if [D] <> null then [D] else [E]

Remove the original D and E columns as needed.
Click “Close & Apply” to load the transformed data.

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

Chetan007
Frequent Visitor

Hii @ArvindJha 

Load the Data. Go to Transform Data.

1)

Chetan007_1-1729232623636.png

2)

Chetan007_2-1729232636174.png

 

Output:

Chetan007_3-1729232644627.png

Please Try this.

I hope this will help you.

ArvindJha
Helper III
Helper III

Thanks for the response , Expected Outcome

ABCDE
1100200500600
2101201501601
3102202502602
4103203503 
5104204 604

Hii @ArvindJha 

Load the Data. then go to Transform Data.

1)

Chetan007_0-1729232115809.png

2)

 

Chetan007_0-1729232400377.png

Output:

Chetan007_1-1729232454308.png

 

Please Try This.

I hope this Will halp You

 

 

quantumudit
Super User
Super User

Hello @ArvindJha 

Please clarify the desired outcome you're seeking. Providing sample data or a screenshot of the expected result would be beneficial.

 

You mentioned attempting a full-outer join, which typically yields multiple columns, yet you require a single column containing all values. This is somewhat confusing; could you please elaborate on your issue?

 

Thanks,

Udit

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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