Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display % correctly in input box

I have an input box where users can input a desired percent (%) and it gets set to a variable. The variable is then used to calculate another variable to be used in a chart. The issue is when inputting a number, for example = 25, it displays 2500% instead of 25%. How can I change this without requiring users to put in .25?

1 Solution

Accepted Solutions
Not applicable
Author

Thank you Settu!! This got me a lot closer.. I left off the &'%' in the trigger because it would add a second one when I changed the number again but I was able to use the trigger to get what I needed and then check the % box in the input box number tab and it is now working as I would like

View solution in original post

11 Replies
pamaxeed
Partner - Creator III
Partner - Creator III

Why you  not use just an other format for example number with 2 decimals?

sinanozdemir
Specialist III
Specialist III

Hi Shana,

I usually follow the below format:

Capture.PNG

Thanks

pamaxeed
Partner - Creator III
Partner - Creator III

I mean in the Inputbox you can define a format, so in that case u just have to do like that:

Not applicable
Author

I did change the format like that and I clicked the show in percent % at the bottom. the number shows as 2500% instead of 25%

Not applicable
Author

Not applicable
Author

Not applicable
Author

it's not the text object that is displaying it incorrectly, it's the input box.

pamaxeed
Partner - Creator III
Partner - Creator III

Here a sample app...

Try to give a look.

Cheers,

Patric

Not applicable
Author

I see what you're doing. The issue is that I want it to display the correct % in the input box, not an additional text object. I want this to say 33% not 33.00 in the input box.