Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
samuel_brierley
Creator
Creator

only function inside set analysis

hi all,

first of all thanks for any help.

im just wondering if its possible to use only inside set analysis, normally i use variables in the script but the only function inside the chart would be faster as i need to use multiple if statements to choose the correct variable.

anyway below is an example of one im trying, id be very greatful if someone could get it in the correct suntax.

thanks

count(ArbitrationInput.Group.rOOk = {"=ArbitrationInput.Group.rOOk < only( {$< [/rec/parameter] = {'rFf'},[/#text] = {'CommonParameters'}>}[/rec/parameter/curval]) "} >} ArbitrationInput.Group.rOOk)

thanks

2 Replies
samuel_brierley
Creator
Creator
Author

Hi all ive found some documentation that says the syntax is as below however that doesnt work either??

count({$<ArbitrationInput.Group.rOOk = {$(# < only( {$< [/rec/parameter] = {'rFf'},[/#text] = {'CommonParameters'}>}[/rec/parameter/curval])}>}ArbitrationInput.Group.rOOk )

FYI I have checked that the only statement does work.

thanks

morganaaron
Specialist
Specialist

Hi Sam,

There seems to be at least one set statement that hasn't been closed, and a few brackets in seemingly the wrong places . Can you explain what you're trying to do with the statement?