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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Bhanuaripaka
Frequent Visitor

Date field on X-axis is showing date/time 12am/12pm stamp, when date range is between 3 to 2 days

Hi all,  

I am facing an issue with date field on x-axis, when the date range is below 3 days(eg: 24/5 - 26/5) it is showing with time stamp am/pm.  I have tried changing  the datatype to Date and format to Short date but no luck.  

I want date field should be continous only. 

 

Bhanuaripaka_0-1717125848135.png

If date range is more than 3 days then its showing as Short date this is excatcly how i wanted for under 3-2 days date range.

Bhanuaripaka_1-1717126142478.png

 

Hope this explanintion make sense and appreciate your help. Thank you! 

5 REPLIES 5
Uzi2019
Super User
Super User

Hi @Bhanuaripaka 

 

If the no of days are less then it auto shows Am Pm in date it self.

Dont create anything just try to reduce the chart size or change the x axis setting to categorical

 

Uzi2019_0-1717131398749.png

Uzi2019_1-1717131439466.png

 

 

I hope I answered your question!

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Hi @Bhanuaripaka 

 

Try to change the date format to this under format setting then you can set to categorial.

Uzi2019_2-1717131654207.png

 

see i have stretch the chart still it showing only month n day

Uzi2019_3-1717131716328.png

 

 

i hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
Bhanuaripaka
Frequent Visitor

Hi @fahadqadir3  ,thanks for your response. 

i want date field should be continous so that i can get date format like 24 May 2024 (dd/mmm/yyyy). If i choose Categorical i cant achevie that date format so Please let me know if i can achive above date format using Categorical. 

@Bhanuaripaka You need to create a new calculated Column and Format it as dd/mmm/yyyy

DateOnly = FORMAT('Table'[DATE_ID], "dd-mmm-yyyy")

Line Chart.png

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.

fahadqadir3
Super User
Super User

@Bhanuaripaka Try to change the data type in Power Query and then on X-Axis select Type Categorical instead of Continuous.

Categorical.png

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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