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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
AlanFredes
Resolver IV
Resolver IV

Line Chart X-axis Continous Dates add time-stamp when there are few datapoints

Hi All,

 

I have an issue with the Line Chart visualization when a few data points are shown. When using continuous Dates as the x-axis and there are fewer than 4 or 5 data points Power BI starts adding time to the axis and fills in with axis points where there is no data. See the below example.

As can be seen bellow for the same chart if the date range is short Power BI start adding 12AM and 12PM to the x-axis.

Is there any way to fix this?

 

AlanFredes_0-1725559335535.png

 

Link to Report: 20240905 Line Chart X-axis Date Issue.pbix

 

Regards,

Alan Fredes

1 ACCEPTED SOLUTION

Unfortunately the column formatting is ignored for continuous type x axis scenarios.  You could consider it a bug, but it may just be a design decision.

 

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

What is your expected result?

Hi @lbendlin ,

 

The expected result would be that the date format in the x-axis is maintained as date only, that 12AM and 12PM not be added and that albums with the same date not be repeated.

In the example I sent the left line chart would show on the x-axis only "Jan 1", "Jan 2","Jan 3", "Jan 4", and "Jan 5".

I would mean fewer labels for the x-axis but the visualization would maintain the date format.

Unfortunately the column formatting is ignored for continuous type x axis scenarios.  You could consider it a bug, but it may just be a design decision.

 

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com

Hi @lbendlin ,

 

I added the idea to the Ideas list for Power BI.

https://ideas.fabric.microsoft.com/ideas/my-feedback/

 

Regards,

Alan Fredes

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors
Top Kudoed Authors