The beauty of Power Query is that each step is defined separately in a query.

When you “refresh” the data, all steps will be automatically repeated in exactly the same order.

Power Query tools on the Data tab of the ribbon

Power Query tools on the Data tab of the ribbon

Power Query tools on the Data tab of the ribbon

Power Query tools on the Data tab of the ribbon

Power Query tools on the Data tab of the ribbon