Forum Discussion
paw1
3 years agoHelper I
latest Timestamp date
Hi Team, Could you please help me to derive Expected output column from Date1, Date2 columns Logic: If Date1 is null then Date2 need to consider, If Date2 is null then Date1 need to conside...
serpiva64
3 years agoSolution Sage
Hi,
you need to add a conditional column like this
= Table.AddColumn(#"Changed Type", "Custom", each if [Date2] = null then [Date1] else if [Date1] = null then [Date2] else if [Date1]>[Date2] then [Date1] else [Date2])
If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!