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 Team,
I have a data set where each Month/Quarter data are in column
Below is the sample table with quarter (there are other fields, but for required view these are column for different regions), I am trying to achive below stack graph
| Region | Sum of Q1 Total (USD) | Sum of Q2 Total (USD) | Sum of Q3 Total (USD) | Sum of Q4 Total (USD) |
| Americas | $52896629 | $49480039 | $54024820 | $53012282 |
| APJCI | $39772305 | $41140144 | $40410524 | $40204964 |
| BMO | $3643635 | $2539831 | $2525229 | $2401644 |
| EMEA | $35138313 | $32716731 | $32668598 | $31561920 |
| Global | $2599363 | $1894982 | $1596945 | $1596945 |
| WE | $4362102 | $4694052 | $4440694 | $4285831 |
The different legends represents regions sum for each quarter. Please help.
Thank You
Solved! Go to Solution.
I did some changes in structure of the data(Unpivot Columns). Please refer the attached file.
Hi, One solution i have its you re-model the data following this steps:
1- in your power query Select the quarter columns as shown bellow:
2- Unpivot Columns:
3- Now your table, should look like that:
4- Close power query and Apply changes
5-Add stacked bar chart, in your x-axis add the quarter column, y-axis add the value column, and in the legend field add the Region.
If this answer help you, please mark it as solution.
@Arul - I cannot change the structure of the data set, it has other column fields in this table. But you mentioned something intersting on Unpivot can you shed more information on how can i use unpivot to change the data structure.
@Arul - Apperciate your quick help and this helped a new features in the power BI. Thank you
Hi, One solution i have its you re-model the data following this steps:
1- in your power query Select the quarter columns as shown bellow:
2- Unpivot Columns:
3- Now your table, should look like that:
4- Close power query and Apply changes
5-Add stacked bar chart, in your x-axis add the quarter column, y-axis add the value column, and in the legend field add the Region.
If this answer help you, please mark it as solution.
@Bibiano_Geraldo - Thank You, the step by step guide help me and definitly like me who are new to unpivot features.
I did some changes in structure of the data(Unpivot Columns). Please refer the attached file.
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 |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |