You have to make use of the custom code and the SfExp
for the parameter label to get the parameter label changed based on another parameter value. Follow these steps, to change the label of parameter based on another parameter value.
Open the report in our Bold Report Designer.
Open the report properties and click Code
to add the custom code to get the parameter label, as shown in the following image.
While creating the parameter, use the custom code function and assign it to the SfExp
to manually set a label of the parameter based on the previous parameter value as shown in the following image.
While previewing the report, the parameter label will be as shown in the following image:
In this section, we have provided the steps to modify the parameter label based on another parameter value. Similarly, you can also modify the parameter label for various other scenarios like changing the culture of the parameter label or selecting dataset fields as parameter labels using the
SfExp
feature.