Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have attached an image that shows the original sample table and how I modified the table to reshape the data with the following formula in excel. I am trying to replace this in Power BI so i am able to create a stacked column chart with the multiple years on the X-axis. I am open to suggestions to how I can achieve this and or if I need to take an alternate approach.
Any help is appreciated!!
Solved! Go to Solution.
Hi @SLONG0718 ,
You can try unpivot other columns to accomplish your goals.
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:
Open power query and choose Theme and stage, then right click unpivot other columns
Close and apply and create a stacked column chart
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @SLONG0718 ,
You can try unpivot other columns to accomplish your goals.
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:
Open power query and choose Theme and stage, then right click unpivot other columns
Close and apply and create a stacked column chart
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
you can try sumx with your if conditions
would you happen to offer any examples?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
26 |
User | Count |
---|---|
97 | |
85 | |
43 | |
40 | |
35 |