<?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: set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-Analysis/m-p/987298#M336654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({&amp;lt;flag={1}&amp;gt;} Purgechar(sales,'M'))&amp;amp;'M'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Your sales figure is not numeric, better convert them while loading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2015 07:29:21 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2015-11-26T07:29:21Z</dc:date>
    <item>
      <title>set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-Analysis/m-p/987297#M336653</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;how to find country wise sales when flag=1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 07:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Analysis/m-p/987297#M336653</guid>
      <dc:creator />
      <dc:date>2015-11-26T07:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-Analysis/m-p/987298#M336654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({&amp;lt;flag={1}&amp;gt;} Purgechar(sales,'M'))&amp;amp;'M'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Your sales figure is not numeric, better convert them while loading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 07:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Analysis/m-p/987298#M336654</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-11-26T07:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-Analysis/m-p/987299#M336655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make it like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({&amp;lt;flag={'1'}, Country={'*'}&amp;gt;}sales)&lt;/STRONG&gt;&amp;nbsp; //If you are mentioning &lt;SPAN style="font-size: 13.3333px;"&gt;Country={'*'} then both expression like &lt;STRONG style="font-size: 13.3333px;"&gt;=sum({&amp;lt;flag={'1'}&amp;gt;}sales) are same&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;if you want it for a specific country like:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;=sum({&amp;lt;flag={'1'}, Country={'India'}&amp;gt;}sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have checked your data where Sales field is having string values like 30M,40M where sum() will return 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First make sure Sales field shud have value like 30, 60, 70 , &lt;STRONG&gt;mean numeric value then it will work&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 07:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Analysis/m-p/987299#M336655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T07:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-Analysis/m-p/987300#M336656</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;Since your sales field is not in number format therefore you can not sum it&lt;/P&gt;&lt;P&gt;1st you have convert it into number then&lt;/P&gt;&lt;P&gt;try sum({&amp;lt;Flag={1},Country=&amp;gt;}Sales)&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 07:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Analysis/m-p/987300#M336656</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-11-26T07:31:24Z</dc:date>
    </item>
  </channel>
</rss>

