I have a table that I created in power query.

It has transactions. In one column there is transaction type = order or refund. Then their is a date column. The refund is always later date than the corresponding order. I want to create a new column that keeps the same date for orders BUT for refunds it matches it back to the order date. Can I do this in power query?