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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

custom column

Thanks in advance for looking. 

 

I need help creating a custom column. 

In short, I need to create a column that gives me Date2 however IF Null it gives me Date1. Essentially merging date 1 into the null values of Date 2

 

Karlos_1-1595240141770.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Figured it out now - 

= Table.AddColumn(#"Renamed Columns1", "Custom", each if [Date2] = null then [Date1] else [Date2])

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Figured it out now - 

= Table.AddColumn(#"Renamed Columns1", "Custom", each if [Date2] = null then [Date1] else [Date2])

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.