- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

How to build line chart date and time based?
Hi! I'm trying to build a line chart where X-axis would be date and time binded. Although I've built date and time tables my chart doesn't represent data sequentially i.e. date and time based. Instead it devides data by date/time i.e. shows all values associated with particular date/time. What am I missing? How to ensure the chart would represent values continiously? Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Having separate Date and Time columns is very good practice for exactly the reason I mention (the blue "i"). But if you want a continuous X axis (as you seem to imply) then the continuous value column is your only good option.
Try not to fall into the trap of attempting to dictate to your report users how they should navigate your report UI. Embrace the Power BI way of doing things.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Combine Date and Time into a Single Column
DateTimeCombined = 'Table'[Date] + 'Table'[Time]
Go to the "Format" pane for the line chart.
Under "X-axis," set the type to Continuous.
Make sure DateTimeCombined is added to the X-axis.
Ensure that the Values field of the chart uses the correct aggregation (e.g., Sum, Average, etc.).
💌 If this helped, a Kudos 👍 or Solution mark ✅ would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi Ibendlin! Thank you for the proposal! I actually split the time/date column hoping to use my Date and Time tables. Is there a way of doing it instead of using concatenated column?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Having separate Date and Time columns is very good practice for exactly the reason I mention (the blue "i"). But if you want a continuous X axis (as you seem to imply) then the continuous value column is your only good option.
Try not to fall into the trap of attempting to dictate to your report users how they should navigate your report UI. Embrace the Power BI way of doing things.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
04-13-2024 03:20 PM | |||
05-16-2024 11:24 AM | |||
04-28-2023 04:49 AM | |||
05-06-2024 06:50 AM | |||
04-10-2024 09:31 AM |
User | Count |
---|---|
102 | |
84 | |
81 | |
53 | |
46 |