Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello
I'm trying to show data from two years on the same clustered column chart but all the data for each month is grouped together, e.g. January shows the Jan 2021 and Jan 2022 as one column). Is there a way to show both years on the same chart?
Solved! Go to Solution.
Hi @Stuart123 ,
If you only put month in the chart X-axis, it will automatically grouped. You should put both Year column and Month column in the X-axis.
Then click the expand button.
Get the result.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Stuart123 ,
If you only put month in the chart X-axis, it will automatically grouped. You should put both Year column and Month column in the X-axis.
Then click the expand button.
Get the result.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
That's great, thank you 🙂
Months should be in the form 2021-Jan, 2022-Jan... then they will not be grouped.
Thanks for replying. That partly works but there's no way to order the months.
Of course, there is. Each column can be sorted according to another column if the corresponding values in both are in a 1-to-1 correspondence. I'd suggest at this point that you learn a bit more about Power BI. Just grab a book and read. You can go (and you should) through the Microsoft self-learning documentation on PBI.
@Stuart123 , Use a date table with field like MOnth and Date, Take month on axis and year onf legend
Thanks for replying. Not sure what this solution means in practice though.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
79 | |
58 | |
35 | |
34 |
User | Count |
---|---|
99 | |
59 | |
56 | |
46 | |
40 |