if the focus (highlighting) is on a sub-element of the Shared Queries folder of Existing and Shared Queries panel, it is not possible to create a query, the button is grayed out.
Queries __ can only be created or modified in the user directory. To make them accessible to other users, you must publish the query.