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
Anonymous
Not applicable

Continuous line chart showing date and time

Hi All,

 

I have a line chart that I would like to set to Continuous. However PBI is showing me Date and Time for the x-axis. Is there a way to show only dates in the x-axis? I.e. 2 Mar, 3 Mar, 4 Mar

 

x-axis is showing Date and Time now:

beekee_0-1596444737838.png

 

 

Regards,

Bee Kee

 

1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

Try creating a calculation column to convert the value to text:

Column = FORMAT('Calendar'[Date] , "D MMM")


/ J 


Connect on LinkedIn

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous , you have x-axis type as categorical, try that

tex628
Community Champion
Community Champion

Try creating a calculation column to convert the value to text:

Column = FORMAT('Calendar'[Date] , "D MMM")


/ J 


Connect on LinkedIn
Anonymous
Not applicable

This will help to remove the time although it is not continuous. I think this is fine. Thanks!

tex628
Community Champion
Community Champion

If you create a new calendar table which you then connect with a relationship you should be able to maintain the continuous x-axis! 

Br,
J


Connect on LinkedIn
nandic
Memorable Member
Memorable Member

@Anonymous ,
Best practice is to separate date/time column in two columns because of performance.
If you don't need any analytics by time, in Power Query split column and keep only Date.
Continuos type: select chart > x axis > type  = continuos.

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.