Hi there. . .
Welcome to YT. It is very difficult to potty train a yorkie. It took me a full year to potty train my yorkie baby. I kept her in a play pen when I was at school and at night when I was sleeping with her newspaper, her food, toys and bed. And when I was at home she will run around in the house and play. Then I will take her where I wanted her to potty every one to two hours and praise and praise if she potty. Now she is one years old and can sleep with me in my bed and do not have to stay in the play pen. She does have an accident once in a while but we getting there.
I hope I helped.