- Adding Rows to a Table
- Modifying a Row
- Deleting Row(s)
- Adding a Column
- Adding a Lookup Column
- Deleting Column(s)
You can manipulate the data and columns in a table in ManageEngine Analytics Plus, as easily as you would do in spreadsheet like Excel. You can add, modify, delete data rows as well as columns. In this chapter we will discuss about how to use these features in detail.
- These options will be enabled only to users who have been provided with Write permissions during sharing by the Administrator. Refer to the topic Sharing and Collaboration to know more about sharing
Adding Rows to a Table
After you have created a table, you can easily add rows dynamically to the table.
From " Explorer" Tab of the workspace, select the table to which you want to add the row.
Click Add button from the toolbar and then select Add Row option or right click on any cell in the table and then select Add -> Add Row option in the right click pop up menu.
You will notice the cursor is automatically placed at the bottom row of the table.
Enter appropriate values in to the row as you would do in a spreadsheet like Excel. You can navigate across cells (left to right) by using Tab key or the left and right arrow keys.
- Once the data entry is done click Save button in the tool bar.
Instead of using the Add Row option as mentioned above, you can also navigate to the end of the table and start adding your new row content in the row indicated with a * in the row number cell.
To enter data in a cell, type the values right away or press F2 key or double click on the cell to get into edit mode. This is similar to how a spreadsheet operates for data entry.
Modifying a Row
To modify data in an existing row, press F2 key or double click on the cell you wish to edit to get into edit mode and type the values you want, and then click Save button in the toolbar.
You can delete one or more rows from a ManageEngine Analytics Plus table. This section explains how to delete a row or multiple contiguous rows from a ManageEngine Analytics Plus table.
To delete a row from a table:
Select a row by clicking on its row header or select any cell from the row to be deleted.
Select Delete - > Delete Row(s) button from the tool bar or right click on the selected row and then select Delete Row(s) option in the pop up menu. You can also delete a row by hitting delete key after selecting the row.
You can also delete multiple contiguous rows at a time from a table instead of deleting one at a time.
To delete multiple rows:
Select the required rows by holding Shift key.
Delete rows by selecting Delete button and then Delete Row(S) option from the toolbar or by selecting Delete -> Delete Row(s) option in the right click pop up menu. You can also delete a row by hitting delete key after selecting the rows.
If you want to delete all rows in a column, select Delete -> Delete All Rows option in the toolbar.
- Remember that once you delete a row, you cannot undo the deletion. It is important to back up your data before you do any delete operation.
Adding a Lookup Column
Lookup column relationships in ManageEngine Analytics Plus are similar to Foreign key relationships in Relational Database. A lookup column is a type of column whose values will be referenced from a column in another table in the same database i.e., it can be used to cross-reference tables in a database. In ManageEngine Analytics Plus, Lookup column field displays the looked up column values as a list in a combo box to choose values instead of typing them in. Let's say a new Department IDLookup column has been added to Employee table, whose values will be looked up from Department ID in the Department table. When editing a lookup column field, all the Department IDs existing in Department table will be displayed as a list of choices in a combo box as shown below, so that you can choose the appropriate department the Employee belongs to.
If your ManageEngine Analytics Plus database has more than one table, you can start creating a lookup column.
Refer to the topics Relational Data Modeling and Joining Tables to know more about lookup column.
You can delete one or more columns from a ManageEngine Analytics Plus table. This section explains how to delete a column or multiple contiguous columns from a table.
- Remember that you cannot delete a column if it has been used to create a report. Also, remember that once you delete a column, you cannot undo that deletion. It is recommended to back up your table before you do any delete column operation.
To delete a single column:
You can also delete multiple contiguous columns at a time from a table instead of deleting one at a time.
To delete multiple columns:
From " Explorer" Tab of the workspace, select the table to which you want to add the column.
On the toolbar, click Add option and then select Add column option.
A dialog box, Add Column will appear in which the details of the new column can be specified.
Provide the column's name and select data type in the Add column dialog box as shown below. You can refer here to know about various data types (column types) supported by ManageEngine Analytics Plus.
A new column with the specified name will be added to the right of the table
Click Save button in the tool bar.
Open the table to which you wish to add Lookup column
From the toolbar, select Add -> Add Lookup Column option
In the Add Lookup Column dialog box that appears, type the Lookup column name in the Column Name text box.
Choose the column to lookup from the list provided under Column to Lookup option.
Now, select the required action to be performed by ManageEngine Analytics Plus on deleting a row(s) in the parent table, under the On Deleting the values in the Lookup(parent) column option. The possible options are described below
Delete the corresponding rows in this (child) table: When rows are deleted in a parent table, then all the corresponding rows in the child table will be deleted automatically. Choose this option if you want to maintain the data integrity between the parent and child tables i.e. rows in child table will exist only if there exist a corresponding mapping row available in the parent.
Set NULL to the corresponding values in the child table: When rows in the parent table are deleted, respective rows in the child table won't get deleted. Instead, the values in the matching column in the child table will be set to NULL.
Click OK add the lookup column.
Select the column to be deleted by clicking on the column header
From the toolbar, select Delete button and then Delete Columns(S) option. you can also delete the selected column by hitting Delete key or by selecting Delete -> Delete column(s) option from the right click pop up menu.
Select the required contiguous columns by holding Shift key.
Delete selected columns by selecting Delete button and then Delete Row(S) option from the toolbar or by selecting Delete -> Delete Row(s) option in the right click pop up menu or by hitting delete key.