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: 
chiranjivdas
Contributor III
Contributor III

How to show text only when a specific selection is made in a list box?

I have a list box where users can select the company. Some companies have multiple transactions. I want a text box to appear when the selected company has multiple transactions.

For example, ABC Company has only one transaction so I do not want the text to appear when ABC company is selected. But XYZ Company has 2 transactions, and I want the text to appear when XYZ Company is selected warning users that there are multiple transactions involved. Even better if I can make this text box with flashing colors.

Thanks for your help,

Chiranjiv

CompanyTransaction IDSales
ABC Company1210$50,000
XYZ Company1141$35,000
XYZ Company1512$40,000
1 Solution

Accepted Solutions
sunny_talwar

May be use this as hide/show condition for your text box object

GetSelectedCount(Company) = 1 and Count([Transaction ID]) > 1

Sample attached

View solution in original post

1 Reply
sunny_talwar

May be use this as hide/show condition for your text box object

GetSelectedCount(Company) = 1 and Count([Transaction ID]) > 1

Sample attached