<?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: Aggregating Multiple &amp;quot;Yes/No&amp;quot; Fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggregating-Multiple-quot-Yes-No-quot-Fields/m-p/1148301#M20545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create flag to find clients which are Yes for only one product:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;SPAN style="color: #ff0000;"&gt; If(SubStringCount(Apples&amp;amp;'|'&amp;amp;Oranges&amp;amp;'|'&amp;amp;Grapes, 'Yes') = 1, 1, 0) as Flag;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Client, Apples, Oranges, Grapes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A, Yes, Yes, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;B, Yes, No, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C, No, Yes, Yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;D, No, Yes, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use this flag in the set analysis or if statement to anywhere you would want to get only those clients where they have Yes for only one place&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2016 11:13:57 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-26T11:13:57Z</dc:date>
    <item>
      <title>Aggregating Multiple "Yes/No" Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregating-Multiple-quot-Yes-No-quot-Fields/m-p/1148300#M20544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a client list and 3 "Yes/No" Fields indicating whether or not a client has any of three products.&amp;nbsp; For this example, lets say the products are Apples, Oranges, and Grapes.&amp;nbsp; I would like to create a new field (Fruit Customer) indicating only the clients who have at least 1 of the products.&amp;nbsp; I know in Excel this is achievable via If/Or expression, however I cant seem to figure out a Qlik approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 00:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregating-Multiple-quot-Yes-No-quot-Fields/m-p/1148300#M20544</guid>
      <dc:creator />
      <dc:date>2016-05-26T00:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating Multiple "Yes/No" Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregating-Multiple-quot-Yes-No-quot-Fields/m-p/1148301#M20545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create flag to find clients which are Yes for only one product:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;SPAN style="color: #ff0000;"&gt; If(SubStringCount(Apples&amp;amp;'|'&amp;amp;Oranges&amp;amp;'|'&amp;amp;Grapes, 'Yes') = 1, 1, 0) as Flag;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Client, Apples, Oranges, Grapes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A, Yes, Yes, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;B, Yes, No, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C, No, Yes, Yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;D, No, Yes, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use this flag in the set analysis or if statement to anywhere you would want to get only those clients where they have Yes for only one place&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 11:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregating-Multiple-quot-Yes-No-quot-Fields/m-p/1148301#M20545</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T11:13:57Z</dc:date>
    </item>
  </channel>
</rss>

