Welcome to the forum!
The proper way to get a PNG with transparency is to use File menu > Export PNG.
Pay attention to the 4 buttons at the top of that dialog, and choose the appropriate area. It sounds like that would probably be Page, but I don't have enough info to be sure. Just ask, if you aren't sure