Skip to main content
Announcements
YOUR OPINION MATTERS! Please take the Qlik Experience survey you received via email. Survey ends June 14.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Qlikview have 2 fields in search box,want text box visible when either one of the field is selected

Hi Team

I have a search box which contains 2 fields: Country and Sales.I have a requirement, when user selects either Country/ Sales the text box "Hello Country/Sales is selected" should be visible. When nothing is selected text box "Hello" should be visible.

PFA qvw.

Please help

Thanks

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

This condition is working correctly as per my requirement:


GetSelectedCount(Country)=0 and GetSelectedCount(Sales)=0 in "Hello First Page"

View solution in original post

5 Replies
MK_QSL
MVP
MVP

Use this

='Hello ' & Country & ' : ' & SUM(Sales) & ' is selected'

All other look ok

Anonymous
Not applicable
Author

Presentaion- text in search

= if(GetFieldSelections(Country)=Country ,'Hello Country/Sales is selected','Hello')

hcabrera
Contributor III
Contributor III

Hi,

may be,

=if(GetFieldSelections(Country)=Country or GetFieldSelections(Sales)=Sales,'Hello Country/Sales is selected','Hello')

Anil_Babu_Samineni

Or this?

='Hello ' & Country & ' : ' & Concat(Sales,',') & ' is selected'

Or

='Hello ' & Country & ' : ' & If(GetFieldSelections(Sales)>0, Sales, ' ') & ' is selected'

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

This condition is working correctly as per my requirement:


GetSelectedCount(Country)=0 and GetSelectedCount(Sales)=0 in "Hello First Page"