<?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 Union operator '+' is not giving expected result in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Union-operator-is-not-giving-expected-result/m-p/2138742#M92549</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I need a solution for the below query,&lt;BR /&gt;Assume I have an incident INC001, which has reopencount, opened by and affected user&lt;/P&gt;
&lt;P&gt;Now, I need the incidents with the below condition&lt;BR /&gt;reopencount -&amp;gt; 0&lt;BR /&gt;Opened by -&amp;gt; manager -&amp;gt; Rahul&lt;BR /&gt;Affected User -&amp;gt; affiliate -&amp;gt; XXX&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I have an incident INC001, which mets the condition,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=COUNT({&amp;lt;REOPEN_COUNT ={'0'},&lt;BR /&gt;USER_FLAG={'SUBMITTED'}, &lt;BR /&gt;USER_Manager={'Rahul'}&lt;BR /&gt;&amp;gt;+&lt;BR /&gt;&amp;lt;REOPEN_COUNT ={'0'},&lt;BR /&gt;USER_FLAG = {'REQUESTED'},&lt;BR /&gt;USER_AFFILIATE={'XXX'}&lt;BR /&gt;&amp;gt;} [TICKET ID])&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;when I run the above set separately, I am getting 1 each, but when I run both with '+' operator, I am getting 0.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Could anyone help me identify what mistake I am doing.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: ticket table is connected with the user table using a link table which has 'User_flag'&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2023 10:04:24 GMT</pubDate>
    <dc:creator>MadhumithaP</dc:creator>
    <dc:date>2023-11-17T10:04:24Z</dc:date>
    <item>
      <title>Union operator '+' is not giving expected result</title>
      <link>https://community.qlik.com/t5/App-Development/Union-operator-is-not-giving-expected-result/m-p/2138742#M92549</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I need a solution for the below query,&lt;BR /&gt;Assume I have an incident INC001, which has reopencount, opened by and affected user&lt;/P&gt;
&lt;P&gt;Now, I need the incidents with the below condition&lt;BR /&gt;reopencount -&amp;gt; 0&lt;BR /&gt;Opened by -&amp;gt; manager -&amp;gt; Rahul&lt;BR /&gt;Affected User -&amp;gt; affiliate -&amp;gt; XXX&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I have an incident INC001, which mets the condition,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=COUNT({&amp;lt;REOPEN_COUNT ={'0'},&lt;BR /&gt;USER_FLAG={'SUBMITTED'}, &lt;BR /&gt;USER_Manager={'Rahul'}&lt;BR /&gt;&amp;gt;+&lt;BR /&gt;&amp;lt;REOPEN_COUNT ={'0'},&lt;BR /&gt;USER_FLAG = {'REQUESTED'},&lt;BR /&gt;USER_AFFILIATE={'XXX'}&lt;BR /&gt;&amp;gt;} [TICKET ID])&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;when I run the above set separately, I am getting 1 each, but when I run both with '+' operator, I am getting 0.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Could anyone help me identify what mistake I am doing.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: ticket table is connected with the user table using a link table which has 'User_flag'&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 10:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Union-operator-is-not-giving-expected-result/m-p/2138742#M92549</guid>
      <dc:creator>MadhumithaP</dc:creator>
      <dc:date>2023-11-17T10:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Union operator '+' is not giving expected result</title>
      <link>https://community.qlik.com/t5/App-Development/Union-operator-is-not-giving-expected-result/m-p/2141262#M92815</link>
      <description>&lt;P&gt;Count({&lt;SPAN&gt;&amp;lt;REOPEN_COUNT ={'0'},&lt;/SPAN&gt;&lt;SPAN&gt;USER_FLAG={'SUBMITTED'},&lt;/SPAN&gt;&lt;SPAN&gt;USER_Manager={'Rahul'}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;}[Ticket ID])&lt;/P&gt;
&lt;P&gt;+&lt;/P&gt;
&lt;P&gt;Count({&lt;SPAN&gt;&amp;lt;REOPEN_COUNT ={'0'},&lt;/SPAN&gt;&lt;SPAN&gt;USER_FLAG={'REQUESTED'},USER_AFFILIATE={'XXX'}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;}[Ticket ID])&lt;/P&gt;
&lt;P&gt;Could you please try this expression?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2023 11:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Union-operator-is-not-giving-expected-result/m-p/2141262#M92815</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2023-11-25T11:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Union operator '+' is not giving expected result</title>
      <link>https://community.qlik.com/t5/App-Development/Union-operator-is-not-giving-expected-result/m-p/2141537#M92838</link>
      <description>&lt;P&gt;The expression itself seems to be correct which hints for an issue with your data(-quality) and/or the associations. I suggest to create a table-box with the used 5 fields and then try to select the applied values to the relevant fields - on top of your base selection-state. If you couldn't get there the wanted rows you wouldn't get them with the set analysis.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 11:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Union-operator-is-not-giving-expected-result/m-p/2141537#M92838</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-11-27T11:52:47Z</dc:date>
    </item>
  </channel>
</rss>

