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
This is what my Excel data table + Power BI fields (right) looks like:
I need it to look like this:
Any ideas on how I would format this? I know I have to use a stacked bar chart, but it ends up looking like this:
Solved! Go to Solution.
@Anonymous ,
You need to unpivot the year columns and then drag the generated attribute columns to the X-axis field.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The best way would have been transposed data.
You can also try Clustered Bar Chart.
Also set display unit property to Thousand. Seem like it is set to Million
I can't transpose the Data. The Excel spreadsheet automatically updates and updates data from a database. I tried transposing on Power BI, and half the data disappears when I do so...
Any other ideas or ways I could format it within DAX?
@Anonymous ,
You need to unpivot the year columns and then drag the generated attribute columns to the X-axis field.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |