2000 Nissan Maxima

Electrical problem
2000 Nissan Maxima 6 cyl Automatic

I just bought a 2000 Nissan Maxima 2 days ago and today the speedometer isnt working, the gas gauge is working and the mileage is still keeping count. Could this be sensor? What should I check for?
March 1, 2010.

Is it still shifting good? It could be faulty vehicle speed sensor but usually they also cause shifting issues with tranny. May want to inspect fuses and the wiring to back of the cluster panel.