Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
96 | |
78 | |
68 | |
55 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |