<?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: A very challenging requirement  using   set analysis ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/A-very-challenging-requirement-using-set-analysis/m-p/275432#M1183546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swarup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample file which I hope provides you with a solution - the chart highlighted in "blue" in the bottom right reflects the correct results &amp;amp; total per my understanding of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression I used for the TotalDonations is as follows:&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;indacctno -= {"= Match (left (indacctno,1), '0')"}, campaigntype={'Empl'}&amp;gt;} totaldonation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For others who may read this post please note how 'value' must be surrounded by {} when used in a set expression e.g. {'Empl'}&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;BUT&lt;/STRONG&gt; not if the 'value' is used inside a double-quote "statement..." e.g. "= ....., '0')" per above. There are no {} around the '0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2011 11:49:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-27T11:49:59Z</dc:date>
    <item>
      <title>A very challenging requirement  using   set analysis ?</title>
      <link>https://community.qlik.com/t5/QlikView/A-very-challenging-requirement-using-set-analysis/m-p/275431#M1183545</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;i have a requirement , where i have to write a set expression with the requirments given below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;i have to find the sum of donations by employee ,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;&amp;nbsp; - with distinct account numbers&amp;nbsp; ( field name is&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; indacctno)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt; - exclude account number starting with zero&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;- where totaldonation &amp;gt; 0 ( field name is totaldonation ) in a year ( year is a field)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is what i have written , now i have to implement the above requiremnts in the expression given below .&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;sum ({$&amp;lt;CAMPAIGNTYPE ={'Empl'}&amp;gt;} DCDetails.TOTALDONATION)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Swarup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 20:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-very-challenging-requirement-using-set-analysis/m-p/275431#M1183545</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2011-10-25T20:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: A very challenging requirement  using   set analysis ?</title>
      <link>https://community.qlik.com/t5/QlikView/A-very-challenging-requirement-using-set-analysis/m-p/275432#M1183546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swarup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample file which I hope provides you with a solution - the chart highlighted in "blue" in the bottom right reflects the correct results &amp;amp; total per my understanding of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression I used for the TotalDonations is as follows:&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;indacctno -= {"= Match (left (indacctno,1), '0')"}, campaigntype={'Empl'}&amp;gt;} totaldonation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For others who may read this post please note how 'value' must be surrounded by {} when used in a set expression e.g. {'Empl'}&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;BUT&lt;/STRONG&gt; not if the 'value' is used inside a double-quote "statement..." e.g. "= ....., '0')" per above. There are no {} around the '0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 11:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-very-challenging-requirement-using-set-analysis/m-p/275432#M1183546</guid>
      <dc:creator />
      <dc:date>2011-10-27T11:49:59Z</dc:date>
    </item>
    <item>
      <title>A very challenging requirement  using   set analysis ?</title>
      <link>https://community.qlik.com/t5/QlikView/A-very-challenging-requirement-using-set-analysis/m-p/275433#M1183547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for helping me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Swarup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 14:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-very-challenging-requirement-using-set-analysis/m-p/275433#M1183547</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2011-10-27T14:16:47Z</dc:date>
    </item>
  </channel>
</rss>

