Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 40 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 26 |