<?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 Expression hard code in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227797#M851160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to write an expression for a line graph that does the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;When Year 2017 is selected make Jan = 11400, Feb = 11400, Mar = 11400, Apr = 11400, May = 11400, Jun = 11400, Jul = 11400, Aug = 11400, Sep = 11400, Oct = 11400, Nov = 11400, Dec = 11400&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>fanninam</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Expression hard code</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227797#M851160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to write an expression for a line graph that does the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;When Year 2017 is selected make Jan = 11400, Feb = 11400, Mar = 11400, Apr = 11400, May = 11400, Jun = 11400, Jul = 11400, Aug = 11400, Sep = 11400, Oct = 11400, Nov = 11400, Dec = 11400&lt;/SPAN&gt;&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/Expression-hard-code/m-p/1227797#M851160</guid>
      <dc:creator>fanninam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression hard code</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227798#M851161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to add : if(GetFieldSelections(Year)=2017,11400) in Presentation/References lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" height="348" src="https://community.qlik.com/legacyfs/online/155225_pastedImage_0.png" style="width: 258px; height: 347.895px;" width="258" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 21:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227798#M851161</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-03-03T21:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expression hard code</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227799#M851162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this?&lt;/P&gt;&lt;P&gt;What is that 11400 just a hardcoded value or a value coming from a expression field. &lt;/P&gt;&lt;P&gt;If month is your dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can just write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF(Year = '2017', 11400, Sum(yourvaluefield))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 22:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227799#M851162</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-03-03T22:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Expression hard code</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227800#M851164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amber,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be as&amp;nbsp; a variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We believe that the autoCalendar has&amp;nbsp; linked fields Date, Month and Year. Furhter add script code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2017:&lt;/P&gt;&lt;P&gt;Load*Inline&lt;/P&gt;&lt;P&gt;[Month2017, Vol2017&lt;/P&gt;&lt;P&gt;Jan, 11400&lt;/P&gt;&lt;P&gt;Feb, 11400&lt;/P&gt;&lt;P&gt;Mar, 11400&lt;/P&gt;&lt;P&gt;Apr, 11400&lt;/P&gt;&lt;P&gt;May, 11400&lt;/P&gt;&lt;P&gt;Jun, 11400&lt;/P&gt;&lt;P&gt;Jul, 11400&lt;/P&gt;&lt;P&gt;Aug, 11400&lt;/P&gt;&lt;P&gt;Oct, 11400&lt;/P&gt;&lt;P&gt;Nov, 11400&lt;/P&gt;&lt;P&gt;Dec, 11400];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We create a chart with dimension Month2017&amp;nbsp; and expression Vol2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/155233_1.jpg" style="height: 402px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Finally, we specify the condition for calculating the expression&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/155234_2.jpg" style="height: 429px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Mar 2017 05:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227800#M851164</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-03-04T05:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expression hard code</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227801#M851165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share the dummy data, as we can understand there is just 2017 for the selection or any other years. if we create a inline table of year=2017 and month from Jan-Dec and mention the amount 11400 in form of it then it will give you the data required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sales.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/155236_sales.JPG" style="height: 252px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Mar 2017 09:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227801#M851165</guid>
      <dc:creator>sumitjadhav</dc:creator>
      <dc:date>2017-03-04T09:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression hard code</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227802#M851167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My graph toggles from month to quarter.&amp;nbsp; I tried this and it does work well but when I toggle from month to quarter the amount stays 11400 instead of becoming a quarterly amount.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Mar 2017 16:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227802#M851167</guid>
      <dc:creator>fanninam</dc:creator>
      <dc:date>2017-03-04T16:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression hard code</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227803#M851168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;11400 is just a hardcoded value.&amp;nbsp; My dimension is a cyclical group that toggles from month to quarter.&amp;nbsp; The main issue I am running into is when I toggle from month to quarter the 11400 does not change to a quarterly amount.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Mar 2017 16:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-hard-code/m-p/1227803#M851168</guid>
      <dc:creator>fanninam</dc:creator>
      <dc:date>2017-03-04T16:22:49Z</dc:date>
    </item>
  </channel>
</rss>

