Grafana/Graphite Find a value change in metric with graphite


I have 1000 network ports which i can graph and see port status. I need to apply a filter to see changes on graph. Like. up ports value is always 1 and down ports value is always to for 24h period i want to graph all those metrics but only if there is any change occured from 1 to 2.