Hi.
I don't know. Why your window does not work. You do not say if it works from the door switch.
If it does I would say that the master switch is probably faulty which will likely stop the windows from dropping and so not allow the roof to work.
if it does not work on the door switch the window is faulty. A faulty front window will stop the roof from working.
kind of a double edge. Sword.