Summary
We opened a report created in the previous chapter, we saved it with another name, and we modified its layout to fit the necessities of the new exercise. We defined the default values for the parameters SelectRating, SelectYear, and SelectMonth.
We explained what formulas are, what they are used for, and the ways to use them. We also talked about the formula editor UI and used it in a practical example.
We created a formula named FormulaTotal and used the formula editor to enter the calculation that it will make. Then we included FormulaTotal in our report in the Details section.
We configured Attributes.bg-color for a rectangle that we added to our report so that its background color is determined by a formula.
Next, we created two parameters (SelectFirstThreshold
and SelectSecondThreshold
) so that the final user can input values that will intervene in the calculation of the formula that defines the background color of our rectangle.
Finally, so you could sharpen the skills learned,...