<?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: Dynamic Expression Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570144#M545677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wondering, whether my answer was correct or wrong ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2014 14:58:35 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-04-15T14:58:35Z</dc:date>
    <item>
      <title>Dynamic Expression Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570137#M545670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;3 charts with 3 Expressions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. sum(2012Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. sum(2013Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. sum(2014Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now there is a variable &lt;STRONG&gt;v_YearSelection&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I write the expression as &lt;STRONG&gt;sum($'(v_YearSelection)'Sales)&lt;/STRONG&gt; or something which can &lt;STRONG&gt;display the respective graph real-time based on the selection&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 13:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570137#M545670</guid>
      <dc:creator>shannoypaul</dc:creator>
      <dc:date>2014-03-27T13:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Expression Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570138#M545671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update : &lt;BR /&gt;create a variable&lt;/P&gt;&lt;P&gt;vYear&lt;/P&gt;&lt;P&gt;=Min(Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression For 1st Chart&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Year = {'$(vYear)'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Label for 1st Chart&lt;/P&gt;&lt;P&gt;=vYear &amp;amp; ' Sales'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression For 2nd Chart&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Year = {'$(=vYear+1)'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Label for 2nd Chart&lt;/P&gt;&lt;P&gt;=vYear+1 &amp;amp; ' Sales'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression For 3rd Chart&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Year = {'$(=vYear+2)'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Label for 3rd Chart&lt;/P&gt;&lt;P&gt;=vYear+2 &amp;amp; ' Sales'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 13:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570138#M545671</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-27T13:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Expression Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570139#M545672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I want to achieve it in 1 chart. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570139#M545672</guid>
      <dc:creator>shannoypaul</dc:creator>
      <dc:date>2014-03-27T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Expression Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570140#M545673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the same in one chart... with three expressions and three labels...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check enclosed file..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570140#M545673</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-27T14:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Expression Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570141#M545674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shannoy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the variable v_year_selection receive the value of the selected year you can just use an expression like this: &lt;/P&gt;&lt;P&gt;SUM (&amp;lt;Year = {} {'$(v_year_selection)'}&amp;gt; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570141#M545674</guid>
      <dc:creator />
      <dc:date>2014-03-27T14:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Dynamic Expression Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570142#M545675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess Manish&amp;nbsp; did what you expected and also find attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570142#M545675</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-27T14:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Expression Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570143#M545676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I resolved this by&lt;/P&gt;&lt;P&gt;1. Creating variables for Current_Year &lt;STRONG&gt;(vCurrent_Year)&lt;/STRONG&gt; and Previous_Year &lt;STRONG&gt;(&lt;STRONG&gt;v Previous_Year&lt;/STRONG&gt;) .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Creating two more variables &lt;STRONG&gt;vCurrent_Sales&lt;/STRONG&gt; and &lt;STRONG&gt;vPrevious_Sales&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;3. Assigning &lt;STRONG&gt;vCurrent_Sales&lt;/STRONG&gt; = &lt;STRONG&gt;vCurrent_Year&lt;/STRONG&gt;&amp;amp;'Sale&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;s&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4.Similarly for &lt;STRONG&gt;vPrevious_Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;5. Now writing expressions like &lt;STRONG&gt;sum(vCurrent_Sales) or &lt;STRONG&gt;sum(&lt;STRONG&gt;vPrevious_Sales&lt;/STRONG&gt;) .&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 14:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570143#M545676</guid>
      <dc:creator>shannoypaul</dc:creator>
      <dc:date>2014-04-15T14:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Expression Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570144#M545677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wondering, whether my answer was correct or wrong ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 14:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570144#M545677</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-15T14:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Expression Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570145#M545678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, I think I could not figure it out then. I checked it again and it was similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, about that!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 15:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Expression-Calculation/m-p/570145#M545678</guid>
      <dc:creator>shannoypaul</dc:creator>
      <dc:date>2014-04-15T15:29:28Z</dc:date>
    </item>
  </channel>
</rss>

