Forcing X-axis to populate missing dates
Hello Domo people,
I’m trying to display data from JIRA in which the X-axis is a series of dates. However there are several dates which have no data and as a result do not appear in the Domo data set.
I’d like to include days that have no data so that the timescale is consistent. Is there a way to do this easily in Domo? I didn’t see any options in the chart properties. Perhaps if Domo recognized the values as dates it would fill the missing values in?
Would you recommend doing this with a dataflow? I've been playing around with some SQL statements, but it doesn't seem like a good fit.
I could do it easily as a one-off in Excel but as this JIRA data is dynamic I would prefer to keep the graph display dynamic as well.
Thank you for your help.
Best Answer
-
@Jacob This should work out of the box. What chart type are you using?
On the line and bar charts there is a feature called "Time Scale" which makes sure that zeros are populated whenever data is missing for dates. There is a chart option under the x-axis that allows you to turn the feature off (it is on by default).
There is a chance it won't work if your dates are not cast correctly. Is your date in the date-grain dropdown?
-----
I work for Domo.
**Say "Thanks" by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as "Accepted Solution"3
Answers
-
@Jacob This should work out of the box. What chart type are you using?
On the line and bar charts there is a feature called "Time Scale" which makes sure that zeros are populated whenever data is missing for dates. There is a chart option under the x-axis that allows you to turn the feature off (it is on by default).
There is a chance it won't work if your dates are not cast correctly. Is your date in the date-grain dropdown?
-----
I work for Domo.
**Say "Thanks" by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as "Accepted Solution"3 -
Hello jmo,
Thank you for your response. I'm trying to use a stacked area graph. That looks to be my problem as I see the X-axis populated correctly with missing data if I use the line or bar types. It would be helpful if this difference was highlighted in some way.
1 -
i am currently using a line bar graph but do not see the "time scale" options. Please assits
1 -
Hi there!
I'm trying to group my dates by week. I'm using this formula in beast mode:
CONCAT(DATE_FORMAT(SUBDATE(`Date`,WEEKDAY(`Date`)-1),'%b %d'),' - ',DATE_FORMAT(SUBDATE(`Date`,WEEKDAY(`Date`)-7),'%b %d %Y'))
Problem is, when I group like this, I lose the feature of showing 0 values for dates. Please help - thank you!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 296 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive