Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Displaying the top value in a text box

I have a table like the following

UserNamejavascript:;TeamCount
User1Italy1
User2Spain1
User3Germany1
User4Italy1
User5Germany1
User6Italy1

I would like to have a Text Box that displays "Italy" as being the most popular choice...regardless of any selections that are made on the data.

I have seen some solutions for this but if I had a list box based on username and I selected e.g. User5, the value displayed in the text box would change to "Germany" and would not display "Italy" which is, regardless of the selection, still the most popular choice.

This seems such a simple thing to do but I cannot see a simple solution for it.

15 Replies
Not applicable
Author

I did check out the screen shot but I only have the desktop version so can't open the qvw file.

Kushal_Chawda

Awsome

sunny_talwar

Since you have your solution, there is no point going over my proposed way of doing it

Not applicable
Author

As it turned out there was a problem with the original solution and I went back to your suggestion and it did actually work as you described.

Not applicable
Author

This solution did work initially but for some reason as the data changed the most popular team always remained the same regardless of how the data changed.

sunny_talwar

Great, I am glad it did help you out in the end