I have a table where I record data on a daily basis. It happens that some days will be missing entries.
I also have a chart where the horizontal axis is days and the vertical axis is a sum of daily totals.
The chart renders the data nicely for days that have entries, however I would like to display days that don’t have any data.
Any idea how I could display consecutive days in the chart without needing to alter the actual data table?
Sale, 20/12/2019, $200
Renewal, 20/12/2019, $500
Sale, 22/12/2019, $400
If I chart this where the horizontal axis is dates and vertical is sum of value, it leaves 21/12/2019 out, which makes sense.
I was wondering if there would be a way of having the days printed continuously including today.
One way I would tackle it is to create a new view with two columns: date and sum. There I would print each day and add up the values into the sum column. Then chart the second view instead of the original table.
I created a sample below where I just added a sequence of all days, including days without having data on it. And as you can see they are properly displayed
I think @Jean_Pierre_Traets has the best solution for you. There isn’t a way to tell the chart to include days that are not in the data.
A workaround might be to add an automation that would run every morning though. It could filter to see if there is an entry for the previous day and if not, it could add a row for that day with a 0 value.