<?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: Hard Code value in Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80528#M771914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;else part is not 100 it is sales, 100 is for only IND&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2018 13:16:26 GMT</pubDate>
    <dc:creator>priyarane</dc:creator>
    <dc:date>2018-05-23T13:16:26Z</dc:date>
    <item>
      <title>Hard Code value in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80524#M771908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am hardcoding value in the expression and once I select on the particular value my value is coming as default&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Ex:&lt;/P&gt;&lt;P&gt;If(Country = 'IND',&lt;/P&gt;&lt;P&gt;Sum(Sales)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;$(=Sume({&amp;lt;Country = {'Afr','Den'}&amp;gt;}Exp))&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;Sum(Sales)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above expression is working as expected&lt;/P&gt;&lt;P&gt;for Ex&lt;/P&gt;&lt;P&gt;for IND, I am getting 100+50 = 150&lt;/P&gt;&lt;P&gt;but once I select on 150 then it is coming as 100&lt;/P&gt;&lt;P&gt;the above situation should be avoid as I am expecting as 150&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80524#M771908</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Code value in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80525#M771910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Selecting on 150? Why are you selecting on the expression value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80525#M771910</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-23T13:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Code value in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80526#M771912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Users will test other reports for drilldown option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80526#M771912</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2018-05-23T13:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Code value in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80527#M771913</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;Your if clause says the same, it works in the way you have written the if condition. If country = Ind, then 100 (Ind sales) + 50 (Afr Sales + Den Sales), but in the else part you mentioned only 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain with some sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80527#M771913</guid>
      <dc:creator>shansundar</dc:creator>
      <dc:date>2018-05-23T13:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Code value in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80528#M771914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;else part is not 100 it is sales, 100 is for only IND&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80528#M771914</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2018-05-23T13:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Code value in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80529#M771916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes but as per your expression if the country selected is IND the 100 + 50 else its just sum(sales) which means the country which the user is drill down into, correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80529#M771916</guid>
      <dc:creator>shansundar</dc:creator>
      <dc:date>2018-05-23T13:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Code value in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80530#M771917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;country&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expr&lt;/P&gt;&lt;P&gt;AFr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;IND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 150&lt;/P&gt;&lt;P&gt;Den&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;US&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so here user can select on values from Expr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80530#M771917</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2018-05-23T13:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Code value in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80531#M771918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Yes, so here when user selects 150 then the dimension is filtered to 'IND'. so in your expression you have to ignore the country selection in the amendment part (i.e., the second part after + in your if part).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If not clear, just give a sample QVW with your expression I will try and let you know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Shan S&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-Code-value-in-Expression/m-p/80531#M771918</guid>
      <dc:creator>shansundar</dc:creator>
      <dc:date>2018-05-23T13:50:16Z</dc:date>
    </item>
  </channel>
</rss>

