Forum Discussion

devries2021's avatar
devries2021
New Member
5 years ago

Min across columns

 

Hi

I have a table like below, I would like to calculate the minimum (earliest) date of column col1...col3 per rown and put the reult in column 'result'. In excel/sql/R/python this is trivial, but I havent found a way to do this in power query, can anyone help? Note that I want to use powerquery and not dax because I want to manipulate the table after calculating the column with minima.

Regards,

Igor

 

col1col2col3result
1-Dec-012-Dec-013-Dec-011-Dec-01
3-Dec-012-Nov-018-Dec-012-Nov-01
1-Jun-014-Dec-013-May-013-May-01

2 Replies