<?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: Set Analysis Help in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Help/m-p/121024#M8422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;Date={$(=Chr(39)&amp;amp;concat(distinct date(Addmonths(Date,-(if(getselectedCount(Date)=0,1,getselectedCount(Date)))) ,'MMM-YYYY'),Chr(39)&amp;amp;Chr(44)&amp;amp;Chr(39))&amp;amp;Chr(39))}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Value&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Aug 2018 06:29:15 GMT</pubDate>
    <dc:creator>andrey_krylov</dc:creator>
    <dc:date>2018-08-25T06:29:15Z</dc:date>
    <item>
      <title>Set Analysis Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Help/m-p/121023#M8421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers ,can any one help me find error in this expression . Individually all fn's including concate fn() works fine but when I use it in set analysis it doesn't work .I know I am missing something very small maybe an comma or ' " ' ,in Date condition , which I'm not able to find .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Any help will be highly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;Date={$(='"'&amp;amp;concat(distinct date(Addmonths(Date,-(if(getselectedCount(Date)=0,1,getselectedCount(Date)))) ,'MMM-YYYY'),'","')&amp;amp;'"')}&amp;gt;}Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 17:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Help/m-p/121023#M8421</guid>
      <dc:creator>arusanah</dc:creator>
      <dc:date>2018-08-24T17:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Help/m-p/121024#M8422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;Date={$(=Chr(39)&amp;amp;concat(distinct date(Addmonths(Date,-(if(getselectedCount(Date)=0,1,getselectedCount(Date)))) ,'MMM-YYYY'),Chr(39)&amp;amp;Chr(44)&amp;amp;Chr(39))&amp;amp;Chr(39))}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Value&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Aug 2018 06:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Help/m-p/121024#M8422</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-08-25T06:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Help/m-p/121025#M8423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be Set Analysis expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Date=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{"$(=date(Addmonths(Date,-"$(if(getselectedCount(Date)=0,1,getselectedCount(Date)))"),'MMM-YYYY'))"}&lt;/P&gt;&lt;P&gt;&amp;gt;}Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Aug 2018 07:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Help/m-p/121025#M8423</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-25T07:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Help/m-p/121026#M8424</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;The date() formatting function will turn it into 'MMM-YYYY', but the AddMonths requires its first parameter to be a full date. This could be causing the mismatch. With the assumption that your date field is a full date (like 3/13/2018), can you see if this works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;$&amp;lt;&lt;/P&gt;&lt;P&gt;Datefield={$(='"'&amp;amp;concat(distinct date(Addmonths(Datefield,-(if(getselectedCount(Datefield)=0,1,getselectedCount(Datefield)))) ,&lt;STRONG&gt;'M/D/YYYY'&lt;/STRONG&gt;),'","')&amp;amp;'"')}&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Valuefield&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Aug 2018 08:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Help/m-p/121026#M8424</guid>
      <dc:creator>karthiksrqv</dc:creator>
      <dc:date>2018-08-25T08:11:06Z</dc:date>
    </item>
  </channel>
</rss>

