This questions been asked many times. Don't mean to be rude, but run a search for your question before asking it, we've read this particular one at least 10 times.
Anyway, to answer your question, this is a common problem with e36's. It's just an electrical error. If you want your window to go up either tap it bit by bit, or just hold it down hard until it goes all the way up.