Sounds like your port is damaged in your tablet. There are different pins for different actions. So the power pins are working the data pins clearly are damaged here.
Review this IFIXIT guide: [guide|108101] jump to Step16 see the ports location. Unless you can fid the connector its self and have the needed tools to properly install a new one you’ll likey need to replace the lower logic board.