Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

X-Axis date labels adding time

Hi,

 

I have a area chart showing transactions by day. Generally all is fine but if by using a slicer the chart is reduced down to show only a few days then the chart decides to add extra labels on the X-Axis inbetween dates (as there is now space). See this example.

 

tot.jpg

 

In this chart there are only five data points, one for each day.

 

The date column I'm using on the X-Axis is set to format (via Modelling -> Format) to dd/MM/yyyy. The underlying date dimension is constructed via DAX using code available here.

 

The axis is set to continuous, when I change it to categorical this issue goes away and I get one label per day but as you can see I have a trend line showing on the chart and I can only show that when it is set to continuous.

 

So how do I remove the time element to the X-Axis labels?

 

1 REPLY 1
Anonymous
Not applicable

It appears this is a duplicate of this post from July 2017. As stated there isn't a way to format or change the values of the axis whilst in continuous mode.

 

This is the closest request I can find on the Power BI Ideas pages.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.