<?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: Display only selected items from a subset limited by Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-only-selected-items-from-a-subset-limited-by-Set/m-p/970097#M526526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;got it solved? if not, you can try this..&lt;/P&gt;&lt;P&gt;Create one variable and assign the concat value of your Batch code. Like&lt;/P&gt;&lt;P&gt;Variable&amp;nbsp; :&amp;nbsp; v1&lt;/P&gt;&lt;P&gt;Definition : &lt;STRONG&gt;=Concat(DISTINCT chr(34)&amp;amp;BatchCode&amp;amp;chr(34),',')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression : &lt;STRONG&gt;sum({&amp;lt;BatchCode={$(v1)}&amp;gt;}Revenue)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2015 03:13:01 GMT</pubDate>
    <dc:creator>settu_periasamy</dc:creator>
    <dc:date>2015-11-26T03:13:01Z</dc:date>
    <item>
      <title>Display only selected items from a subset limited by Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-selected-items-from-a-subset-limited-by-Set/m-p/970096#M526525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a list of sales records which are identified via their BatchCode and have created an expression to display them on a BarChart as follows:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;BatchCode={"&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;ABC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;-001","ABG-002","AFG-005","XYZ-135","LMN-142".. }&amp;gt;}Revenue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a List Box object that I use to list specific BatchCodes which I would like to analyze. The expression is as follows:&lt;/P&gt;&lt;P&gt;=Aggr(&lt;/P&gt;&lt;P&gt;if(BatchCode='&lt;SPAN style="font-size: 13.3333px;"&gt;ABC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;-001&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;or BatchCode='&lt;SPAN style="font-size: 13.3333px;"&gt;ABG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;-002&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;or BatchCode='&lt;SPAN style="font-size: 13.3333px;"&gt;AFG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;-005&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;or BatchCode='XYZ&lt;SPAN style="font-size: 10pt;"&gt;-135&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;or BatchCode='&lt;SPAN style="font-size: 13.3333px;"&gt;LMN&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;-142&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;,BatchCode),BatchCode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, all my BatchCodes in the above set will always be shown, regardless of which BatchCodes I select.&lt;/P&gt;&lt;P&gt;I would like to display only BatchCode(s) from this subset &lt;STRONG&gt;which I select&lt;/STRONG&gt;, instead of displaying the entire list of BatchCodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I change my expression to enable this?&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, 24 Nov 2015 07:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-selected-items-from-a-subset-limited-by-Set/m-p/970096#M526525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-24T07:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Display only selected items from a subset limited by Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-selected-items-from-a-subset-limited-by-Set/m-p/970097#M526526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;got it solved? if not, you can try this..&lt;/P&gt;&lt;P&gt;Create one variable and assign the concat value of your Batch code. Like&lt;/P&gt;&lt;P&gt;Variable&amp;nbsp; :&amp;nbsp; v1&lt;/P&gt;&lt;P&gt;Definition : &lt;STRONG&gt;=Concat(DISTINCT chr(34)&amp;amp;BatchCode&amp;amp;chr(34),',')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression : &lt;STRONG&gt;sum({&amp;lt;BatchCode={$(v1)}&amp;gt;}Revenue)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 03:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-selected-items-from-a-subset-limited-by-Set/m-p/970097#M526526</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-11-26T03:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Display only selected items from a subset limited by Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-selected-items-from-a-subset-limited-by-Set/m-p/970098#M526528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create same field in Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;if(wildmatch(BatchCode,'&lt;SPAN style="font-size: 13.33px;"&gt;ABC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;-001&lt;/SPAN&gt;','&lt;SPAN style="font-size: 13.33px;"&gt;ABG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;-002&lt;/SPAN&gt;','&lt;SPAN style="font-size: 13.33px;"&gt;AFG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;-005&lt;/SPAN&gt;'),BatchCode) as New_BatchCode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use above field in Front End list box&lt;/P&gt;&lt;P&gt;Aggr(New_BatchCode,New_BatchCode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Expression you can write&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;BatchCode={"$(=p(New_BatchCode))"}&amp;gt;}Revenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 03:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-selected-items-from-a-subset-limited-by-Set/m-p/970098#M526528</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-11-26T03:40:03Z</dc:date>
    </item>
  </channel>
</rss>

