Home Discussions Questions & Answers Using Hidden Parameters for Sheet Name Customization

Using Hidden Parameters for Sheet Name Customization

Avatar photoCustomer November 10, 2025 at 2:08 pm

By default, the Excel sheet name is the report name. I need to dynamically change this based on a parameter, like the Operating Unit. Can I do this without showing the sheet name parameter to the user?

Viewing 4 reply threads
  • Author
    Replies
    • Support November 11, 2025 at 6:54 am  

      Yes, you can use the special anchor :sheet_name. You should set up a parameter that references this anchor, and hide it by assigning a negative display sequence number.

    • Avatar photoCustomer November 11, 2025 at 11:21 pm  

      How would the default value for this hidden parameter be configured to rely on the Operating Unit?

    • Support November 13, 2025 at 12:41 am  

      You would use a default value SQL that references the Operating Unit parameter, for instance: : $flex$.operating_unit||’ suppliers’. This allows the sheet name to be dynamically set based on the run-time value of the dependency parameter.

    • Avatar photoCustomer November 13, 2025 at 11:07 pm  

      So the :$flex$ syntax works in the default value field of a :sheet_name parameter?

    • Support November 14, 2025 at 6:34 pm  

      It does. The :$flex$ syntax is used to define parameter dependencies in both LOV queries and default values.

Viewing 4 reply threads
  • You must be logged in to reply to this post.

Login with: