Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

How to create if then statement in Power Query based on Error in value across three columns?

I have three columns all with dates in the them, but some of the dates of 'Error'. I want to create a new column that takes the first value that doesn't have an 'Error'.

I can get this to work in excel with this formula: =IFERROR(A1,IFERROR(B1,C1)) what is the equivalent formula for Power Query?

See screen shot for example. The green check marks are the values I'm trying to get into one column

2 Replies