<?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: Variables and Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44782#M3002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to add an equal sign after the parenthesis within the dollar sign expansion&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;Avg({$&amp;lt;[Year]={$(&lt;STRONG&gt;=&lt;/STRONG&gt;vCurrentYr)}&amp;gt;}[Unit Price])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Feb 2018 16:54:46 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-02-02T16:54:46Z</dc:date>
    <item>
      <title>Variables and Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44781#M3001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to use a variable for max year in order to create a chart showing year over year pricing increases in Qliksense. I've successfully created the chart using&amp;nbsp; if( Year='2017',avg( [Unit Price],)) , same with 2016 and so forth. That said my boss is encouraging me to use variables to accomplish this to get familiar with them for future use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the variable name set to vCurrentYr, with the variable set to max([Year])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To ensure I created the variable correctly I dropped it into a KPI box and it returned 2017, the max year from my data set.&lt;/P&gt;&lt;P&gt;However, when I enter the variable into my equation, I cannot for the life of me get it to work. The equation I've created is&amp;nbsp; avg({$&amp;lt;[Year]={$(vCurrentYr)}&amp;gt;}[Unit Price])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've looked at all the posts I can find in this forum as well as youtube videos, as far as I can tell the syntax is correct. Would someone be able to assist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 14:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44781#M3001</guid>
      <dc:creator>john_delligatti</dc:creator>
      <dc:date>2018-02-02T14:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44782#M3002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to add an equal sign after the parenthesis within the dollar sign expansion&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;Avg({$&amp;lt;[Year]={$(&lt;STRONG&gt;=&lt;/STRONG&gt;vCurrentYr)}&amp;gt;}[Unit Price])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 16:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44782#M3002</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-02T16:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44783#M3003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply. Unfortunately it did not solve the issue, the equation returns blank. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44783#M3003</guid>
      <dc:creator>john_delligatti</dc:creator>
      <dc:date>2018-02-02T17:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44784#M3004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about 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;Avg({$&amp;lt;[Year]={$(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=$(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vCurrentYr))}&amp;gt;}[Unit Price])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44784#M3004</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-02T17:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44785#M3005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it! Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-and-Set-Analysis/m-p/44785#M3005</guid>
      <dc:creator>john_delligatti</dc:creator>
      <dc:date>2018-02-02T17:21:00Z</dc:date>
    </item>
  </channel>
</rss>

