<?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 change formula with a specific selection? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-change-formula-with-a-specific-selection/m-p/343183#M126731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I have one selection selected eg. a product I want to change the expression used so that it uses another variabel in that expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LGD*K when product x is selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LGD*K2 when product y is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if there is another smarter way to go about this issue ? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2012 07:05:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-08T07:05:32Z</dc:date>
    <item>
      <title>How to change formula with a specific selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-formula-with-a-specific-selection/m-p/343183#M126731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I have one selection selected eg. a product I want to change the expression used so that it uses another variabel in that expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LGD*K when product x is selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LGD*K2 when product y is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if there is another smarter way to go about this issue ? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 07:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-formula-with-a-specific-selection/m-p/343183#M126731</guid>
      <dc:creator />
      <dc:date>2012-06-08T07:05:32Z</dc:date>
    </item>
    <item>
      <title>How to change formula with a specific selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-formula-with-a-specific-selection/m-p/343184#M126732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try with "Getfieldselections(Field)" to know which product you select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Getfieldselections(Field) = 'X', LGD*K)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Giampiero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 07:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-formula-with-a-specific-selection/m-p/343184#M126732</guid>
      <dc:creator />
      <dc:date>2012-06-08T07:17:44Z</dc:date>
    </item>
    <item>
      <title>How to change formula with a specific selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-formula-with-a-specific-selection/m-p/343185#M126733</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Only(FieldName) = 'x', LGD*K,&amp;nbsp; If(Only(FieldName) = 'y', LGD*K2, DefaultExpression))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 08:14:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-formula-with-a-specific-selection/m-p/343185#M126733</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-06-08T08:14:08Z</dc:date>
    </item>
  </channel>
</rss>

