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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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