<?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 Positive value works, but not negative values does not work in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360831#M493256</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 did that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;=Num(Min({&amp;lt;[Sector] = {'Equity'}&amp;gt;} MarketValue)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;I get a Value for this and i checked whether there exists an InstrumentDescription for this value,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;The expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;Minstring({&amp;lt; MarketValue = {$(=Num(Min({&amp;lt;[Sector] = {'Equity'}&amp;gt;} MarketValue)))} &amp;gt;} [InstrumentDescription])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;it does &lt;/STRONG&gt;return a value when the minimum is positive however when the value is negative I get nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Sorry forgot to add that in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Kind Regards&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Razak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2012 13:27:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-21T13:27:49Z</dc:date>
    <item>
      <title>Positive value works, but not negative values does not work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360827#M493252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;I have the following expression, it gives me the description of the Instrument with the highest Marketvalue,which works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;Minstring({&amp;lt; MarketValue = {$(=Num(Max({&amp;lt;[Sector] = {'Equity'}&amp;gt;} MarketValue)))} &amp;gt;} [InstrumentDescription])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;However, when I try this to get the Instrument with the lowest MarketValue I get nothing returned, Iuse the below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;Minstring({&amp;lt; MarketValue = {$(=Num(Min({&amp;lt;[Sector] = {'Equity'}&amp;gt;} MarketValue)))} &amp;gt;} [InstrumentDescription])&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Any help is appreciated....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Regards&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Razak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 12:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360827#M493252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-21T12:29:26Z</dc:date>
    </item>
    <item>
      <title>Positive value works, but not negative values does not work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360828#M493253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you mean to switch [Sector] with [AssetClass]?&amp;nbsp; If so, what are the dimensions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 12:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360828#M493253</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-05-21T12:37:01Z</dc:date>
    </item>
    <item>
      <title>Positive value works, but not negative values does not work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360829#M493254</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 using this expression in a text box object, and both are suppose to be Sector, I have edited the above post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 12:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360829#M493254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-21T12:39:24Z</dc:date>
    </item>
    <item>
      <title>Positive value works, but not negative values does not work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360830#M493255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you tell us a bit more about your data model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried putting&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(Min({&amp;lt;[Sector] = {'Equity'}&amp;gt;} MarketValue))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a text box and then selecting this value in field MarketValue and check the possible values of InstrumentDescription?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360830#M493255</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-21T13:02:40Z</dc:date>
    </item>
    <item>
      <title>Positive value works, but not negative values does not work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360831#M493256</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 did that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;=Num(Min({&amp;lt;[Sector] = {'Equity'}&amp;gt;} MarketValue)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;I get a Value for this and i checked whether there exists an InstrumentDescription for this value,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;The expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;Minstring({&amp;lt; MarketValue = {$(=Num(Min({&amp;lt;[Sector] = {'Equity'}&amp;gt;} MarketValue)))} &amp;gt;} [InstrumentDescription])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;it does &lt;/STRONG&gt;return a value when the minimum is positive however when the value is negative I get nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Sorry forgot to add that in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Kind Regards&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Razak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360831#M493256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-21T13:27:49Z</dc:date>
    </item>
    <item>
      <title>Positive value works, but not negative values does not work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360832#M493257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that your issue is a formatting issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your standard numerical format? Do you have decimals in your numbers?&lt;/P&gt;&lt;P&gt;Have you tried enclosing the dollar sign expansion into single quotes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post a small sample QV file here to the forum?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 14:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360832#M493257</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-21T14:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Positive value works, but not negative values does not work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360833#M493258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please see attachment, the red textbox is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Razak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 07:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360833#M493258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-22T07:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Positive value works, but not negative values does not work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360834#M493259</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;Use this expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Minstring({&amp;lt; Value ={'$(=Num(Min({&amp;lt;[AssetClass] = {'Equity'}&amp;gt;} Value)))'} &amp;gt;} Distinct [Security])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Perumal&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 07:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360834#M493259</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2012-05-22T07:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Positive value works, but not negative values does not work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360835#M493260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 07:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-value-works-but-not-negative-values-does-not-work-in/m-p/360835#M493260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-22T07:33:41Z</dc:date>
    </item>
  </channel>
</rss>

