Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear Community,
I look for solution for the following problem.
1. I have a table with raw data - e.g. shipments form A-to-B with various service providers and their offered prices.
| Shipment | Grouping attribute | Price - service provider 1 | Price - service provider 2 |
| shipment1 | Group A | 10 | 15 |
shipment2 | Group B | 20 | 10 |
| shipment3 | Group A | 35 | 40 |
| shipment4 | Group B | 25 | 25 |
2. For evaluation purpose I would like to create an other table structure with some aggregation - derived from Table1.
| Grouping attribute | Service provider | Price (sum) |
| A | Service provider1 | 45 |
| A | Service provider2 | 55 |
| B | Service provider1 | 45 |
| B | Service provider2 | 35 |
How can I create Table2 from Table1 in PowerBI desktop? 🤔
Every suggestion, idea is highly appreciated!
Thank you!
Solved! Go to Solution.
Hi @Anonymous ,
You will need to unpivot your table.
Select First 2 column and then click on Unpivot Other Column
You cna then just pull the columns in the visualization pane to get your results.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Dear Community,
I look for solution for the following problem.
1. I have a table with raw data - e.g. shipments form A-to-B with various service providers and their offered prices.
| Shipment | Grouping attribute | Price - service provider 1 | Price - service provider 2 |
| shipment1 | Group A | 10 | 15 |
shipment2 | Group B | 20 | 10 |
| shipment3 | Group A | 35 | 40 |
| shipment4 | Group B | 25 | 25 |
2. For evaluation purpose I would like to create an other table structure with some aggregation - derived from Table1.
| Grouping attribute | Service provider | Price (sum) |
| A | Service provider1 | 45 |
| A | Service provider2 | 55 |
| B | Service provider1 | 45 |
| B | Service provider2 | 35 |
How can I create Table2 from Table1 in PowerBI desktop? 🤔
Every suggestion, idea is highly appreciated!
Thank you!
Believe this post is duplicated with the one below:
https://community.powerbi.com/t5/Desktop/Transformation-calculated-table/m-p/1307528
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThank you very much for both of you for your help!
@Anonymous , you have an option in edit query /data transformation mode.
Refer document
https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/
Hi @Anonymous ,
You will need to unpivot your table.
Select First 2 column and then click on Unpivot Other Column
You cna then just pull the columns in the visualization pane to get your results.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 36 | |
| 32 | |
| 31 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |