In the custom column formula bar, use the Table.AddColumn function to add multiple columns at once. The syntax is as follows:
Table.AddColumn(Table.AddColumn(Table.AddColumn(YourTableName, "NewColumn1", Formula1), "NewColumn2", Formula2), "NewColumn3", Formula3)
Replace "YourTableName" with the actual name of your table, "NewColumn1", "NewColumn2", "NewColumn3" with the desired names for your new columns, and Formula1, Formula2, Formula3 with the respective formulas or values for each new column.
For example:
Table.AddColumn(Table.AddColumn(Table.AddColumn(Sales, "Profit", [Revenue] - [Cost]), "Profit Margin", [Profit] / [Revenue]), "Category", "Sales")
This formula adds three new columns: "Profit" calculated as Revenue minus Cost, "Profit Margin" calculated as Profit divided by Revenue, and "Category" with a static value of "Sales".