<?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: how to write set analysis expression in back end in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49742#M8220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use List box as expression and paste the same for filters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2018 13:24:00 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-04-17T13:24:00Z</dc:date>
    <item>
      <title>how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49740#M8218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help on this. How can i write this set analysis expression in backend? &lt;/P&gt;&lt;P&gt;I used this in text object but now need to put a filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Count({&amp;lt;iVMScomm={'Yes'}+{'No'}&amp;gt;}&amp;nbsp; [Vehicle Number]) &amp;lt;= 5, 'Group 1',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Count({&amp;lt;iVMScomm={'Yes'}+{'No'}&amp;gt;}&amp;nbsp; [Vehicle Number]) &amp;lt;= 10, 'Group 2',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Count({&amp;lt;iVMScomm={'Yes'}+{'No'}&amp;gt;}&amp;nbsp;&amp;nbsp; [Vehicle Number]) &amp;lt;= 15, 'Group 3', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Count({&amp;lt;iVMScomm={'Yes'}+{'No'}&amp;gt;}&amp;nbsp; [Vehicle Number]) &amp;lt;= 20, 'Group 4','Group 5')))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49740#M8218</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2018-04-17T13:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49741#M8219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no set analysis in the back end... but you can use if statements....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49741#M8219</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-17T13:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49742#M8220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use List box as expression and paste the same for filters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49742#M8220</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-04-17T13:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49743#M8221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your response Sunny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i use with if condition for same expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49743#M8221</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2018-04-17T13:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49744#M8222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anil,&lt;/P&gt;&lt;P&gt;After build this logic in the backend, i need to build a logic for Rank with in the Group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49744#M8222</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2018-04-17T13:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49745#M8223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you will need to provide more information in order to get a detailed answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49745#M8223</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-17T13:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49746#M8224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the script which includes &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;iVMScomm, [Vehicle Number] ?? Because, When you used Aggregate in If..else.. condition you need Group By in script that part we need to better clear ..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49746#M8224</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-04-17T13:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49747#M8225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure Anil, Will provide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49747#M8225</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2018-04-17T13:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49748#M8226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be good if you share some sample. However, for now I made a sample for you just incorporate accordingly in your actual data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;CountEg:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;iVMScomm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'Yes','No'), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VehicleNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VhiNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;iVMScomm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VehicleNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; CountEg.xlsx&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Sheet1);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;LEFT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;JOIN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(CountEg)&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VehicleNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VhiNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= 5, 'Group 1',&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VhiNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= 10, 'Group 2',&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VhiNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= 15, 'Group 3', &lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VhiNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= 20, 'Group 4','Group 5')))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Grouping&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; CountEg&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VehicleNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached sample excel file for this script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/199902_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49748#M8226</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-04-17T14:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49749#M8227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the script.&lt;/P&gt;&lt;P&gt;Group should be with T1 Data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NRD:&lt;/P&gt;&lt;P&gt; LOAD&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Vehicle Number], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Device Number]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [Non Reporting Details]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join(transafekm)&lt;/P&gt;&lt;P&gt;T1: &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;//ApplyMap('NRD', [Vehicle Number], 'No') as&amp;nbsp; iVMScomm,&lt;/P&gt;&lt;P&gt;//[Carrier Code] &amp;amp;'|'&amp;amp;&amp;nbsp; [Vehicle Number]&amp;nbsp;&amp;nbsp; as Key,&lt;/P&gt;&lt;P&gt;If(Exists([Vehicle Number]), 'No', 'Yes') AS iVMScomm,&lt;/P&gt;&lt;P&gt;[Carrier Code],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Vehicle Number]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [CURRENT FLEET]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join T1&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp; [Carrier Code], &lt;/P&gt;&lt;P&gt;If(Count((iVMScomm='Yes'+'No') ) &amp;lt;= 5, 'Group 1',&lt;/P&gt;&lt;P&gt;If(Count(iVMScomm='Yes'+'No')&amp;lt;= 10, 'Group 2',&lt;/P&gt;&lt;P&gt;If(Count(DISTINCT [Vehicle Number]) &amp;lt;= 15, 'Group 3', If(Count(DISTINCT [Vehicle Number]) &amp;lt;= 20, 'Group 4','Group 5')))) as Group&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Group By [Carrier Code];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49749#M8227</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2018-04-17T14:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49750#M8228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks&amp;nbsp; Viswanath,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;small confusion to do this group for below script. If i do the left join it wont take because that existing table joined with another table. It will give the error. But this Group should be divided based on the T1 table data.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NRD:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Vehicle Number],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; [Device Number]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is [Non Reporting Details]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;join(transafekm)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;T1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//ApplyMap('NRD', [Vehicle Number], 'No') as&amp;nbsp; iVMScomm,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//[Carrier Code] &amp;amp;'|'&amp;amp;&amp;nbsp; [Vehicle Number]&amp;nbsp;&amp;nbsp; as Key,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Exists([Vehicle Number]), 'No', 'Yes') AS iVMScomm,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Carrier Code],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; [Vehicle Number]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is [CURRENT FLEET]);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; -----&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Left Join T1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp; [Carrier Code],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Count((iVMScomm='Yes'+'No') ) &amp;lt;= 5, 'Group 1',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Count(iVMScomm='Yes'+'No')&amp;lt;= 10, 'Group 2',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Count(DISTINCT [Vehicle Number]) &amp;lt;= 15, 'Group 3', If(Count(DISTINCT [Vehicle Number]) &amp;lt;= 20, 'Group 4','Group 5')))) as Group&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident T1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group By [Carrier Code];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 04:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49750#M8228</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2018-04-18T04:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49751#M8229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to do other way then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is just try to join the 3rd table with "NRD" - table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to join the T1 -table and 3rd table then ,store the result table into qvd and the join with "NRD" - table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 04:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49751#M8229</guid>
      <dc:creator>chinnuchinni</dc:creator>
      <dc:date>2018-04-18T04:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis expression in back end</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49752#M8230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this? If this does not work you have to share your whole script to look into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;NRD:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Vehicle Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Device Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;D&gt;&lt;BR /&gt; (&lt;/D&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; [Non Reporting Details]);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(transafekm)&lt;BR /&gt; &lt;BR /&gt; T1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//ApplyMap('NRD', [Vehicle Number], 'No') as iVMScomm,&lt;BR /&gt; //[Carrier Code] &amp;amp;'|'&amp;amp; [Vehicle Number] as Key,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Vehicle Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'No', 'Yes'), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Vehicle Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;iVMScomm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Carrier Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Vehicle Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;D&gt;&lt;BR /&gt; &lt;BR /&gt; (&lt;/D&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; [CURRENT FLEET]);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (transafekm)&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Carrier Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;iVMScomm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= 5, 'Group 1',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;iVMScomm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= 10, 'Group 2',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;iVMScomm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= 15, 'Group 3', &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;iVMScomm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= 20, 'Group 4','Group 5')))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Grouping&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; transafekm&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Carrier Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 13:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis-expression-in-back-end/m-p/49752#M8230</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-04-18T13:31:17Z</dc:date>
    </item>
  </channel>
</rss>

