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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Field Triggers

Hi,

I have two fields connect by triggers OnSelect and OnChange:

Action: "Select Field" - DIM_A

Search String: ='("'&concat(DISTINCT DIM_B, '"|"')&'")'

I works fine except when there is no field selection on DIM_A, all DIM_B options became selected, and I don´t want that to happen..


Thanks is advance,


Francisco

1 Solution

Accepted Solutions
Not applicable
Author

I found the solution:

=if(GetSelectedCount(DIM_A)<>0,'("'&concat(DISTINCT DIM_B, '"|"')&'")')

Thanks any way...

View solution in original post

2 Replies
Not applicable
Author

I found the solution:

=if(GetSelectedCount(DIM_A)<>0,'("'&concat(DISTINCT DIM_B, '"|"')&'")')

Thanks any way...

MK_QSL
MVP
MVP

Try

='('&concat(DISTINCT DIM_B, '|')&')'