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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aguerrero
New Member

Date formatting on x axis

I have Dates with values such as 2015-05-01, 2015-05-15 and 2015-05-29.  When I select that field for my X axis in a line chart it shows up as May 2015.  That's not what I need; I need the individual dates, not the dates aggregated into the month.  They are Payroll Dates and I need to show stats for the specific date.  Can you tell me how I can get it to display correctly? 

 

Thanks in advance.

4 REPLIES 4
WillT
Community Admin
Community Admin

Your data is still being plotted on the specific dates, Power BI is just labelling the axis at a month level. If you hover over the line you'll see a tooltip that gives you the specific date. Tishchenko's suggestion of changing the axis type is the right option if you do want to show each label, but it does mean that each point will be plotted with the same interval (so if your dates aren't evenly spaced it might be a bit misleading).

 

If this post helped (or Tishchenko's!) then please mark it as a solution so we know the thread's resolved! Thanks!

Tishchenko
Continued Contributor
Continued Contributor

Hi, try change X-Axis type to "Categorical".

2.png

When I try to format the X-Axis, the only Scale Type available in Linear 😞 How do I get "Categorical"?

The "date" column must be the Date or Date/Time format

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors