I have a table in postgres with three columns, one with a group, one with a date and the last with a value.