Advanced editor is used to view queries that Power BI is running against the data sources importing data. The query is rendered in M-code. Users wanting to view the query code select “Edit Queries” from the Home tab, then click on “Advanced Editor” to perform work on the query. Any changes get saved to Applied Steps in the Query Settings.