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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
markbell
Frequent Visitor

Line Chart X-Axis Date Formatting

I have a date formatting issue on a Line Chart where if I have less than 6 days selected, it shows the x-axis date as "dd MMM, hh[AM/PM]". For 6 or more days, it displays ""dd MMM" which is what I always want it to show regardless of the number of days selected.

 

Less than 6 days.png6 Days.png

 

My data source has the format dd/MM/yyyy and the Charts x-axis type is set to Continuous. I would prefer to keep the x-axis type as Continuous so that it always display the data without a scroll bar for large ranges of dates.

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@markbell

 

In this scenario, if you don't want to have the timestamp in your chart, please change the data type of your date from "Date/Time" to "Date". Also I noticed that you have different part as slicers. I suggest you build them into a hierarchy, and you can drill down like "Year->Month->Date" so that you don't need to keep a long scroll bar on X-axis for long date range. Currently drillthrough is not supported in line chart, I suggest you change it into column chart.

 

Regards,

 

 

View solution in original post

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@markbell

 

In this scenario, if you don't want to have the timestamp in your chart, please change the data type of your date from "Date/Time" to "Date". Also I noticed that you have different part as slicers. I suggest you build them into a hierarchy, and you can drill down like "Year->Month->Date" so that you don't need to keep a long scroll bar on X-axis for long date range. Currently drillthrough is not supported in line chart, I suggest you change it into column chart.

 

Regards,

 

 

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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