Coming from…

Coming from Power Query

In Power Query a query is a list of applied steps. In Locra each of those steps is a node on a canvas, and you see the whole chain at once. Click any node to see its data at that point, the way you click an applied step.

How Power Query ideas map

In Power QueryIn Locra
QueryA chain of nodes on the canvas. Several queries live side by side in one workflow.
Applied StepsEach step is its own node. Click one to preview its output in the dock under the canvas.
Ribbon commands (Home, Transform, Add Column)Nodes. Right-click the canvas, or press ⌘K, and type the command name you know.
Query Settings, step settingsThe Attributes panel on the right shows the selected node's settings.
Reference a queryDraw a second wire from the same node. Both branches read the same output.
Merge Queries, Append QueriesThe Join and Union nodes.
ParametersA Constant Table wired into a node's parameter input.
M and the Advanced EditorNo M. Add Column takes SQL formulas, DuckDB Query takes a full SQL query, and Code Gen has AI write Python for you.
Error valuesNo error values. A value that won't convert becomes empty (NULL), and you can filter or fill it.
Close & Load, RefreshAdd a writer node at the end (CSV, Excel, Parquet, a database), then Run. Cloud runs replace a scheduled refresh.

Power Query names in Locra

The most-used Power Query names and what to reach for here. You can type any of them into the add-node menu or the ⌘K palette: the matching node shows a chip with the Power Query name, so you learn the Locra name as you go. Where two nodes are listed, the first is the closest match.

Get Data

Power Query nameIn Locra
Get DataCSV Reader or Excel Reader
From Text/CSVCSV Reader
From Excel WorkbookExcel Reader
From FolderFolder, then File and Union
Combine FilesUnion or File
From JSONJSON Reader
From WebWeb Page or REST Fetch
PostgreSQL databaseDB Reader
MySQL databaseDB Reader
SQLiteSQLite Reader
Enter DataConstant Table

Rows

Power Query nameIn Locra
Keep Top RowsRow Limit
Remove Top RowsRow Limit
Remove DuplicatesDistinct
Keep DuplicatesFlag Duplicates or Filter
Remove Blank RowsFill Missing or Filter
Text FiltersFilter
Number FiltersFilter
Date FiltersFilter
Sort AscendingSort

Columns

Power Query nameIn Locra
Choose ColumnsSelect Columns
Remove ColumnsSelect Columns
Remove Other ColumnsSelect Columns
RenameRename
Change TypeCast Types or Parse
Replace ValuesReplace Values or Text Operations
Replace ErrorsCast Types or Fill Missing
Fill DownFill Missing or Multi-row Formula
Fill UpFill Missing
Use First Row as HeadersReaders use the header row; else Rename the columns

Transform

Power Query nameIn Locra
Group ByAggregate or Group Aggregate
Pivot ColumnPivot
Unpivot ColumnsUnpivot
Unpivot Other ColumnsUnpivot
TransposeTranspose
Split Column by DelimiterSplit to Columns or Split to Rows
FormatText Operations
ExtractText Operations or Regex Extract
Merge ColumnsAdd Column
ParseParse or DuckDB Query
ExpandExplode or Join

Add Column

Power Query nameIn Locra
Custom ColumnAdd Column or Code Gen
Conditional ColumnAdd Column or Bin
Index ColumnAdd Row Number
Duplicate ColumnAdd Column
Column From ExamplesCode Gen
Invoke Custom FunctionCode Gen or DuckDB Query
Text Before DelimiterSplit to Columns or Regex Extract
RoundAdd Column or Multi-field Formula
Start of MonthTruncate Date/Time

Combine

Power Query nameIn Locra
Merge QueriesJoin or Lookup
Append QueriesUnion
Fuzzy MergeFuzzy Match
Left AntiJoin
Cluster valuesFuzzy Match or Match Grouping

M functions

Power Query nameIn Locra
Table.SelectRowsFilter
Table.GroupAggregate or Group Aggregate
Table.NestedJoinJoin or Lookup
Table.AddColumnAdd Column
Table.ExpandListColumnExplode
Text.ContainsFilter
Date.AddDaysDate/Time Arithmetic

View and Home

Power Query nameIn Locra
Applied StepsEvery step is a node on the canvas; click one to preview it
Advanced EditorNo M editor; write SQL in DuckDB Query or Python via Code Gen
Data Previewthe Data tab under the canvas
Column profileDescribe or Column Profile
Column qualityDescribe
Schema Viewthe Metadata tab under the canvas
Query DependenciesTidy in the toolbar lines the graph up left to right
ReferenceWire a second edge from the same node to branch off it
Manage ParametersWire a Constant Table into Add Column to use it as a parameter
RefreshRun: the toolbar's Run button, or ⌘↵
Close & LoadRun: the toolbar's Run button, or ⌘↵
Close & Load To...Add a Write node (CSV, Excel, Parquet, DB) at the end of the flow
Schedule refreshDeploy & schedule to cloud in the toolbar's ⋯ menu
Python scriptCode Gen

Not in Locra yet

Most gaps are connectors: Locra reads PostgreSQL, MySQL, SQLite and Snowflake databases, Salesforce, S3 storage, files, web pages and web APIs, but not SQL Server, Oracle or SharePoint yet. When you type one of these names, the menu shows the hint below instead of a node.

Power Query nameWhat to do instead
Remove Errors, Table.RemoveRowsWithErrorsNo error values; Cast Types/Parse null bad values, then Filter
R script, Run R scriptR isn't supported; describe the step in a Code Gen node (Python)
SQL Server database, Sql.DatabaseSQL Server isn't supported yet; DB Reader reads PostgreSQL/MySQL
Oracle databaseOracle isn't supported yet; DB Reader reads PostgreSQL/MySQL
Google BigQuery, IBM Db2 database, SAP HANA databaseNot supported yet; DB Reader reads PostgreSQL/MySQL
ODBCNo ODBC connector; use DB Reader (PostgreSQL/MySQL) or SQLite Reader
SharePoint folder, SharePoint.FilesNot supported; sync the folder locally and read the files
SharePoint Online listNot supported; export the list to CSV/Excel first
DataverseNot supported; export the table to CSV/Excel first
Analysis ServicesNot supported; no cube/semantic-model connector
PDF, Pdf.TablesNo PDF table reader yet; extract tables in a Code Gen node
Reverse RowsAdd Row Number, then Sort on it descending
Remove Alternate RowsAdd Row Number, then Filter on the number (e.g. MOD = 0)
Move, Table.ReorderColumnsReorder columns with a DuckDB Query SELECT listing them in order
Use Headers as First RowNot supported yet; Transpose twice or build rows in DuckDB Query

Tips for Power Query users

  • Type the ribbon command. Merge Queries finds Join, Append Queries finds Union and Index Column finds Add Row Number, each with a Power Query: chip in the add-node menu and the ⌘K palette.
  • Branch instead of duplicating. Where you would reference a query, draw a second wire out of the same node.
  • Plan for NULL, not errors. Cast Types and Parse turn values that won't convert into NULL, so follow them with Filter or Fill Missing.
  • Parameters are tables. Put the value in a Constant Table and wire it into Add Column or Filter as a parameter.
  • Nothing is loaded until you write it. Close & Load becomes a writer node at the end of the chain, such as Write Excel or Write CSV.