Power BI basics-edit columns

SQL column

Summary of basic knowledge of SQL database

Summary of advanced knowledge of SQL database

What is an edit query

Edit query is to import the data we imported from the data source into Power BI, and further edit and organize it to meet our design requirements (of course, if the data source you import is what you want, then there is no need to organize it. Can be used directly).

Next, we will use the imported data for further editing and sorting to explain to you how to edit the data.

Sample data

We take the table Customers in SQL_Road as example data, as follows:

Power BI basics-edit columns

Edit query interface

We click on the start menu, edit query-edit query to enter the edit query interface.

Power BI basics-edit columns

The interface to enter the edit query is different from our data display interface, as follows:

Power BI basics-edit columns

Our next few chapters are all about how to edit data. We will talk about the specific functions of each block one by one later.

Select and delete columns

There are two function buttons in the start menu, select column and delete column

Power BI basics-edit columns

You can know what these buttons do at a glance. I’ll just talk about their functions.

Select Column: Clicking this button will pop up a dialog box for you to select the column to be displayed, as shown in the figure below:

Power BI basics-edit columns

Go to column: only go to a specified column, as shown in the figure below:

Power BI basics-edit columns

Quick operation method:

We can use the mouse to select the current column, remember to select the column heading, the selected data is invalid. Or hold down the Ctrl key to select the column you want to select, hold down the Shift key to select all the columns between the two columns, and we operate Excel is the same, it depends on personal habits.

Delete column: Select a certain column or certain columns, and click Delete column to delete the specified column.

Delete other columns: Select a few columns or a few columns, and click Delete other columns to delete the selected column.

Quick operation method:

After we select the column we want to delete, press the Delete key to delete the specified column. Or right-click and select Delete to delete the specified column.

Copy column

Select a certain column or certain columns, right-click to have a copy function, you can copy the selected column, as shown below:

Power BI basics-edit columns

In this way, we can get a column exactly the same.

Split column

Split column has two functions, one is to split by character length, and the other is to split by separator. It is similar to the sorting in Excel. It's just that the interface is slightly different.

Power BI basics-edit columns

By delimiter

More functions, which can meet our various personalized splitting needs

Power BI basics-edit columns

By number of characters

Same multiple options

Power BI basics-edit columns

For specific effects, you can try it manually. There is no special attention here, just to tell you that there is this feature.

The above is the introduction to the various editing functions of the column.

annotation

The editing of the columns allows us to sort out the data we need first, whether it is selection, copy, split or delete. This step can basically sort out the data we need. I hope you can master these functions proficiently.

Guess you like

Origin blog.51cto.com/15057820/2655123