<?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: how do i exclude a 0 value within set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758013#M662663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try some thing like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;min&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DT_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=vStart)&amp;lt;=$(=vPrevious)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'*'}-{'0'}&amp;gt;}&amp;nbsp; if( not isnull(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;price),price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2015 10:35:02 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2015-02-20T10:35:02Z</dc:date>
    <item>
      <title>how do i exclude a 0 value within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758010#M662660</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;My requirement is as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date column, when I select a date, from that date I need to consider 52 weeks back and fetch the lowest price .I need to exclude the 0 and display the next lowest value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px; border-collapse: collapse;"&gt; &lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt; &lt;TD height="17" style="border: 0px windowtext; width: 48pt; height: 12.75pt; background-color: transparent;" width="64"&gt;&lt;SPAN style="color: #000000;"&gt;DT_KEY&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px windowtext; width: 48pt; background-color: transparent;" width="64"&gt;&lt;SPAN style="color: #000000;"&gt;Price&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 12.75pt;"&gt; &lt;TD height="17" style="border: 0.5pt solid gainsboro; height: 12.75pt; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;31/12/2014&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: gainsboro gainsboro gainsboro #333333; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;671.65&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 12.75pt;"&gt; &lt;TD height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;31/12/2013&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;200&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 12.75pt;"&gt; &lt;TD height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;31/12/2013&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here if I select the date as 31/12/2014 ,I need to take 52 weeks prior to that and fetch the lowest price.here the lowest price is 0 but I don't want to fetch 0 instead want to fetch the next lowest price i.e 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below I have the statement to fetch values for minimum value ,but the result is fetching as 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DT_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=DT_KEY($(vStart)))&amp;lt;=$(=DT_KEY($(vPrevious)))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;price&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;&lt;SPAN style="font-size: 8pt;"&gt;Please help me to get the right expression to fetch minimum price excluding 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 05:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758010#M662660</guid>
      <dc:creator />
      <dc:date>2015-02-20T05:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: how do i exclude a 0 value within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758011#M662661</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;Like this:&lt;/P&gt;&lt;P&gt;=min({&amp;lt;DT_KEY={"&amp;gt;=$(=vStart)&amp;lt;=$(=vPrevious)"}, price-={0}&amp;gt;} price))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 05:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758011#M662661</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-20T05:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: how do i exclude a 0 value within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758012#M662662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am not getting the result still.i am getting a blank value.&lt;/P&gt;&lt;P&gt;Tried using the below also.but still unable to fetch the minimum value apart from 0.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DT_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=vStart)&amp;lt;=$(=vPrevious)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'*'}-{'0'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 07:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758012#M662662</guid>
      <dc:creator />
      <dc:date>2015-02-20T07:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: how do i exclude a 0 value within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758013#M662663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try some thing like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;min&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DT_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=vStart)&amp;lt;=$(=vPrevious)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'*'}-{'0'}&amp;gt;}&amp;nbsp; if( not isnull(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;price),price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 10:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758013#M662663</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2015-02-20T10:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: how do i exclude a 0 value within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758014#M662664</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 the price will not be negative just say "&amp;gt;0" like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;min&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DT_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=vStart)&amp;lt;=$(=vPrevious)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;STRONG style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;0"&lt;/STRONG&gt;}&amp;gt;}&amp;nbsp; if( not isnull(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;price),price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;Tobias&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 10:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-do-i-exclude-a-0-value-within-set-analysis/m-p/758014#M662664</guid>
      <dc:creator>tobias_klett</dc:creator>
      <dc:date>2015-02-20T10:41:58Z</dc:date>
    </item>
  </channel>
</rss>

