Question: how to change query in power bi?
Answer: Then, click on 'Edit Queries' button to edit data source query as highlighted below.
After that you will be redirected to the new window, which will show you the data sources of your Power BI report.
Then, select query from data source queries and click on 'Advanced Editor' Button as shown below.