Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

Index Function

JSON value has several parts that I need to grab just one, AnswerText (AT).


AT contains a value that I have grabbed easily for another function, but for this in particular, I have done a subfield, replace, mid, and index but am not finding the right part I need. 


AT can have three values: "Online", "In Person", and "Friend, Family, someone else"

With the above function, I am only grabbing the first value before the comma which removes the ", Family, someone else" of that AT value.

Can anyone help with being able to grab that whole part: "Friend, Family, someone else"?

Help me Obi-Wan Kenobi, you're my only hope

Everything not saved will be lost
— Nintendo Quit screen message
1 Reply

How about

If(Index(AT, 'AnswerText (AT)'), AT) as AT

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)