'How to transpose some columns in row in power query?

I am currently looking for a way to transpose some of my columns into rows. I have a table in this form:

enter image description here

And I would like to get something in this shape:

enter image description here

Thank you very much for your help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source