<?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: Variable in Set Analysis Not Working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variable-in-Set-Analysis-Not-Working/m-p/138767#M9746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it needs to be "" because its a search (the less than &amp;lt; part)&lt;/P&gt;&lt;P&gt;How is your variable defined? is it defined as =&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GetFieldSelections([Year-Month]) or without the = sign.&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;if latter use $(=[Year-Month]) in the set analysis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats the type of your Year month column?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2018 18:18:55 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2018-10-25T18:18:55Z</dc:date>
    <item>
      <title>Variable in Set Analysis Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-in-Set-Analysis-Not-Working/m-p/138766#M9745</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;I created the following variable and used it in the set analysis expression.&amp;nbsp; The issue is that when I select a date in the Year-Month dimension, I am not getting any results as expected.&amp;nbsp; The expression is supposed to sum all payment amounts for all previous periods from the date selected in the Year-Month field.&amp;nbsp; The variable in the expression turns "active" when I remove the " "&amp;nbsp; but, the result is null.&amp;nbsp; When I include the " ", the variable turns to plain text and the result is 0.00.&amp;nbsp; I tested the results of the variable to the values in the Year-Month field and they match (i.e. 2018-Jun to 2018-Jun).&amp;nbsp; I know I'm close but don't see where I'm not correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any assistance!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable: vYearMonth = GetFieldSelections([Year-Month])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year=,Month=, [Year-Month]={"&amp;lt;$(&lt;STRONG&gt;vYearMonth&lt;/STRONG&gt;)"}&amp;gt;}PaymentAmount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 17:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-in-Set-Analysis-Not-Working/m-p/138766#M9745</guid>
      <dc:creator>asmithids</dc:creator>
      <dc:date>2018-10-25T17:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-in-Set-Analysis-Not-Working/m-p/138767#M9746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it needs to be "" because its a search (the less than &amp;lt; part)&lt;/P&gt;&lt;P&gt;How is your variable defined? is it defined as =&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GetFieldSelections([Year-Month]) or without the = sign.&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;if latter use $(=[Year-Month]) in the set analysis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats the type of your Year month column?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 18:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-in-Set-Analysis-Not-Working/m-p/138767#M9746</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-10-25T18:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-in-Set-Analysis-Not-Working/m-p/138768#M9747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dilip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached variable script defined and the type for the Year-Month field. Also, I agree the " " are required.&amp;nbsp; Still not sure why it's not working.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 18:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-in-Set-Analysis-Not-Working/m-p/138768#M9747</guid>
      <dc:creator>asmithids</dc:creator>
      <dc:date>2018-10-25T18:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-in-Set-Analysis-Not-Working/m-p/138769#M9748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try $(= in the set analysis? Your variable definition does not have an = so i would&lt;/P&gt;&lt;P&gt;use $(=vMonthYear) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 18:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-in-Set-Analysis-Not-Working/m-p/138769#M9748</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-10-25T18:49:57Z</dc:date>
    </item>
  </channel>
</rss>

