<?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 selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-selection/m-p/1442243#M34933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your year field is a text one, so it would be better if you transform it into a number format for better handling.&lt;/P&gt;&lt;P&gt;Instead of putting a year comparison in the year field (2017-18) just do a normal number, like 2017 and 2018 as separate rows in the field and the set expression would be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #0000ff;"&gt;((((sum({&amp;lt;Reference={'1','2','3'},[FY Year Name]={'$(=Max(Year))'} &amp;gt;}Amount))-&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(sum({&amp;lt;Reference={'1','2','3'} ,[FY Year Name]=&lt;STRONG style="font-family: inherit; font-size: 13px; font-style: inherit; color: #0000ff;"&gt;{'$(=Max(Year)-1)'}&lt;/STRONG&gt;&amp;gt;}Amount)))/(sum({&amp;lt;Reference={'1','2','3'} ,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #0000ff;"&gt;[FY Year Name]=&lt;STRONG style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;{'$(=Max(Year)-1)'}&lt;/STRONG&gt;&amp;gt;}Amount))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2017 12:01:40 GMT</pubDate>
    <dc:creator>felipedl</dc:creator>
    <dc:date>2017-12-21T12:01:40Z</dc:date>
    <item>
      <title>Dynamic selection</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-selection/m-p/1442242#M34932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get sum of amount for current selection of year and then subtract value of its previous year from that.&lt;/P&gt;&lt;P&gt;Below expression works in static manner, i want it to work dynamically based on selection of years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;((((sum({&amp;lt;Reference={'1','2','3'},[FY Year Name]={'2017-18'} &amp;gt;}Amount))-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;(sum({&amp;lt;Reference={'1','2','3'} ,[FY Year Name]={'2016-17'}&amp;gt;}Amount)))/(sum({&amp;lt;Reference={'1','2','3'} ,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;[FY Year Name]={'2016-17'}&amp;gt;}Amount))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;This is the result of the above expression, but i want it to change based on selection in year filter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="guage.PNG" class="jive-image image-1" height="171" src="https://community.qlik.com/legacyfs/online/187844_guage.PNG" style="height: 171.433px; width: 356px;" width="356" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-selection/m-p/1442242#M34932</guid>
      <dc:creator>Karahs</dc:creator>
      <dc:date>2017-12-21T10:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-selection/m-p/1442243#M34933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your year field is a text one, so it would be better if you transform it into a number format for better handling.&lt;/P&gt;&lt;P&gt;Instead of putting a year comparison in the year field (2017-18) just do a normal number, like 2017 and 2018 as separate rows in the field and the set expression would be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #0000ff;"&gt;((((sum({&amp;lt;Reference={'1','2','3'},[FY Year Name]={'$(=Max(Year))'} &amp;gt;}Amount))-&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(sum({&amp;lt;Reference={'1','2','3'} ,[FY Year Name]=&lt;STRONG style="font-family: inherit; font-size: 13px; font-style: inherit; color: #0000ff;"&gt;{'$(=Max(Year)-1)'}&lt;/STRONG&gt;&amp;gt;}Amount)))/(sum({&amp;lt;Reference={'1','2','3'} ,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #0000ff;"&gt;[FY Year Name]=&lt;STRONG style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;{'$(=Max(Year)-1)'}&lt;/STRONG&gt;&amp;gt;}Amount))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 12:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-selection/m-p/1442243#M34933</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-21T12:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-selection/m-p/1442244#M34934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Felip , it works perfectly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 12:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-selection/m-p/1442244#M34934</guid>
      <dc:creator>Karahs</dc:creator>
      <dc:date>2017-12-21T12:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-selection/m-p/1442245#M34935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it helped &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 12:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-selection/m-p/1442245#M34935</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-21T12:40:13Z</dc:date>
    </item>
  </channel>
</rss>

