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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with condotions?

Hi,

I have a requirement where an text box should appear up on different selections in a filed. For exaple

Sales:

load * Inline

[Name,Sales

Bob,100

John,112

Sam,113,

Richard,200];

a text box should appear only up on selection of Bob and John and other should appear only when we select John and Sam etc for the different combinations.

I used =SubStringCount(concat(Name,'|'),'Bob|John')  but its working only for one combination.

Please post your ideas on this.

Thanks

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

This condition should work for you:

=Concat(DISTINCT Region, '|') = 'EMEA|NAM'

View solution in original post

5 Replies
swuehl
Champion III
Champion III

Maybe like

=concat(Name,'|') = 'Bob|John'

sunny_talwar
MVP
MVP

Try with this as your condition on Layout tab:

=SubStringCount(GetFieldSelections(Name), 'Bob') = 1 and

SubStringCount(GetFieldSelections(Name), 'John') = 1

Not applicable
Author

Thanks for the reply.

But for my original requirement when user sleet NA and EMEA, a text box should appear across the map covering both NA and EMEA. and when user select EMEA and APAC a text box should cover both regions.

I uses your function but its not working. Can you please look in to attached QVW?

sunny_talwar
MVP
MVP

This condition should work for you:

=Concat(DISTINCT Region, '|') = 'EMEA|NAM'

Not applicable
Author

It works

Thank you