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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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

Labels (1)
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, '|')&')'