<?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: Formula Syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388978#M422592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is not working.. i got 0 as value. any clue ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2017 10:24:50 GMT</pubDate>
    <dc:creator>qlikviewaf</dc:creator>
    <dc:date>2017-12-12T10:24:50Z</dc:date>
    <item>
      <title>Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388976#M422590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i'm using this expression, that is defining the Year_Surgery as follow:&lt;/P&gt;&lt;P&gt;I would like to modify this in order to retrieve the Year_Surgery as the selection done on the field Year, minus one year, in order to get the previous year. so if i select 2017, the year surgery needs to be 2016. &lt;/P&gt;&lt;P&gt;Anyone knows how to adjust the syntax?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year_Surgery={$(=concat(chr(39) &amp;amp; Year &amp;amp; chr(39),',') )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388976#M422590</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2017-12-12T10:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388977#M422591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year_Surgery={$(=concat(chr(39) &amp;amp; &lt;STRONG&gt;Max(Year)-1&lt;/STRONG&gt; &amp;amp; chr(39),',') )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Note: Using max() is dependent on your expected output when nothing is selected.&amp;nbsp; Use max() if you want output year as max year-1 when multiple years are in scope. Else, you can simply use &lt;STRONG&gt;Year-1&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388977#M422591</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-12T10:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388978#M422592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is not working.. i got 0 as value. any clue ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388978#M422592</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2017-12-12T10:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388979#M422593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this variable being used in set analysis? What if when multiple values are selected or no year is selected? Could you share your sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388979#M422593</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-12T10:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388980#M422594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes this is used as set analysis! exactly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:30:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388980#M422594</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2017-12-12T10:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388981#M422595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why are you using Concat() here. What if you used?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max(Year)-1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388981#M422595</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-12T10:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388982#M422596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you could answer all the other questions, it would have been easier to narrow down the issue and suggest accordingly. Meanwhile try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year_Surgery={$(=concat(chr(39) &amp;amp; &lt;STRONG&gt;If( GetSelctedCount(Year)=1, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year-1, Year)&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &amp;amp; chr(39),',') )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388982#M422596</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-12T10:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388983#M422597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not working ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The request is due to the previous one that i did already working &lt;A href="https://community.qlik.com/thread/283104"&gt;Set Analysis with selected values&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the app attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388983#M422597</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2017-12-12T10:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388984#M422598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;The request is due to the previous one that i did already working &lt;A _jive_internal="true" data-containerid="2052" data-containertype="14" data-objectid="283104" data-objecttype="1" href="https://community.qlik.com/thread/283104" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #266fc8;"&gt;Set Analysis with selected values&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388984#M422598</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2017-12-12T10:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388985#M422599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="186623" alt="Capture.JPG" class="jive-image image-1" height="199" src="https://community.qlik.com/legacyfs/online/186623_Capture.JPG" style="height: 198.609px; width: 375px;" width="375" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable =&lt;EM&gt;concat(chr(39) &amp;amp; &lt;STRONG&gt;$(=Year-1)&lt;/STRONG&gt; &amp;amp; chr(39),',') &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Exp=&lt;EM&gt;Sum({&amp;lt;Month_Surgery={$(=concat(Distinct chr(39) &amp;amp; Month &amp;amp; chr(39),',') )},Year_Surgery={$(vLastYear)},Day=,Year=,Month=&amp;gt;}Amount)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388985#M422599</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-12T10:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388986#M422600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;amount of 01/01/2016 should be 1100 , so basically the sum of the 3 lines abow.&lt;/P&gt;&lt;P&gt;IN your example is not 1100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Catturadsaffdasfa.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186624_Catturadsaffdasfa.PNG" style="height: 139px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 11:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388986#M422600</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2017-12-12T11:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388987#M422601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your data for NickRep there are 3 amounts (all 100). See the frequency of the values in the screenshot. Hence you get the sum as 1300 instead of 1100. &lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186625_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 11:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388987#M422601</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-12T11:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388988#M422602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that formula is build to select Year= 2017 and Month = Janauary, but get on the graph all the sales where Year_Surgery= 2016 and Month_Surgery= January regardless what is selected in terms of month/year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i expected for Year=2017 and Month=January, the sum of all surgery falling in 2016 , january.&lt;/P&gt;&lt;P&gt;Make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 11:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388988#M422602</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2017-12-12T11:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388989#M422603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the screenshot above, all the data (1300) fall under surgery date 2017, Jan. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt; I am sorry, I guess I could not follow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 11:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388989#M422603</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-12T11:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388990#M422604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry i was looking the table which is wrong &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;it works, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 12:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Syntax/m-p/1388990#M422604</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2017-12-12T12:01:59Z</dc:date>
    </item>
  </channel>
</rss>

