To edit a specific query, select the cell where the query is located (if Edit Mode is ON, an Excel comment will appear in the cell). Click on the Edit Query button on the Analytics Edge ribbon bar. The original query wizard will open with all of your previous settings.
Make changes as desired and finish the query. The modified query will be run and saved. Note that if the query fails, the change will not be saved.