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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
anonymous1124
Frequent Visitor

Removing Time Stamp from X-axis Line Chart

Hi all,

 

How do i remove the time-stamp shown on my X-axis line graph? I did not have the issue last week, and when I refresh the file this week I notice the additional time stamp being added to my X-axis graph as seen below. I have formatted my dates to just (d mmmm yyyy), I do not know what is the underlying cause. Please enlighten thank you.

 

anonymous1124_0-1687939710075.png

 

4 REPLIES 4
collinsg
Super User
Super User

@anonymous1124 
Ideally for the categorical axis "solution" you would have a date table with a complete set of dates. The date table would be related to the fact table via date. The date table's date column would be used as the x-axis, which then wouldn't have gaps.

Regards

Dhairya
Solution Supplier
Solution Supplier

Hey @anonymous1124 
Please try to format your date column to short date format (dd/mm/yy)
and also convert the x-axis type to categorical

Dhairya_0-1687943276526.png

I hope it works for you
If it helps please mark my solution as accepted!

 

collinsg
Super User
Super User

Good day @anonymous1124 

If you only require to show a few days at a time a workaround is to change the x-axis from continuous to categorical. The x-axis labels will then display as you have formatted them. I'm sorry, I don't have a solution which retains the x-axis as continuous.

collinsg_0-1687942822682.png

 

Hi Collinsg,

 

Thanks for the solution, it worked but yea still hope I have a solution by not changing the X-axis type. I also noticed that not all the dates in a week is shown as seen in the picture below 

anonymous1124_0-1687943207534.png

missing: 22,23,24 june 2023. It supposedly will show up as well. This is my code. 

anonymous1124_1-1687943258513.png

 

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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