Unpivot columns in Power Query Editor in Power BI

In Power Query, we can transform columns into attribute-value pairs, where columns become rows. Unpivoting is a useful feature of Power BI.

Power Query will always create the attribute-value pair by using two columns: