How to use web reporting tools to add conditions to the report attributes

Description: Reporting to the report in the condition properties that set the background, fonts, borders, row height, column width, additional characters and other attributes. Reports in the presence of a data set, we want to add flexible property in the worksheet, the conditions necessary to use the property.

The first step: understanding of property conditions

Open the conditions of the Properties dialog box, click on the menu bar cell - conditional attributes will pop up conditions Properties dialog box.

 

When you add a condition attribute, you need to click to create a condition attribute, property condition, condition name defaults to "Attribute 1", you can modify the name, the name of the property is below. Click Properties have the background, fonts, borders, row height, column width, additional character attributes such as options, each attribute may correspond to a cell of a worksheet, rows, columns. Property is the formula below, it can be more flexible to add a worksheet formula based on property condition. A plurality of conditions can be added attribute condition attributes, a plurality of dataset condition attributes can be added.

Step two: add a data source

In the data source Click to add a data source to obtain the statement window, enter the data set: "select * from inventory demand information," added the data source ds1.

The third step: the establishment of a worksheet

The required data sources drag the work sheet, and add the corresponding display. The effect is as follows:

Fourth Step: Set Condition Properties

Select the worksheet inventory data set, and then click Menu Bar Cell - property conditions, conditions in the pop up the Properties window plus 1 property, click the property plus red background color, select the current row position is inserted, enter the formula below : E6 <50 && C5 == 'fruits'.

 

Then select a cell in the worksheet amount ordered data set is located, then click Menu Bar Cell - property conditions, conditions in the pop up the Properties window plus 1 property, click the property plus a green background color, select the current row position , enter the formula below: G6> 100000 && C5 == 'shoes.'

Step Five: Preview report

Click on the toolbar to preview the report, the effect is as follows.

Step six: Save the template

Save the template and rename it to data warning.

Published 39 original articles · won praise 1 · views 10000 +

Guess you like

Origin blog.csdn.net/efreport/article/details/90369198
Recommended