<?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: Selecting a value based on different field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415396#M1153427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Janzen for the response, unfortunately its still not returning anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strangely if i add another variable like: =if(Name = 'Price', &lt;EM&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/EM&gt;, sum(Value)) it returns results but the problem is that it is picking the wrong values (looks like its picking the first figure it encounters even though it is not a Price.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2013 08:14:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-03T08:14:34Z</dc:date>
    <item>
      <title>Selecting a value based on different field</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415394#M1153425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is based on the sample table below. I would like to sum up the figures in column 'Value' (Blue) ONLY IF the text in column 'Name' reads 'Price' (Red). Please assist. I tried the following but i am not getting it right: "IF(Name like '%Price%', SUM({$}&amp;nbsp; DISTINCT Value), value=0)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 742px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="99"&gt;TicketNumber&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="99"&gt;ParameterId&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="82"&gt;AccNumber&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="121"&gt;TicketCenter&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="116"&gt;TicketType&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="82"&gt;TicketGroup&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="87"&gt;Name&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="56"&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T182268&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A147&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installations&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Instal&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installation&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Price&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #0000ff;"&gt;499&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T182268&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A147&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installations&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Instal&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Engineer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Steve&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T182268&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A147&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installations&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Instal&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;ProductId&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;501&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T182268&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A147&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installations&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Instal&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Username&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;adsl&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T182268&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A147&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installations&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Instal&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;BillingPeriod&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T182377&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;112&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A368&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Stock Allocation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Instal&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installation&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Price&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #0000ff;"&gt;2356.38&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T182377&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;113&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A368&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Stock Allocation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Instal&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Engineer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T182377&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;114&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A368&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Stock Allocation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Instal&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;ProductId&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;268&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T182377&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;115&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A368&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Stock Allocation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Instal&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Username&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;adsl2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T182377&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;116&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A368&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Stock Allocation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Instal&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Installation&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;BillingPeriod&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T227681&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;221&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A19&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer Support&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer Service&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Support&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Engineer&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Andrew&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;T227681&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;223&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A19&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer Support&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer Service&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Support&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Username&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;home&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roots&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 21:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415394#M1153425</guid>
      <dc:creator />
      <dc:date>2013-04-02T21:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting a value based on different field</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415395#M1153426</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;You can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Name = 'Price',sum(Value))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janzen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 02:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415395#M1153426</guid>
      <dc:creator />
      <dc:date>2013-04-03T02:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting a value based on different field</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415396#M1153427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Janzen for the response, unfortunately its still not returning anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strangely if i add another variable like: =if(Name = 'Price', &lt;EM&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/EM&gt;, sum(Value)) it returns results but the problem is that it is picking the wrong values (looks like its picking the first figure it encounters even though it is not a Price.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 08:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415396#M1153427</guid>
      <dc:creator />
      <dc:date>2013-04-03T08:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting a value based on different field</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415397#M1153428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try sum({&amp;lt;Name={'Price'}&amp;gt;} Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 14:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415397#M1153428</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-03T14:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting a value based on different field</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415398#M1153429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Gysbert, this solution worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Janzen for your assistance too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 15:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-a-value-based-on-different-field/m-p/415398#M1153429</guid>
      <dc:creator />
      <dc:date>2013-04-08T15:00:34Z</dc:date>
    </item>
  </channel>
</rss>

