You can make further modifications to a report at any time in order to make it better satisfy your requirements. In Logi Report Designer, to edit a report is actually to edit the components in it. This topic lists the basic operations used for editing a page report. For more details about working with different components, refer to the specific section of each component in the Components topic.
This topic includes the following sections:
- Inserting Other Components into a Report
- Duplicating Components
- Resizing Components
- Deleting Components from a Report
- Editing Component Properties
- Changing Component Position
- Applying Conditional Formats in a Report
- Predefining Sort and Filter Conditions in a Page Report
After the initial design work of a report, you are also free to insert more components into it. To insert a component, you can either use the Insert menu tab or the Components panel.
You can duplicate any component in a report without creating it the second time.
- Select the component which you want to duplicate.
- Right-click the component and then select Copy from the shortcut menu (or select the corresponding menu command).
- In the required position, right-click your mouse, and then select Paste.
- Select the component with the size you want to change, and the sizing handles will then appear along the four boundaries of the component.
- Drag a sizing handle to resize the component to the required size.
- Repeat the steps to resize other components.
If you find any components contained in a report are not required, you can use either of the following two ways to remove it:
- In the Report Inspector, select the node which represents the component and press the Delete button on your keyboard.
- In the design area, right-click the component and select Delete from the shortcut menu.
Each component has a set of properties that can be used to customize the appearance and behavior of the component.
To edit the properties of a component, select the component in the report or from the report structure tree in the Report Inspector, then in the Properties sheet modify the property values as required. See Report Object Properties for detailed information about the properties.
After editing the properties you can save them as a CSS style for future use.
Report templates in Logi Report use a flow layout model. That is, paragraphs and components in the report body can flow from one page to another, maintaining their sequence, and the Position property controls whether a component is to be part of the flow, or separate from it. Besides the report body, tabular cells, text boxes and KPIs themselves in Logi Report can also act as flow layout containers.
The component will be positioned at the location in which it is inserted. The X and Y coordinate properties are disabled. The position of the component cannot be moved other than by having its insertion point moved. This can happen when the text flow preceding the insertion point expands.
The component will be positioned at an offset to the position at which it is inserted. The offset is determined by the X and Y coordinate property values. This value is not available for some kinds of components.
The component will be located at the position specified by dragging and dropping or by setting its X and Y coordinate property values. The component insertion point does not change, for instance it is not affected by having text inserted before it. The position of an object in a banded object can only be Absolute.
When components in the same flow layout container have their Position property value set to Absolute and overlap, you can set the display order of the objects by right-clicking an object and selecting an item from the Move submenu, or selecting the objects and selecting the corresponding move button on the Format menu tab.
- Move Backward
Moves the component one step towards the back.
- Move to Back
Moves the component to the back.
- Move Forward
Moves the component one step closer to the front.
- Move to Front
Moves the component to the front.
- Move Backward
You can change the Position property of a component in any of the following ways:
- In the design area, right-click the component and on the shortcut menu, select the required item from the Position submenu.
- In the design area, select the component, then select the Format/Home menu tab and select the required item from the Position drop-down list.
- In the Report Inspector, select the node which represents the component, then set its Position property value as required.
In the same flow layout container, when components overlap, they follow the rule that the component inserted later covers the one earlier and the component with Absolute position covers the one with Static position. If different types of objects in a chart overlap, the order of covering is as follows: chart legend > chart label > chart paper or chart data label.
Conditional format enables you to highlight the values that are important in a report or might need to be acted on by the end users.
You can apply conditional formats on the following data fields in a report: DBField, Formula Field, Parameter Field, Summary Field. For more information, see Adding conditional formats to DBFields.
In a chart, you can add conditional color fills to apply different color patterns to its data markers based on different value ranges.
For page reports creating using query resources, you can predefine sort and filter conditions on the charts, tables, crosstabs and banded objects in them so that when the page reports are published to Logi Report Server and loaded in Page Report Studio, data in the specified data components in the reports will be displayed in the order you prefer, or be narrowed down as you desire.
The predefined sort and filter conditions in a page report are based on the result set of all the other sort and filter conditions applied to the report.
- Select a chart, table, crosstab or banded object in the report to which the sort conditions will be applied.
- Select Report > Edit Sort & Filter to show the Edit Sort and Filter dialog. The Sort tab is active by default.
- In the Fields box, all the fields in the dataset the data component uses are displayed. Select the field by which to sort the data from the box and select to add it to the Sort By box. To sort by two or more fields, select all of them and then select .
If the Customize Display Name feature hasn't been applied to the dataset the data component uses, no fields are available in the Fields box. In this case, select the Edit Display Name button in the dialog first to enable the feature on the dataset.
- To modify the sort direction for a field, select (ascending) or (descending) in the Direction column.
- To change the sort priority of the fields, select the field in the Sort By box, and then select or to move it up or down.
- Select OK to accept the settings.
- Select a chart, table, crosstab or banded object in the report to which the filter conditions will be applied.
- Select Report > Edit Sort & Filter to show the Edit Sort and Filter dialog, then switch to the Filter tab.
- Select the Add Condition button to add a condition line.
- From the field drop-down list, select the field on which the filter will be based.
If the Customize Display Name feature hasn't been applied to the dataset the data component uses, no fields are available in the field drop-down list. In this case, select the Edit Display Name button in the dialog first to enable the feature on the dataset.
- From the operator drop-down list, set the operator with which to compose the filter expression.
- In the value combo box, type the value of how to filter the field or select the value from the drop-down list.
You can specify an empty string as the value for a field of String type, by simply leaving the text box blank (value length=0).
- Select Add Condition to add more condition lines and define the logic between the condition lines.
To make some condition lines grouped, select them and select the Group button, then the selected condition lines will be added in one group and work as one line of filter expression. Conditions and groups together can be further grouped. To take any condition or group in a group out, select it and select Ungroup.
To adjust the priority of the condition lines, select it and select the Up or Down button.
To delete a condition line, select it and select the Delete button.
- Select OK to save the condition.
Note: The predefined sort and filter conditions will also affect the preview result in Logi Report Designer, and the result produced from being run in other formats besides Page Report Result.