<?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 How to calculate Mode() without 0 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Mode-without-0/m-p/191420#M53501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody&lt;/P&gt;&lt;P&gt;I want to have the mode of a field without 0.&lt;/P&gt;&lt;P&gt;This is an example for what i want to have:&lt;/P&gt;&lt;P&gt;Price:&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;15&lt;/P&gt;&lt;P&gt;16&lt;/P&gt;&lt;P&gt;15&lt;/P&gt;&lt;P&gt;15&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;If i use Mode(price), the result will be 0.&lt;/P&gt;&lt;P&gt;The result that i want will be 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm awaiting for any help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jun 2010 17:57:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-16T17:57:40Z</dc:date>
    <item>
      <title>How to calculate Mode() without 0</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Mode-without-0/m-p/191420#M53501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody&lt;/P&gt;&lt;P&gt;I want to have the mode of a field without 0.&lt;/P&gt;&lt;P&gt;This is an example for what i want to have:&lt;/P&gt;&lt;P&gt;Price:&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;15&lt;/P&gt;&lt;P&gt;16&lt;/P&gt;&lt;P&gt;15&lt;/P&gt;&lt;P&gt;15&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;If i use Mode(price), the result will be 0.&lt;/P&gt;&lt;P&gt;The result that i want will be 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm awaiting for any help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 17:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Mode-without-0/m-p/191420#M53501</guid>
      <dc:creator />
      <dc:date>2010-06-16T17:57:40Z</dc:date>
    </item>
    <item>
      <title>How to calculate Mode() without 0</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Mode-without-0/m-p/191421#M53502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;You could try Mode(if(Price &amp;lt;&amp;gt; 0,Price)), and see if you get the result that you are looking for.&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;P&gt;BizXcel Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 18:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Mode-without-0/m-p/191421#M53502</guid>
      <dc:creator>lblancher</dc:creator>
      <dc:date>2010-06-16T18:35:27Z</dc:date>
    </item>
    <item>
      <title>How to calculate Mode() without 0</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Mode-without-0/m-p/191422#M53503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ifs are nasty memory hogs, and should be avoided if possible, especially on large datasets.&lt;/P&gt;&lt;P&gt;I would use set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;=&lt;BR /&gt;&lt;B&gt;mode&lt;/B&gt;({$&amp;lt;&lt;B&gt;QUANTITY&lt;/B&gt; = -{0}&amp;gt;} &lt;B&gt;QUANTITY&lt;/B&gt;)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 20:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Mode-without-0/m-p/191422#M53503</guid>
      <dc:creator />
      <dc:date>2010-06-16T20:01:57Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: How to calculate Mode() without 0</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Mode-without-0/m-p/191423#M53504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lucas,&lt;/P&gt;&lt;P&gt;I try it and it works.&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 10:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Mode-without-0/m-p/191423#M53504</guid>
      <dc:creator />
      <dc:date>2010-06-17T10:12:48Z</dc:date>
    </item>
  </channel>
</rss>

