Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
I have this data:
| Date | Product | Volume |
| 8/04/2024 | A | 10 |
| 8/04/2024 | B | 20 |
| 9/04/2024 | A | 10 |
| 9/04/2024 | C | 30 |
| 10/04/2024 | A | 5 |
I would like to use Power Query to convert it into this format:
| Date | A | B | C |
| 8/04/2024 | 10 | 20 | 0 |
| 9/04/2024 | 10 | 0 | 30 |
| 10/04/2024 | 5 | 0 | 0 |
I have tried using transpose/unpivot but I am not getting the desired results unfortunately.
Any ideas? TIA!
Solved! Go to Solution.
Hi @M_Butler
You need to pivot the column product :
after this replace null with 0
pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @M_Butler
You need to pivot the column product :
after this replace null with 0
pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Amazing, thank you so much!
Happy to help 🙂
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |