Further reading
Here are related articles of interest for you to explore:
- A refresher on Regression Analysis: https://hbr.org/2015/11/a-refresher-on-regression-analysis.
- An introduction to the SQL Interval command: https://www.mysqltutorial.org/mysql-interval/.
- Background on the SQL Case statement: https://www.w3schools.com/sql/sql_case.asp.
- For reference material on creating waterfall charts, take a look at https://knowledge.domo.com/Visualize/Adding_Cards_to_Domo/KPI_Cards/Building_Each_Chart_Type/Waterfall_Graph.