<?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 Combine flags from different tables as a union in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combine-flags-from-different-tables-as-a-union/m-p/1182596#M627891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've built a set expression in a straight table that combines the results of two flags in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Customer='A',Y,N) as CusFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From CustomerTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(count(CustomerSales&amp;gt;3,Y,N&lt;SPAN style="font-size: 10pt;"&gt;) as CountFlag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From FactTable;&lt;/P&gt;&lt;P&gt;I know the syntax is simplified but hope you get the idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'd like two combine those two flags in the script so that I don't have to build a union expression in set analysis. I'd like to have&lt;/P&gt;&lt;P&gt;a flag that says:&lt;/P&gt;&lt;P&gt;FlagTotal Yes/No in the application where Yes combines the results of CusFlag and CountFlag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2016 14:11:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-26T14:11:21Z</dc:date>
    <item>
      <title>Combine flags from different tables as a union</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-flags-from-different-tables-as-a-union/m-p/1182596#M627891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've built a set expression in a straight table that combines the results of two flags in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Customer='A',Y,N) as CusFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From CustomerTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(count(CustomerSales&amp;gt;3,Y,N&lt;SPAN style="font-size: 10pt;"&gt;) as CountFlag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From FactTable;&lt;/P&gt;&lt;P&gt;I know the syntax is simplified but hope you get the idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'd like two combine those two flags in the script so that I don't have to build a union expression in set analysis. I'd like to have&lt;/P&gt;&lt;P&gt;a flag that says:&lt;/P&gt;&lt;P&gt;FlagTotal Yes/No in the application where Yes combines the results of CusFlag and CountFlag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 14:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-flags-from-different-tables-as-a-union/m-p/1182596#M627891</guid>
      <dc:creator />
      <dc:date>2016-09-26T14:11:21Z</dc:date>
    </item>
  </channel>
</rss>

