I list rows from an Excel Spreadsheet that contain two Columns, one is a title the other a value. One of the rows contains a date. The date arrives as a number from 1/1/1900 that has to be composed into a date. This date is stored in a variable. I would like to run a select that maps Colum1 to Loan, and Colum2 to Value. Unless colum2 contains the the Excel formatted number. In this case I like to use the date variable that was created earlier in the flow. Below is the formula I am using, however the output for the if expression is "". What is wrong with my expression?
If(equals(outputs('List_rows_present_in_a_table_2')?['body/value'][0]?['Column1'],'Last Payment Date'),outputs('Compose_Last_payment_date'),outputs('List_rows_present_in_a_table_2')?['body/value'][0]['Column2'])
This is the out put when the flow runs.