Thank you for the feedback and update, but it still doesn't work with the dashes in the table names.
So I renamed all my tables (dashes to underscores) and adjusted the concerning code in my page. And guess what: the query builder works! Sometimes DW shuts down opening or closing (clicking the OK button) the query builder, and sometimes it works faster coding by hand, but my problem is solved for now.