<?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: Doubt in edit expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510682#M1122832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the fornula I have is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;= &lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;REGION&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'AMS'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;VENDOR&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'HP'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Calendar Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;UNITS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;REGION&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'AMS'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Calendar Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;IDC_UNITS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)*100,0.0)&amp;amp;'%' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What I want is that when selecting the year 2013 I need the formula to provide the inputs for the previous year, so 2012. What I'm missing in the formula ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;thanks !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;dani&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2014 16:28:10 GMT</pubDate>
    <dc:creator>danialier</dc:creator>
    <dc:date>2014-01-14T16:28:10Z</dc:date>
    <item>
      <title>Doubt in edit expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510679#M1122829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a List Box I have selected the year 2013. Then in a Text Box I want to see the previous yeat, so this is 2012. So when I select 2013 in the List Box I want the text box to show 2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: what should I put in the Edit Expression in the Text Box in order to get the 2012 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;dani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510679#M1122829</guid>
      <dc:creator>danialier</dc:creator>
      <dc:date>2014-01-14T16:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in edit expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510680#M1122830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have Year selected, the expression is simple:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Year-1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510680#M1122830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-14T16:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in edit expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510681#M1122831</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;If your field is named Year&lt;/P&gt;&lt;P&gt;and Year=2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(Year - 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Axel &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510681#M1122831</guid>
      <dc:creator>atafsson</dc:creator>
      <dc:date>2014-01-14T16:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in edit expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510682#M1122832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the fornula I have is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;= &lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;REGION&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'AMS'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;VENDOR&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'HP'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Calendar Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;UNITS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;REGION&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'AMS'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Calendar Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;IDC_UNITS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)*100,0.0)&amp;amp;'%' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What I want is that when selecting the year 2013 I need the formula to provide the inputs for the previous year, so 2012. What I'm missing in the formula ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;thanks !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;dani&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510682#M1122832</guid>
      <dc:creator>danialier</dc:creator>
      <dc:date>2014-01-14T16:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in edit expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510683#M1122833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quite a different question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Use this&lt;/P&gt;&lt;P&gt;[Calendar Year]&lt;STRONG&gt;={"$(=[Calendar Year]-1)"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;instead of [Calendar Year]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510683#M1122833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-14T16:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in edit expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510684#M1122834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent !!! that works now !!!! many Thanks Michael !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-in-edit-expression/m-p/510684#M1122834</guid>
      <dc:creator>danialier</dc:creator>
      <dc:date>2014-01-14T16:42:20Z</dc:date>
    </item>
  </channel>
</rss>

