Sporadic values for dates, want to see last score until next score is submitted
Hi all
I have a dataset containing numeric values for audit scores, a date field, and an auditee field.
I can create a line chart with the score over time, however the data is "gappy" because the frequency of these audits is inconsistent.
This presents a challenge, my customer would like to be able to see an average score for a filtered subset of the data (e.g. a group of organisations) at a specific date, but if I filter to the date (e.g. a one month period), it only shows me the audits from that month.
That average doesn't include any audit scores for organisations outside the month.
So for example, if a score of "4" was bad, and if an audit had a score of 4 in June 2022 and I filtered to July 2022, then the score is not included in the average calculation for July 2022 even though the score of 4 is still valid for that organisation as it hasn't been updated.
Currently I'm thinking we could create a date table with a daily date field, which checks if the score has been updated and if not, record the last score. However this table will likely be several million rows long, and feels like overkill.
Any ideas?