if the MID can't give Average speed , and the odometer stops racking up the miles, the most common cause is probably the ABS Speed/Rotation sensor on the rear wheels.
they can sometimes be retrieved by cleaning... have a search for items regarding that.
if the fuel economy readings don't work, but the others do... then it's possibly related to something like the cam sensor, or perhaps an ECU fault, a quick check of error codes should reveal that.
it could also be an intermittent failure of the computer.....
..
the thing about the MID data relating to the clocks.... if the clocks don't work but the MID does, it generally proves that the sensors & relevant ECU work and the correct driving signal is being generated .....
if the MID isn't working AND the clocks aren't working, then it's probable that there is a sensor or ECU failure, OR a wiring fault.. (unplugged items.... broken wires, bad earths, water related damage etc)
if the clocks work but the mID doesn't , then either it's probably a computer fault, or wiring fault. (being unplugged , always one to watch for

)