<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Separating custom variable input in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Separating-custom-variable-input/m-p/86624#M5747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your fast answer, Marcus! That worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2018 15:39:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-04T15:39:46Z</dc:date>
    <item>
      <title>Separating custom variable input</title>
      <link>https://community.qlik.com/t5/App-Development/Separating-custom-variable-input/m-p/86622#M5745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom variable "questionnaire" which tracks the following user's examplary inputs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;Yes&lt;/STRONG&gt; (explanation XYZIAHDFHFJ) | &lt;STRONG&gt;Yes&lt;/STRONG&gt; (explanation JWKFN)| &lt;STRONG&gt;No&lt;/STRONG&gt; (explanation ADKFJ)". The user can answer with Yes or No and has to provide some explanation, which is then in my variable directly attached to their answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would now like to count all those users who &lt;SPAN style="text-decoration: underline;"&gt;never answered with no&lt;/SPAN&gt; - or in other words: &lt;SPAN style="text-decoration: underline;"&gt;who always have a yes&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;The problem: the explanation part written in brackets can range from one character to many characters, dependig on the users' input. This makes it so difficult to separate the multiple Yes. "left(questionnare,2) = 'Yes'" does not work, as I never know how long the explanation part is going to be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to solve this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you very much in advance for your help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 09:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Separating-custom-variable-input/m-p/86622#M5745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-03T09:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Separating custom variable input</title>
      <link>https://community.qlik.com/t5/App-Development/Separating-custom-variable-input/m-p/86623#M5746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your data-source looks like in your example you could split the various answers in separate columns, for example with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; recno() as RecNo, iterno() as IterNo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trim(subfield(subfield(questionnaire, '|', iterno()), '(', 1)) as Answer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textbetween(subfield(questionnaire, '|', iterno()), '(', ')')) as Explanation&lt;/P&gt;&lt;P&gt;from Source while iterno() &amp;lt;= substringcount(questionnaire, '|') + 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that you could just make a count over your Answer column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:12:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Separating-custom-variable-input/m-p/86623#M5746</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-09-03T14:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Separating custom variable input</title>
      <link>https://community.qlik.com/t5/App-Development/Separating-custom-variable-input/m-p/86624#M5747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your fast answer, Marcus! That worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 15:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Separating-custom-variable-input/m-p/86624#M5747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-04T15:39:46Z</dc:date>
    </item>
  </channel>
</rss>

