<?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: Concat() with SetAnlaysis and include Blankvalues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concat-with-SetAnlaysis-and-include-Blankvalues/m-p/2476760#M1226016</link>
    <description>&lt;P&gt;Something like this may be -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SET DateFormat='DD/MM/YYYY';&lt;BR /&gt;[Table1]:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;PurchaseNo,SalesNo,LinkNo,ReceiptNo,Amount, EndDate, Startdate&lt;BR /&gt;4156,TS12,PRI108,123,200,'21/08/2024','01/08/2024'&lt;BR /&gt;4156,TS13,PRI101,143,300,'21/08/2024','01/08/2024'&lt;BR /&gt;4156,TS14,PRI104,53,300,'21/08/2024','01/08/2024'&lt;BR /&gt;4823,TS234,PRI100,454,400,'21/08/2024','01/08/2024'&lt;BR /&gt;4156,TS15,PRI106,443,300,'02/08/2024','01/08/2024'&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Left Join ([Table1])&lt;BR /&gt;Load PurchaseNo,&lt;BR /&gt;Concat(LinkNo,',',ReceiptNo) as LinkConcatNo&lt;BR /&gt;Resident [Table1]&lt;BR /&gt;group by PurchaseNo;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expression for&amp;nbsp;&lt;SPAN&gt;ActiveReceipt&amp;nbsp; -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;concat(aggr(if(Startdate &amp;lt;= today() and EndDate &amp;gt;= today(),ReceiptNo,'-'),LinkNo,ReceiptNo),',',ReceiptNo)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Digvijay_Singh_0-1724055071100.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170728i61619289563E818F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Digvijay_Singh_0-1724055071100.png" alt="Digvijay_Singh_0-1724055071100.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2024 08:11:30 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2024-08-19T08:11:30Z</dc:date>
    <item>
      <title>Concat() with SetAnlaysis and include Blankvalues</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-with-SetAnlaysis-and-include-Blankvalues/m-p/2475866#M1226005</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;BR /&gt;Someone help me with below concat set analaysis chart expression.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Load Script&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;SET DateFormat='DD/MM/YYYY';&lt;BR /&gt;[Table1]:&lt;BR /&gt;Load * Inline[&lt;BR /&gt;PurchaseNo,SalesNo,LinkNo,ReceiptNo,Amount, EndDate, Startdate&lt;BR /&gt;4156,TS12,PRI108,123,200,'21/08/2024','01/08/2024'&lt;BR /&gt;4156,TS13,PRI101,143,300,'21/08/2024','01/08/2024'&lt;BR /&gt;4156,TS14,PRI104,53,300,'21/08/2024','01/08/2024'&lt;BR /&gt;4823,TS234,PRI100,454,400,'21/08/2024','01/08/2024'&lt;BR /&gt;4156,TS15,PRI106,443,300,'02/08/2024','01/08/2024' &lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Left Join ([Table1])&lt;BR /&gt;Load PurchaseNo,&lt;BR /&gt;Concat(LinkNo,',') as LinkConcatNo&lt;BR /&gt;Resident [Table1]&lt;BR /&gt;group by PurchaseNo;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created a straight table with PurchaseNo , LinkConcatNo,ActiveReceipts,ActiveReceiptAmount&lt;/P&gt;
&lt;P&gt;ActiveReceipts&amp;nbsp;=Aggr(concat({&amp;lt;[Enddate] = {"&amp;gt;=$(=date(Today()))"} ,&lt;SPAN&gt;&amp;nbsp;[StartDate] = {"&amp;lt;=$(=date(Today()))"}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;}&amp;nbsp; &amp;nbsp; ReceiptNo,',',LinkNo)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;,PurchaseNo&amp;nbsp;&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;but the above expression returns null.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output expected :&lt;/P&gt;
&lt;P&gt;ActiveReceipts&amp;nbsp;order should match with&amp;nbsp;LinkConcatNo and if no&amp;nbsp;ActiveReceipts for that purchase should return as '-' (concat shouldnot skip the null ones).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;LinkNo order and ActiveReceipt order should be same order.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;PurchaseNo&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;LinkConcatNo&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;Active Receipts&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;4156&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;PRI101,PRI104,PRI106,PRI108&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;143,53,-,123&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Mon, 12 Aug 2024 16:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-with-SetAnlaysis-and-include-Blankvalues/m-p/2475866#M1226005</guid>
      <dc:creator>Lakshmanan</dc:creator>
      <dc:date>2024-08-12T16:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Concat() with SetAnlaysis and include Blankvalues</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-with-SetAnlaysis-and-include-Blankvalues/m-p/2476760#M1226016</link>
      <description>&lt;P&gt;Something like this may be -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SET DateFormat='DD/MM/YYYY';&lt;BR /&gt;[Table1]:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;PurchaseNo,SalesNo,LinkNo,ReceiptNo,Amount, EndDate, Startdate&lt;BR /&gt;4156,TS12,PRI108,123,200,'21/08/2024','01/08/2024'&lt;BR /&gt;4156,TS13,PRI101,143,300,'21/08/2024','01/08/2024'&lt;BR /&gt;4156,TS14,PRI104,53,300,'21/08/2024','01/08/2024'&lt;BR /&gt;4823,TS234,PRI100,454,400,'21/08/2024','01/08/2024'&lt;BR /&gt;4156,TS15,PRI106,443,300,'02/08/2024','01/08/2024'&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Left Join ([Table1])&lt;BR /&gt;Load PurchaseNo,&lt;BR /&gt;Concat(LinkNo,',',ReceiptNo) as LinkConcatNo&lt;BR /&gt;Resident [Table1]&lt;BR /&gt;group by PurchaseNo;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expression for&amp;nbsp;&lt;SPAN&gt;ActiveReceipt&amp;nbsp; -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;concat(aggr(if(Startdate &amp;lt;= today() and EndDate &amp;gt;= today(),ReceiptNo,'-'),LinkNo,ReceiptNo),',',ReceiptNo)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Digvijay_Singh_0-1724055071100.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170728i61619289563E818F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Digvijay_Singh_0-1724055071100.png" alt="Digvijay_Singh_0-1724055071100.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 08:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-with-SetAnlaysis-and-include-Blankvalues/m-p/2476760#M1226016</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2024-08-19T08:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Concat() with SetAnlaysis and include Blankvalues</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-with-SetAnlaysis-and-include-Blankvalues/m-p/2477467#M1226023</link>
      <description>&lt;P&gt;Thanks ,it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 09:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-with-SetAnlaysis-and-include-Blankvalues/m-p/2477467#M1226023</guid>
      <dc:creator>Lakshmanan</dc:creator>
      <dc:date>2024-08-22T09:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Concat() with SetAnlaysis and include Blankvalues</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-with-SetAnlaysis-and-include-Blankvalues/m-p/2487690#M1226193</link>
      <description>&lt;P&gt;Superb, very helpful solution!!!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-with-SetAnlaysis-and-include-Blankvalues/m-p/2487690#M1226193</guid>
      <dc:creator>seanbruton</dc:creator>
      <dc:date>2024-10-17T15:03:06Z</dc:date>
    </item>
  </channel>
</rss>

