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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Subfield with Set Analysis

I have a field called PERMISSIONS,

PERMISSIONS

TENNIS|A|B|C

TENNIS|A|B|C|D

TENNIS|A|B|C|D|E


I have 3 rows in PERMISSIONS,

I want to take only the first row, and display the last text from it


in this case, it is C from the first row and display it in the text object


How can i do that ?

It didn't worked..

10 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Yes you can do that.

Create a listbox with an Expression (instead of a Field Name) like:

=SubField(PERMISSIONS, '|', -1)

Subfield with Set Analysis thread276915.jpg

The negative third parameter of SubField() tells the function to start parsing from the end instead of the front of the string.