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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I'm having an issue where some of my Stacked column charts on a page display month and year, instead of just showing year which is the correct way.
I have no clue why this is happening, I have 6 seemingly identical stacked column charts where the only difference is they each are filtered in a different category, and I only get this isssue with one of them.
I have the date formated as year only (yyyy). And there are no date hierarchy options to click/disable etc. So why does it appear correct for some of the charts, and not other? What am I missing
I can change X-axis type to categorical, but that ruins the visual appearance/format for us.
Se pic below for example:
Solved! Go to Solution.
Hi @Anonymous ,
Even if you format the date column as "YYYY", power bi does not consider the 3 rows of dates circled in red to be the same. The column format only affects the displayed values and doesn't impact how they are stored.
So in the first stacked chart the month will be displayed to show that they are not equal.
So I think you will have to create a new year column and use the column as the horizontal coordinate.
Year = YEAR ( [Date] )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Even if you format the date column as "YYYY", power bi does not consider the 3 rows of dates circled in red to be the same. The column format only affects the displayed values and doesn't impact how they are stored.
So in the first stacked chart the month will be displayed to show that they are not equal.
So I think you will have to create a new year column and use the column as the horizontal coordinate.
Year = YEAR ( [Date] )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@amitchandak The one with only year is correct. But they're both using the exact same column from the table. So I don't understand why this is happening. The only difference between the two charts is a filter which shows correctly for 5/6 charts....