Forum Discussion
Bug with X axis? - years
- 4 years ago
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.