March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I need help to convert this table:
Name | Feb 2023 | Mar 2023 | Apr 2023 |
Alex | xxx | xxx | xxx |
Ben | xxx | xxx | xxx |
Chris | xxx | xxx | xxx |
into this:
Name | Month | Sales |
Alex | Feb 2023 | xxx |
Ben | Feb 2023 | xxx |
Chris | Feb 2023 | xxx |
Alex | Mar 2023 | xxx |
Ben | Mar 2023 | xxx |
Chris | Mar 2023 | xxx |
Alex | Apr 2023 | xxx |
Ben | Apr 2023 | xxx |
Chris | Apr 2023 | xxx |
Before this, i use to copy paste manually and it took way too much time when we have way too much rows.
Thanks.
Solved! Go to Solution.
for that you have to unpivot the table,
select the "Feb 2023","Mar 2023","Apr 2023" columns and then select the option "unpivot only selected columns".
OR
select the "Name" column and then select the "unpivot other columns".
for that you have to unpivot the table,
select the "Feb 2023","Mar 2023","Apr 2023" columns and then select the option "unpivot only selected columns".
OR
select the "Name" column and then select the "unpivot other columns".
Hi,
To convert this table you need to unpivot(turns column into rows) it from Power Query Editor. Select the columns and right click >Unpivot.
Thank you.
If this post helps, then please consider Accept it as the solution and kudos to help the other members find it more quickly.
on transform data, try to use "Unpivot other column", then select only Name
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
13 | |
9 |
User | Count |
---|---|
36 | |
31 | |
20 | |
19 | |
17 |