<?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 Error during representing aggreagte sum by year using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499519#M1125336</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 am trying to achieve, sum of&amp;nbsp; "supplier Liability Amount" year by year, using "Set Analysis". In the expression tab, of a bar chart, I am using this:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;sum({$&amp;lt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Book Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))={'2010','2011'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Supplier Liability Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is showing error, right at the beginning of the curly braces before '2010'. For this, it does not yield any result. Please find the attached, to get the location of error. &lt;BR /&gt;More Info: &lt;BR /&gt;- I am not using any dimension in the dimension tab.&lt;/P&gt;&lt;P&gt;- Book Date, that is used in the set analysis expression is of the format MM/DD/YYYY&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Kindly help me finding where exactly I am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks-&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jan 2014 10:42:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-13T10:42:47Z</dc:date>
    <item>
      <title>Error during representing aggreagte sum by year using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499519#M1125336</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 am trying to achieve, sum of&amp;nbsp; "supplier Liability Amount" year by year, using "Set Analysis". In the expression tab, of a bar chart, I am using this:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;sum({$&amp;lt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Book Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))={'2010','2011'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Supplier Liability Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is showing error, right at the beginning of the curly braces before '2010'. For this, it does not yield any result. Please find the attached, to get the location of error. &lt;BR /&gt;More Info: &lt;BR /&gt;- I am not using any dimension in the dimension tab.&lt;/P&gt;&lt;P&gt;- Book Date, that is used in the set analysis expression is of the format MM/DD/YYYY&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Kindly help me finding where exactly I am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks-&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 10:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499519#M1125336</guid>
      <dc:creator />
      <dc:date>2014-01-13T10:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error during representing aggreagte sum by year using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499520#M1125337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;if you writing year(Date Field) then it will write a 2010 and 2011 etc.........&lt;/P&gt;&lt;P&gt;we cant compare in set analysis,we we can compare in if clause like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if(wildmatch(year(Date Field),'2010','2011'), Measure Field))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;SHAIK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 11:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499520#M1125337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-13T11:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error during representing aggreagte sum by year using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499521#M1125338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to do it in set analysis:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;[Book Date]={'=match(year([Book Date]),2010,2011)'}&amp;gt;} [Supplier Liability Amt])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 14:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499521#M1125338</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-13T14:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error during representing aggreagte sum by year using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499522#M1125339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole. I tried what you said. But that's not working. It is not showing any error, but not giving any result. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 10:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499522#M1125339</guid>
      <dc:creator />
      <dc:date>2014-01-14T10:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error during representing aggreagte sum by year using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499523#M1125340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khadar. It was to be achieved using set analysis. So, today I tried to make an internal table where, while loading I already extracted year from [Book Date]. That way it left me with Year field which I could directly put into the set expression clause. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 10:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499523#M1125340</guid>
      <dc:creator />
      <dc:date>2014-01-14T10:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error during representing aggreagte sum by year using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499524#M1125341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if you are using year field inset analysis we can use directly in set analysis,but you are using data field,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;please share before what ever the expression you are using before.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Shaik&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 14:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499524#M1125341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-14T14:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error during representing aggreagte sum by year using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499525#M1125342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest create a new column in script to store the year book.&lt;/P&gt;&lt;P&gt;You 'll gain performance also.&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 14:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-during-representing-aggreagte-sum-by-year-using-set/m-p/499525#M1125342</guid>
      <dc:creator>bruno_m_santos</dc:creator>
      <dc:date>2014-01-14T14:29:28Z</dc:date>
    </item>
  </channel>
</rss>

