Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
In QlikView we can create a trigger with selections in a field by separating the values with a pipe, like this:
cars|trains|planes
In Qlik Sense I tried this by creating the list in the script and use a comma , as is shown if you use getfieldselections(fieldname). That does not work. Pipe | does not work either.
Is this possible?
Comma and Pipe both seem to work fine on my end, but your list is missing the required single-quotes or parenthesis for it to work.
'cars'|'trains'|'planes' should work, as should (cars|trains|planes). The latter is listed in the search cheat sheet - https://webapps.qlik.com/search-cheat-sheet/Qlik+Sense+Search+Cheat+Sheet+en-US.pdf
Comma and Pipe both seem to work fine on my end, but your list is missing the required single-quotes or parenthesis for it to work.
'cars'|'trains'|'planes' should work, as should (cars|trains|planes). The latter is listed in the search cheat sheet - https://webapps.qlik.com/search-cheat-sheet/Qlik+Sense+Search+Cheat+Sheet+en-US.pdf
Thanks for the cheat sheet. Didn't known about this sheet. I get the selection working with text like versions. And with single years. Not with ranges yet but I will get there.