Welcome to the Forums.
I'm moving this to Bike Mechanics, where it may get more replies.
Do you get a reading at all? For example, if you move the magnet a couple of times past the sensor, holding them in your hands? If it's a wireless comp (no wires between sensor and handlebar mount), make sure you have fresh batteries in the sensor.
--J