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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
srujanaponnuru
Creator
Creator

dynamic text boxes

hi,

Please help me regarding this issue.

I have application name and # of users columns. In qlikview, I created a search button with application name. so whehn I click on application name automatically I should get the total number of users in  that text box.

I have created a text box as total users and given the expresiion as

=If(Len(GetFieldSelections(Application)), Count([# of Users]),'Search for Application')

b
ut this is not working

attached is the excel file and qvw file.

Labels (1)
1 Reply
rubenmarin
MVP
MVP

Hi srujana, Count() returns the number of occurrences, in the sample there is 1 value for [# of Users], with a stored value of '65' for application 'AME'.

You can try with Sum():

=If(Len(GetFieldSelections(Application)), Sum([# of Users]),'Search for Application')