<?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: sum of integer dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-of-integer-dimension/m-p/442337#M1162921</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; Thats bug in expression tab. but its shows expression ok on the expression tab. And give the result as you expected..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps to understand it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2012 20:20:16 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2012-11-19T20:20:16Z</dc:date>
    <item>
      <title>sum of integer dimension</title>
      <link>https://community.qlik.com/t5/QlikView/sum-of-integer-dimension/m-p/442334#M1162915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had below mention expression in my earlier post and I was able to produce the result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;sum(aggr(sum({&amp;lt;[Item Type] = {"D"}&amp;gt;}DocDiscount) * num(Sum({&amp;lt;[Item Type] = {"D"}&amp;gt;}[Sales Price]) / Sum({&amp;lt;[Item Type] = {"D"}&amp;gt;} total&amp;lt;LocationCode&amp;gt; [Sales Price]),'#.##0.00%'),Tran_Year,Tran_Month,VoucherNo, LocationCode,Stock_Code))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;But now In my another report I need to replace varchar dimenstion with below integer dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;discount &amp;lt;&amp;gt; 0 AND PCS &amp;gt; 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I tryied to but I get error after &amp;lt;&amp;gt; sign &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So anyone look into that and tell me what is wrong and how to form new expression with above mention condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;STRONG style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 18:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-of-integer-dimension/m-p/442334#M1162915</guid>
      <dc:creator />
      <dc:date>2012-11-16T18:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: sum of integer dimension</title>
      <link>https://community.qlik.com/t5/QlikView/sum-of-integer-dimension/m-p/442335#M1162916</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;&lt;/P&gt;&lt;P&gt; Where u using&amp;nbsp; discount &amp;lt;&amp;gt; 0 , in if condition or set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,if set analysis means, use like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;discount -={0},Pcs = {'&amp;gt;1'} &amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 20:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-of-integer-dimension/m-p/442335#M1162916</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-16T20:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: sum of integer dimension</title>
      <link>https://community.qlik.com/t5/QlikView/sum-of-integer-dimension/m-p/442336#M1162918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still I am getting RED underline (error) start from {0}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 17:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-of-integer-dimension/m-p/442336#M1162918</guid>
      <dc:creator />
      <dc:date>2012-11-19T17:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: sum of integer dimension</title>
      <link>https://community.qlik.com/t5/QlikView/sum-of-integer-dimension/m-p/442337#M1162921</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; Thats bug in expression tab. but its shows expression ok on the expression tab. And give the result as you expected..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps to understand it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 20:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-of-integer-dimension/m-p/442337#M1162921</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-19T20:20:16Z</dc:date>
    </item>
  </channel>
</rss>

