Select columns in Power BI
How to select columns in Power BI: what Choose Columns, hiding fields and DAX SELECTCOLUMNS each change, the main tradeoffs, and how results hold up when shared.
In Power BI, "selecting columns" can mean three different operations. Each changes something different. A Power Query step removes columns before data is loaded. A model setting hides columns from report authors and viewers while keeping the data. A DAX expression such as SELECTCOLUMNS builds a new table from chosen columns. Picking the right one depends on whether you want the data gone, out of sight, or reshaped into something new.
Is column selection the right step for your use?
For most report builds, the sensible default is to choose columns in Power Query, early in the query. The main benefit is a smaller model and a cleaner field list. A smaller model generally means less data to load and refresh. The decisive tradeoff is that removed columns no longer exist in the model. Getting one back means editing the query and refreshing. The step also refers to columns by name, so a renamed or deleted source column can break refresh.
Hiding is the better choice when a column must stay in the model but should not clutter the field list. Typical examples are keys used in relationships and columns that only feed measures. SELECTCOLUMNS suits cases where you need an additional, narrower table rather than a trimmed original.
Sometimes Power BI is not needed at all. If you only want a one-off subset of a delimited file to send to someone without Power BI, a plain CSV with the selected columns is usually more practical. The same applies when the recipient needs to inspect raw values directly, and when the selection is a single task rather than part of a refreshing report.
| Method | Where it happens | What changes | Data still in the model? |
| Choose Columns / Remove Other Columns | Power Query Editor | Query keeps only the listed columns (Table.SelectColumns) | No |
| Remove Columns | Power Query Editor | Query drops the listed columns (Table.RemoveColumns) | No, for the removed columns |
| Hide in report view | Model view or Data view | Column is hidden from the report field list | Yes |
| SELECTCOLUMNS | DAX calculated table or expression | A new table is produced from chosen columns or expressions | Yes, plus the new table |
What each method actually changes
Power Query: Choose Columns versus Remove Columns
In the Power Query Editor, Home > Choose Columns and the right-click option Remove Other Columns both generate a Table.SelectColumns step. That step lists the columns to keep. Remove Columns generates a Table.RemoveColumns step instead, which lists the columns to drop. Both produce the same table today, but they react differently when the source changes.
- A step that keeps a named list ignores any new columns that later appear in the source.
- A step that removes a named list lets any new source columns flow through into the model.
- Both steps fail by default if a column they name no longer exists at the source.
Table.SelectColumns accepts an optional third argument that controls missing columns. MissingField.Error is the default and stops the refresh. MissingField.Ignore skips the absent column. MissingField.UseNull adds the column filled with nulls. Ignoring missing fields keeps refresh running, but it can also hide an upstream change that you would want to know about.
let
Source = Csv.Document(File.Contents(FilePath), [Delimiter = ",", Encoding = 65001]),
PromotedHeaders = Table.PromoteHeaders(Source, [PromoteAllScalars = true]),
SelectedColumns = Table.SelectColumns(
PromotedHeaders,
{"OrderDate", "Region", "Amount"},
MissingField.Error
)
in
SelectedColumns
The example is illustrative and has not been run against a real file. It shows a delimited source with headers promoted, followed by a step that keeps three named columns and stops if any of them is missing.
Delimited sources need extra care
When Power BI imports a CSV, it usually adds steps automatically. These often include a Changed Type step that names every column it detected. If the source file later gains or loses columns, that step can fail before your column selection ever runs. Placing the selection directly after the headers are promoted reduces this exposure. Reviewing any auto-generated type step afterward also helps.
Removing columns early has a performance benefit with databases and other sources that support query folding. There, the selection can be pushed back to the source, so unneeded columns are never retrieved. Flat text files do not fold, so the whole file is still read. Even so, removing columns limits what is stored in the model.
Hiding columns: presentation, not removal
Hide in report view removes a column from the field list. The column stays fully present in the model. It still takes up space, still takes part in relationships, and can still be referenced by measures.
Hiding is a tidiness feature, not a security control. People with sufficient access to the dataset can still query hidden columns. To actually restrict who can see a column, Power BI offers object-level security, which is configured separately.
DAX SELECTCOLUMNS: building rather than trimming
Used as a calculated table, SELECTCOLUMNS creates a new table that is computed at refresh and stored alongside the original. It adds to the model instead of shrinking it. Each output column is defined by a name and an expression, so it can rename or derive values as it selects. Inside a measure, SELECTCOLUMNS can also serve as a temporary table expression that is never stored.
Sales Summary =
SELECTCOLUMNS (
Sales,
"Order Date", Sales[OrderDate],
"Region", Sales[Region],
"Amount", Sales[Amount]
)
Will the result stay readable and usable after copying or sharing?
Selecting columns does not alter the values or text inside the columns that remain. Characters, number formats defined in the model, and column names are carried through unchanged. Renaming is a separate step. If source names are cryptic, renaming selected columns improves readability everywhere they later appear, including visuals, exports and any accessible table views.
- Exporting data from a visual includes the fields used in that visual, not every column in the underlying table. Organization settings can restrict or disable export, and export limits apply, so check your tenant configuration.
- Copying from a table or matrix visual copies the displayed values. Formatting and layout in the destination depend on where you paste, so confirm the result in the specific spreadsheet or document tool you use.
- Hidden columns do not appear in the field list or in visuals that do not use them, but they remain queryable by people with appropriate dataset access.
- Query steps remain editable in Applied Steps and the Advanced Editor. Deleting a selection step and refreshing restores the columns, as long as they still exist at the source.
A plain-text equivalent is worth producing in two situations. The first is when the data leaves Power BI for people who do not use it: a CSV containing only the selected columns is the most portable form. The second is when the selection must be documented or reviewed. The M code in the Advanced Editor is plain text and can be copied into notes or change records, which shows exactly which columns were kept.
Accessibility depends mainly on clear column names and on what each visual displays, not on the selection method itself. No scoped testing with assistive technology was available for this review. If screen reader or keyboard access matters for your audience, test the finished report with the tools your readers actually use.
Evidence gaps
This review is based on general, documented Power BI behavior. No measurements, test results or version-specific evidence were supplied. Performance benefits are described in general terms only. Export limits, permission behavior and interface labels can vary by Power BI version, connector and tenant settings, so verify them in your own environment.
Practical checklist
- Decide whether a column should be removed, hidden or reshaped before choosing a method.
- Use Choose Columns to keep a fixed list, and Remove Columns if new source columns should pass through.
- Place the selection early, directly after headers are promoted for delimited files.
- Keep relationship keys and measure inputs, and hide them if they clutter the field list.
- Do not rely on hiding to protect sensitive data.
- Rename selected columns when source names are unclear.
- Export a plain CSV when sharing with people outside Power BI.