Take a logical approach.
If the cable is new, it should not have any issues with drive going in at one end coming out at the other.
Now we need to know whether the gearbox is driving it. As said above, does the mileage still increase with the speed not reading? If it does, the fault is inside the speedo and this needs rebuilding.
If both speed and miles are not responding, fault may be cable not turning, or still a fault in the speedo.
Can you disconnect the cable from the speedo and watch it turning or not as you drive? This may help determine if the fault is at the speedo or at the gearbox.
Disconnect the cable from the gearbox end, now you need a means to turn the cable, but it goes anti-clockwise, so a reversible drill on a low speed, or an electric screwdriver with a chuck, or a hand drill, or something similar. Turn the cable with the top end still attached to the speedo and see if it reads. If it does, fault is on the gearbox drive, if it does not turn, the speedo is at fault.
The gearbox drives the speedo, usually with a gear around the diff, which rarely gives trouble onto a pinion that drives the cable. This is usually a nylon gear shrunk onto the shaft that engages with the cable. These pinions can release their grip, allowing them to turn on the shaft. This is the most likely cause of your problem. Remove the pinion from the gearbox, probably one bolt and inspect the pinion and shaft. Sometimes the pinion teeth just wear out.
I've tried to look at
ePER, see link on top of this site, but not knowing exact vehicle this is difficult. Speedo cable seems to be with instruments, but all those I've looked at seem to be driven electrically, so I can't find the speedo pinion. Can anyone point us at the correct section?