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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors