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
sjkamstrup
New Member

How to merge two columns and keep one value if value matches in both columns

I need assistance with merging two columns and keeping the value if the value is identical in both columns. Please see picture below.

sjkamstrup_0-1666085037352.png

 

So in the new column it would look like:

12/15/2023

24.10.2019

24.10.2019

24.10.2019

 

Instead of:

12/15/202312/15/2023

24.10.2019

24.10.2019

24.10.2019

24.10.2019

 

Hope you can help!

1 ACCEPTED SOLUTION
JorgePinho
Solution Sage
Solution Sage

You can add a conditional column with a condition like this:

 

If Launch Date = Present to Market Date then Launch Date

If Present to Market Date = null then Launch Date

 

After that you can delete both columns and only keep the conditional one.

View solution in original post

2 REPLIES 2
mangaus1111
Solution Sage
Solution Sage

Please clarify your expected result

JorgePinho
Solution Sage
Solution Sage

You can add a conditional column with a condition like this:

 

If Launch Date = Present to Market Date then Launch Date

If Present to Market Date = null then Launch Date

 

After that you can delete both columns and only keep the conditional one.

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.