Misleading trend line

When viewing sales history for a customer and looking at the trend for a period of time, I have noticed that the trend line can be misleading. The first example is in Domo, you can see that there were no purchases in Feb or Nov of 2017 for this customer.
However, the trendline is very flat. If you were to include 0 for the two missing months, the trend line should look like this:
I have tried to graph using ifnull(`Net Test QTY`,0) but that did not change the trendline either.
Any suggestions?
Comments
-
What up Scott!
So you basically need some way to add a data point for the missing dates to your data source (Without a date and 0 value the linear regression formula is ran for N-2 essentially)
You could left join a list of calendar dates to your source data and fill in the nulls with 0.
Once you have a reference point for it to assign 0 values to it will look like this:
Let me know if you need me to go into further detail.
Sincerely,
ValiantSpur**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 310 Workbench
- 7 Cloud Amplifier
- 9 Federated
- 3K Transform
- 113 SQL DataFlows
- 650 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 792 Beast Mode
- 78 App Studio
- 44 Variables
- 754 Automate
- 187 Apps
- 479 APIs & Domo Developer
- 71 Workflows
- 17 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 407 Distribute
- 118 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
- 113 Community Announcements
- 4.8K Archive