Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

2.3.1. Power Query (M) Transformations

💡 First Principle: Power Query (M) is a functional language optimized for data transformation. It's the engine behind Dataflow Gen2 and Power BI data preparation.

Common M Transformations
OperationM FunctionPurpose
Filter rowsTable.SelectRowsRemove unwanted records
Remove columnsTable.RemoveColumnsEliminate unneeded columns
Merge queriesTable.NestedJoinJoin tables together
Group byTable.GroupAggregate data
PivotTable.PivotTransform rows to columns