<?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: Expression result based on two dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617318#M227527</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;If you want set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;[MaxValue]={"&amp;gt;=$(=only([Value]))"},[MinValue]={"&amp;lt;=$(=only([Value]))"}&amp;gt;}[Multiplier])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 04:34:53 GMT</pubDate>
    <dc:creator>bgerchikov</dc:creator>
    <dc:date>2014-03-10T04:34:53Z</dc:date>
    <item>
      <title>Expression result based on two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617310#M227519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble with getting an appropriate result with this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table loaded with Selector, MinValue, MaxValue and Multiplier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for an expression (set is my current slant) that will show me the Multiplier for a matched Selector (this is my key field), with value between the MinValue and MaxValue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This one, doesn't work...it gives a total of all results in the Multiplier field, not the specific one that matches the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;[MinValue]={"&amp;gt;=$(=[Value])"},[MaxValue]={"&amp;lt;=$(=[Value])"}&amp;gt;}[Multiplier)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried Only, however I get no result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help please??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2014 23:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617310#M227519</guid>
      <dc:creator />
      <dc:date>2014-03-09T23:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Expression result based on two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617311#M227520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to post a QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 00:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617311#M227520</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-03-10T00:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression result based on two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617312#M227521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid not...I have had to rename fields due to sensitivity as it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 00:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617312#M227521</guid>
      <dc:creator />
      <dc:date>2014-03-10T00:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Expression result based on two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617313#M227522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be easier to comprehend with an example (with a mock data set).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 01:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617313#M227522</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2014-03-10T01:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expression result based on two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617314#M227523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Value of 3&lt;/P&gt;&lt;P&gt;Selector&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Multiplier&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using the table above, 3 is greater then 1 and less than 5 so the Multiplier should be 15&lt;/P&gt;&lt;P&gt;if the value was 7, then the multiplier should be 30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 01:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617314#M227523</guid>
      <dc:creator />
      <dc:date>2014-03-10T01:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Expression result based on two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617315#M227524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know the reason you are going for set analysis, but you can use an if statement as well, something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sum(if(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MinValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Multiplier&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;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Jyotsna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 03:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617315#M227524</guid>
      <dc:creator />
      <dc:date>2014-03-10T03:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expression result based on two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617316#M227525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jyotsna, this has worked!!&amp;nbsp; I was over-complicating things it seems!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 04:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617316#M227525</guid>
      <dc:creator />
      <dc:date>2014-03-10T04:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Expression result based on two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617317#M227526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change your expression as below.Have a look at attached QVW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Min = {'&amp;lt;=$(=$(Value))'},Max = {'&amp;gt;=$(=$(Value))'}&amp;gt;}Multiplier)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="multiplier.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/54603_multiplier.jpg" style="width: 620px; height: 393px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 04:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617317#M227526</guid>
      <dc:creator>chiru_thota</dc:creator>
      <dc:date>2014-03-10T04:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Expression result based on two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617318#M227527</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;If you want set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;[MaxValue]={"&amp;gt;=$(=only([Value]))"},[MinValue]={"&amp;lt;=$(=only([Value]))"}&amp;gt;}[Multiplier])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 04:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-result-based-on-two-dimensions/m-p/617318#M227527</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2014-03-10T04:34:53Z</dc:date>
    </item>
  </channel>
</rss>

