Create an advanced query (Power Query)
With Microsoft Power Query for Excel, you can create advanced queries that use the Power Query formula language. The Power Query Formula Language provides a wide variety of formulas that are used to build complex expressions. To learn more about the Power Query formula language, see Learn about Power Query Formulas. To create an advanced query, you start with a blank query and add query steps that contain Power Query formulas. To learn more about how to edit query steps, see Edit query step settings.
Create an advanced query
In the Query Editor ribbon View tab, select Advanced Editor, or in the From Other Sources ribbon menu, select Blank Query.
You can also modify an existing query, as shown in the following video.