How to compare data that change over time