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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors