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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
LogMill1
Frequent Visitor

Join Two Date Columns on Null Value

I have two data columns within the same table that I am attempting to join. When there is a date in the first column, the second column is null and vice versa.  Is there a way to join the columns together on the null values?

 

Example Table1:

IDDate1Date2
11/1/2023(null)
21/2/2023(null)
3(null)1/3/2023
41/4/2023(null)
5(null)1/5/2023
6(null)1/6/2023
71/7/2023(null)
8(null)1/8/2023
1 ACCEPTED SOLUTION
Vijay_A_Verma
Most Valuable Professional
Most Valuable Professional

In a custom column put following

[Date1]??[Date2]

View solution in original post

1 REPLY 1
Vijay_A_Verma
Most Valuable Professional
Most Valuable Professional

In a custom column put following

[Date1]??[Date2]

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.