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
Hi,
I need to summarize data into a pie chart with the following table
| ID | First Transport Qty | First Transport | Second Transport Qty | Second Transport |
| 1 | 1 | TRUCK | 7 | CAR |
| 2 | 3 | MOTORCYCLE | ||
| 3 | 1 | CAR | 2 | TRUCK |
| 4 | 5 | BICYCLE | 3 | MOTORCYCLE |
| 5 | 2 | TRUCK | 2 | TRUCK |
I need to have a Pie Chart that displays the total split % or volume such as :
TRUCK - 7
CAR - 8
BICYCLE - 5
MOTORCYCLE - 6
The problem is that I have 2000 rows and can only pull out the "First Transport" column only, I can't include the "Second Transport" column.
How can I create a pie chart that shows all of the data labels with their combined values?
Thanks
Imagine how much easier this would be if your data was structured like this:
| Qty | Transport | Type |
| 1 | TRUCK | First |
| 3 | MOTORCYCLE | First |
| 1 | CAR | First |
| 5 | BICYCLE | First |
| 2 | TRUCK | First |
| 7 | CAR | Second |
| 0 | null | Second |
| 2 | TRUCK | Second |
| 3 | MOTORCYCLE | Second |
| 2 | TRUCK | Second |
Can you make it like this in Power Query? You'll probably want to duplicate your current table, have one copy just for firsts, the other for seconds, then apppend together to get a result like the above (you can disable data-load for the intermediary tables).
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 40 | |
| 21 | |
| 17 |