Create time column for Line chart

Hey guys!
So I want to create a line chart that shows the sum of a total over the course of a 24 hour time period.
I have a timestamp column where I extracted the time but tbh it looks weird.
So I was thinking to improve the chart, is to create a column that include all time over a 24 hour period (not military time) and have the metric fall amongst trendline the metric occurred.
Any suggestions? I may be overthinking this.
Best Answer
-
I think you are correct in creating a new column in your dataset that includes the date/times you want to show in the 24 hour period, even where there is no quantity of likes.
I have attached a couple images to show what I think is your desired output and the data that is powering it, which I set up as a table with a row for each minute of a day, and then entered like quantities in random areas.
I think you already had this selected in your image above, but I selected Hide Empty Values in the chart options as well.
0
Answers
-
Hi @leeloo_dallas are you trying to show all data from the past 24 hours, or a summary of your metric across multiple days?
If it is just the past 24 hours, you do not have to extract the time from your datetime column. You can just set the timestamp as your x-axis, then set the date range to "Previous 24 Hours" with Graph by as "None".
0 -
Hi @MichelleH
I'm trying to show everything over a 24 hour period over the course of the day for the last 24 hours.
I realize it's not a timestamp column and is a date column, since it doesn't include seconds.
So the option for last 24 hours isn't available.
0 -
I think you are correct in creating a new column in your dataset that includes the date/times you want to show in the 24 hour period, even where there is no quantity of likes.
I have attached a couple images to show what I think is your desired output and the data that is powering it, which I set up as a table with a row for each minute of a day, and then entered like quantities in random areas.
I think you already had this selected in your image above, but I selected Hide Empty Values in the chart options as well.
0 -
Thanks @JasonAltenburg this worked well for me
1
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 7 Cloud Amplifier
- 9 Federated
- 3K Transform
- 114 SQL DataFlows
- 654 Datasets
- 2.2K Magic ETL
- 4.1K Visualize
- 2.5K Charting
- 802 Beast Mode
- 79 App Studio
- 44 Variables
- 758 Automate
- 188 Apps
- 480 APIs & Domo Developer
- 73 Workflows
- 17 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 408 Distribute
- 119 Domo Everywhere
- 279 Scheduled Reports
- 10 Software Integrations
- 141 Manage
- 137 Governance & Security
- 8 Domo Community Gallery
- 47 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive