<?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: Urgent Help on Set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494335#M184922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also if you need to work dynamic for Month Selction just use &lt;/P&gt;&lt;P&gt;{1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so expression will change to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(above( sum( {1}BookSize_Debtor_AR_POS),3),YearMonth) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jul 2013 12:22:22 GMT</pubDate>
    <dc:creator>qlikpahadi07</dc:creator>
    <dc:date>2013-07-19T12:22:22Z</dc:date>
    <item>
      <title>Urgent Help on Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494327#M184914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have filter of Year &amp;amp; Month... I have requirement like when I click on Year, for the corresponding month I should get previous 3rd month amount without selecting month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; For eg. when I select year 2013 I have four months Jan, Feb , Mar , Apr.. so for Jan I should get previous 3rd month amount( i.e Amount for Oct-2012)&lt;/P&gt;&lt;P&gt;Also I want to do it all the calculation on front end only as data model is freezed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont have MonthYear or Date field created from backend, otherwise it was simple to implement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following setanalysis expression &amp;amp; dimenstion is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension = Daily_Sales_Fin_Month_Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression :&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Daily_Sales_Fin_Month_Name={'$(=upper(date(AddMonths(date(date#(Daily_Sales_Fin_Month_Name&amp;amp;Daily_Sales_Comm_Fin_Year,'MMMYY'),'MMM-YY'),-3),'MMM')))'}&amp;gt;}BookSize_Debtor_AR_POS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am not able to get the data using this expression. I treid a lot but failed to get the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached application with testdata. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 06:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494327#M184914</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2013-07-18T06:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help on Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494328#M184915</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;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum({$&amp;lt;Daily_Sales_Fin_Month_Name={'$(=upper(Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(date#(Daily_Sales_Fin_Month_Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MMMYY')),-3)),'MMM') ))'}&amp;gt;}BookSize_Debtor_AR_POS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 06:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494328#M184915</guid>
      <dc:creator />
      <dc:date>2013-07-18T06:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help on Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494329#M184916</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;thanks for your quick reply but this expression is not working for me.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried with the qvw which i have aatched ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 06:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494329#M184916</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2013-07-18T06:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help on Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494330#M184917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to create a new field called MonthNum. The reason we can easy point in time&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13741304973466156" jivemacro_uid="_13741304973466156"&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(Month(Date#(Daily_Sales_Fin_Month_Name,'MMM')))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS [MonthNum];&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Daily_Sales_Comm_Fin_Year,Daily_Sales_Fin_Month_Name,BookSize_Debtor_AR_POS&lt;/P&gt;&lt;P&gt;2012,APR,100&lt;/P&gt;&lt;P&gt;2012,MAY,50&lt;/P&gt;&lt;P&gt;2012,JUN,150&lt;/P&gt;&lt;P&gt;2012,JUL,175&lt;/P&gt;&lt;P&gt;2012,AUG,200&lt;/P&gt;&lt;P&gt;2012,SEP,210&lt;/P&gt;&lt;P&gt;2012,OCT,220&lt;/P&gt;&lt;P&gt;2012,NOV,130&lt;/P&gt;&lt;P&gt;2012,DEC,90&lt;/P&gt;&lt;P&gt;2013,JAN,100&lt;/P&gt;&lt;P&gt;2013,FEB,180&lt;/P&gt;&lt;P&gt;2013,MAR,300 ];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Now create Straight Table with&lt;/P&gt;&lt;P&gt;1. Dimension: Daily_Sales_Fin_Month_Name&lt;/P&gt;&lt;P&gt;2. Expression: Sum({$&amp;lt;MonthNum = {$(=Max(MonthNum)-3)}&amp;gt;} BookSize_Debtor_AR_POS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See sample attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 06:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494330#M184917</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-07-18T06:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help on Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494331#M184918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply but your solution is not working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the output i need .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 07:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494331#M184918</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2013-07-18T07:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help on Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494332#M184919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attched screenshot for the output i need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44193" class="jive-image-thumbnail jive-image" onclick="" alt="Untitled.jpg" src="https://community.qlik.com/legacyfs/online/44193_Untitled.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 07:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494332#M184919</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2013-07-18T07:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help on Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494333#M184920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May b this Help you ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to hard code as you said you can edit so i have changed your Month Jan, Feb, ... to 1 ,2,3,4 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a Variable :&lt;/P&gt;&lt;P&gt;vMaxYearMaxMonth = =$(=max({&amp;lt;Daily_Sales_Comm_Fin_Year={$(=max(Daily_Sales_Comm_Fin_Year))}&amp;gt;} Daily_Sales_Fin_Month_Name))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will give you current Month as data is dummy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simply need add the expression like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(vMaxYearMaxMonth = 1,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Daily_Sales_Comm_Fin_Year = {$(=max(Daily_Sales_Comm_Fin_Year)-1)}, &lt;/P&gt;&lt;P&gt;Daily_Sales_Fin_Month_Name = {10}&amp;gt;} BookSize_Debtor_AR_POS),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(vMaxYearMaxMonth = 2,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Daily_Sales_Comm_Fin_Year = {$(=max(Daily_Sales_Comm_Fin_Year)-1)}, &lt;/P&gt;&lt;P&gt;Daily_Sales_Fin_Month_Name = {11}&amp;gt;} BookSize_Debtor_AR_POS),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(vMaxYearMaxMonth = 3,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Daily_Sales_Comm_Fin_Year = {$(=max(Daily_Sales_Comm_Fin_Year)-1)}, &lt;/P&gt;&lt;P&gt;Daily_Sales_Fin_Month_Name = {12}&amp;gt;} BookSize_Debtor_AR_POS),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.... add upto &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(vMaxYearMaxMonth = 11,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(vMaxYearMaxMonth = 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the Solution might help you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 18:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494333#M184920</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2013-07-18T18:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help on Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494334#M184921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May b this will be helpful &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494334#M184921</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2013-07-19T12:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help on Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494335#M184922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also if you need to work dynamic for Month Selction just use &lt;/P&gt;&lt;P&gt;{1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so expression will change to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(above( sum( {1}BookSize_Debtor_AR_POS),3),YearMonth) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494335#M184922</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2013-07-19T12:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Help on Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494336#M184923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works well for now. let me check for the original data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks fella&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Help-on-Set-analysis/m-p/494336#M184923</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2013-07-19T12:52:32Z</dc:date>
    </item>
  </channel>
</rss>

