Articles in this section
Category / Section

How to customize the parameter label based on another parameter value

Published:
Updated:

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.

  1. Open the report in our Bold Report Designer.

  2. Open the report properties and click Code to add the custom code to get the parameter label, as shown in the following image.parameter-custom-code.34c5d92.8d23e50571e556e00643f03722683269.png

  3. 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.parameter-label-expression.4028bbc.0b59362fbcfa0afaf3d0609728978f50.png

While previewing the report, the parameter label will be as shown in the following image:
preview-state.c878a26.c9121d282c703c1874231497717a9403.png

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.

See also

Add report parameter to the report

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied