Just for reference, this is likely the non-conductive grease used for lubrication of mechanical & electrical surfaces. It will also prevent intrusion of dust/dirt into the interior of the potentiometer, so it's likely best left alone.
If you really want to remove the residue, I would avoid...