Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a raw data file as shown below:
There are 5 columns (D1-D5) which denote the number of orders bought in each of the five days of the week.
I want to combine these 5 columns into a single one without changing the data values in any way. To do that I tried to use the Transform>Transpose option in Power Query but the results were as follows:
I want to rework the table such that the data and columns are arranged as follows:
I want one column to denote the day of the week on which the order from each product was taken and the other column to denote the number of orders. Does anyone know how to do so in Power BI or Power Query?
Solved! Go to Solution.
Hi @Dawn7047
You just need to unpivot the columns in Power Query. Check:
or share the input table in text-tabular format instead of on a screen cap so that contents can be copied and solution can be provided.
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Hi @Dawn7047
You just need to unpivot the columns in Power Query. Check:
or share the input table in text-tabular format instead of on a screen cap so that contents can be copied and solution can be provided.
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
7 |
User | Count |
---|---|
15 | |
13 | |
9 | |
6 | |
6 |