# Formatting Data for Components in the Report Builder

You can configure the format for displaying data in charts.

## Before You Begin

- Build a Report

- To build and deploy reports, your CommCell user account requires a role with the Add Report permission and an association with the CommCell entity.

## Procedure

1. From the navigation pane, go to Manage > Integration.

2. On the Developer tools tab, click Report.

3. Next to the Report Name under Actions, click Edit.

4. Add and configure any of the following component types:

   1. Bar Chart

   2. Columns

   3. Horizontal Bar Chart

   4. Line and Timeline

   5. Pie Chart

   6. Vertical Bar Chart

5. Select the table, chart, or other component, and, on the Properties tab, click Fields .

6. Access the formatting options for charts, tables, or other components:

   1. For charts, configure the measure and dimension:

      1. Under Measure, expand a measure, and then beside Formatter, click None.

      2. Under Dimension, next to Formatter, click None.

   2. For columns, expand a column, and then beside Formatter, click None.

   3. For other components, under Measure, beside Formatter, click Custom.

   At the bottom of the page, the Formatter dialog box appears.

7. From the Type list, select a type, and then configure the available options:

   1. Custom: Click Add Expression.

      The Code Editor dialog box appears.

      1. To configure the component behavior, enter Javascript code.

      2. Click Save.

   2. Boolean: From the Format list, select Tick/Cross.

   3. Date: From the Format list, select any of the available options, such as MM-DD-YYYY.

   4. Duration: From the Source is in list, select the size format for the source data, such as Milliseconds.

   5. Link: From the onClick list, select the operation that runs when the report user clicks the link, such as Run a workflow or URL.

      To define a variable in a URL, enclose the variable in curly brackets ({}), such as /{{row.nID}}.

   6. Number: From the Format list, select any of the available options, such as Comma Separated.

   7. Size: Select values for the source data (collected from the database) and target data (displayed in the component), and then specify the number of decimal places to display for the target data:

      1. From the Source is in list, select the size format for the source data, such as Bytes.

      2. From the Target should be in list, select the size format that displays in the component, such as TB.

      3. From the Precision list, select the number of decimal places to display in the component, such as 10.

8. Click Apply.

   The data appears in the format that you specified.

9. To save this version of your report specification in the Reports Manager, at the top of the Report Builder page, click Save.

10. To make the report available to end users on the Reports page, at the top of the page, click Deploy.

## Related Topics

- Example: Building the Backup Failures Report

×

Loading...