<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418158#M428139</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;&lt;/P&gt;&lt;P&gt;Maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: line-through;"&gt;=SUM({&amp;lt;Period_NR={'&amp;gt;=$(=vPrevYear_SelectedMnth1)'},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;Period_NR=&lt;/SPAN&gt;&amp;gt;}IB_1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 14:20:32 GMT</pubDate>
    <dc:creator>mdmukramali</dc:creator>
    <dc:date>2017-09-14T14:20:32Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418157#M428138</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 have one expression written in set analysis i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;Period_NR={'&amp;gt;=$(=vCurrYear_SelectedMnth1)'}&amp;gt;}IB_1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression is working fine and i&amp;nbsp; getting correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written one more expression i.e. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;Period_NR={'&amp;gt;=$(=vPrevYear_SelectedMnth1)'}&amp;gt;}IB_1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This value is showing wrong is there anything i have written wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the variable &lt;SPAN style="font-size: 13.3333px;"&gt;vCurrYear_SelectedMnth1 i have written getfieldselections(Period_NR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In the variable &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vPrevYear_SelectedMnth1 i have written AddMonths(getfieldselections(Period_NR),-12).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please suggest&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418157#M428138</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-09-14T14:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418158#M428139</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;&lt;/P&gt;&lt;P&gt;Maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: line-through;"&gt;=SUM({&amp;lt;Period_NR={'&amp;gt;=$(=vPrevYear_SelectedMnth1)'},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;Period_NR=&lt;/SPAN&gt;&amp;gt;}IB_1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418158#M428139</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2017-09-14T14:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418159#M428140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There could be multiple issues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Do you select just one Period_NR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Do you make selection in any other date or time field other than Period_NR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) What is the format of Period_NR field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418159#M428140</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T14:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418160#M428141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply Mukram, but the expression what you have given i m getting wrong..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418160#M428141</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-09-14T14:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418161#M428142</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;Yes there will always one selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't make any other selection in any other date or time field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format is given below image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176599_T.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you require anything more..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418161#M428142</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-09-14T14:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418162#M428143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try these&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;&lt;STRONG&gt;=Sum({&amp;lt;Period_NR = {"&amp;gt;=$(=Date(AddMonths(Max(Period_NR), -12), 'MM/DD/YYYY'))"}&amp;gt;} IB_1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418162#M428143</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T14:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418163#M428144</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;I have tried your expression but the value is wrong:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the below images :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i select the current month i m getting correct value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176609_T1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same when i select last year i.e. 07/01/2016 instead of 4392 i m getting 83908&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/176610_T2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418163#M428144</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-09-14T14:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418164#M428145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it the same text box? If it is then when you selected 07/01/2016, it is showing the value from 07/01/2015&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418164#M428145</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T14:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418165#M428146</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;Please find the attached app which will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418165#M428146</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-09-14T14:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418166#M428147</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;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Period_NR = {"$(=Date(AddMonths(Max(Period_NR), -12), 'MM/DD/YYYY'))"}&amp;gt;} IB_1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418166#M428147</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T14:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418167#M428148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try to pass it in a variable then after writing set analysis statement it is showing wrong value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached doc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 15:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418167#M428148</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-09-14T15:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418168#M428149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You seem to need a single day, yet you use &amp;gt;=... can you elaborate why? Seems to work without it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM({&amp;lt;Period_NR={'$(=vPrevYear_SelectedMnth1)'}&amp;gt;}IB_1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 15:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418168#M428149</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T15:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418169#M428150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot sunny.. But i have two queries can&amp;nbsp; you please help me whose:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If i use only &lt;/P&gt;&lt;P&gt;=AddMonths(GetFieldSelections(Period_NR),-12) it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i use =Date(AddMonths(Max(Period_NR), -12), 'MM/DD/YYYY') it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) For testing i have written &amp;gt;=, can't i use this one what will happen if i don't use &amp;gt;= request you to suggest me these two.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 15:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418169#M428150</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-09-14T15:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418170#M428151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Working for me with this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(AddMonths(GetFieldSelections(Period_NR), -12), 'MM/DD/YYYY')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;May be an issue with the date format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) = is for the day and &amp;gt;= is for all day after the selected day (including the selected day)... what do you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 15:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418170#M428151</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T15:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418171#M428152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot sir...&amp;nbsp; Thank you so much &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 15:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1418171#M428152</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-09-14T15:34:09Z</dc:date>
    </item>
  </channel>
</rss>

