Power Query Column Level Actions

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Swipe

Power Query
Column Level
Actions

ANKIT YADAV
@ankityadav.info
Available with
Action Purpose Multiple
Columns?
Remove the selected column from the Power
Remove Yes
Query data.

Remove Other Remove all non-selected columns from the


Yes
Columns Power Query data.

Create a duplicate of the selected column as a


new column placed on the far right end of the
Duplicate
table. The name given to the new column is No
Column
Copy of X, where X is the name of the original
column.

Remove all rows from the selected column


Remove where the values duplicate earlier values. The
Yes
Duplicates row with the first occurrence of a value isn’t
removed.

Remove rows containing errors in the selected


Remove Errors Yes
column.

Change the data type of the selected column to


any of these types: Binary, Date, Date/Time,
Change Type Date/Time/Timezone, Duration, Logical, Yes
Number, Text, Time, or Using Locale (which
localizes data types to the country you specify).
Available
Action Purpose with Multiple
Columns?
Change the way values in the column are rendered.
You can choose from the following options:
Lowercase, Uppercase, Capitalize Each Word, Trim,
Clean, Length, JSON, and XML. If the values in the
column are date/time values, the options are Date,
Transform Yes
Time, Day, Month, Year, or Day of Week. If the
values in the column are number values, the options
are Round, Absolute Value, Factorial, Base-10
Logarithm, Natural Logarithm, Power, and Square
Root.

Replace Replace one value in the selected column with


Yes
Values another specified value.

Replace Replace unsightly error values with your own,


Yes
Errors friendlier text.
Aggregate data by row values. For example, you
can group by state and either count the number of
Group By Yes
cities in each state or sum the population of each
state.

Fill empty cells in the column with the value of the


Fill first non-empty cell. You have the option to fill up or Yes
fill down.
Available
Action Purpose with Multiple
Columns?
Unpivot Transpose the selected columns from
Yes
Columns column-oriented to row-oriented or vice versa.
Rename the selected column to a name you
Rename No
specify.
Move the selected column to a different location in
Move the table. You have these choices for moving the Yes
column: Left, Right, To Beginning, and To End.
Navigate to the contents of the column. This
Drill Down option is used with tables that contain metadata No
representing embedded information.

Create a new query with the content of the


Add as New column, by referencing the original query in the
No
Query new one. The name of the new query is the same
as the column header of the selected column.

Split the value of a single column into two or more


Split Column columns, based on a number of characters or a
No
(Ribbon only) given delimiter, such as a comma, semicolon, or
tab.
Merge the values of two or more columns into a
Merge Column
single column that contains a specified delimiter, Yes
(Ribbon only)
such as a comma, semicolon, or tab.

You might also like