Alert on current vs previous ifInOctets

Hi LibreNMS team,

Is it possible to create an alert that compares current value of ifInOctets and a previous one let say a week ago ?

Thanks all for your support !