0

Parameter Format

Hi,  

As per the above, is it possible to change the default formatting of a parameter.  I would like the values within the parameter to display as a %.  The graph that the parameter interacts with has an axis currently in the format of % but in order to change everything above a given % - lets say 60% -  I need to enter 0.6 in the parameter field, it doesn't appear very user friendly as it stands.

 

Thanks,

Dan

2 replies

null
    • Senior Director of Product
    • Ian_Macdonald
    • 2 yrs ago
    • Reported - view

    Hi Dan,

    Yes. And No. 🙂

    Set the Parameter type to be Continuous and set the lower and upper bounds and the increment. Then on the Default section, set the visualisation to Text Box and then set the Format option. This will display in % but unfortunately you still have to enter the value as 0.6 for 60%.

    The other option is to use a Slider to select the value to enter. This will always show % and when 60% is selected will submit 0.6:

    Here, I've formatted the Parameter to be Continuous, from 0 to 1 in steps of 0.05, formatted as 0%. You can see how it looks on the right.

    If you are applying the Parameter value to a calculation and you want the user to enter 60 for 60% in a free text entry box, rather than 0.6, in your calculation expression, divide the parameter by 100 before applying it to your expression. 

    Hope that helps,

    Ian

    • Dan_Sharman
    • 2 yrs ago
    • Reported - view

    thanks so much for the above Ian, I am using it to drive a calculation so used the /100 logic and that seems to work great.  Thanks again,

     

    Dan

Content aside

  • Status Answered
  • 2 yrs agoLast active
  • 2Replies
  • 12Views
  • 2 Following