Forum Discussion
Visuals displaying wrong time on X-axis
- 8 years ago
I’ve got response from the Product Team.
By design. The Scalar axis is continuous/linear, and is automatically choosing best intervals. Monthly intervals are chosen, and default to 1st of the month. Imagine a scalar numeric axis - 10, 20, 30 are fine, you wouldn't expect 19, 29, 39 to be your value axis labels right? The Aug 31th column is plotted a few pixels left of the Sep 1st axis label in the repro screenshot.
Best Regards,
Herbert
Hi,
I met this behaviour today and, luckly, was able to solve it, at least for my case.
I use following calculated column and use it for x-axis:
MMM YY = EOMONTH('Calendar'[Date],0)
And as result I got following chart:
As you can see there are wrong labels on it.
Changing the dates from End of Month to Begin of Month helped me here:
MMM YY = EOMONTH('Calendar'[Date],-1)+1