<?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: Last 3 months in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062013#M355388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes its a flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2016 09:01:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-05-03T09:01:46Z</dc:date>
    <item>
      <title>Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062010#M355385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following calculations on my set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;L_WRITTEN_OFF_L3M_IND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'Y'}, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;L_CREDIT_DEBIT_IND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'DB'},&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;L_NCA_PRODUCT_CODE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'UNL'}, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;L_NCA_IND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'J','Y','X'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[L WRITTEN OFF AMOUNT]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to use this set to calculate for the last three months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your assistance will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Mbini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 08:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062010#M355385</guid>
      <dc:creator />
      <dc:date>2016-05-03T08:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062011#M355386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a variable like vMonStart = monthstart(addmonths(datefield,-3))&lt;/P&gt;&lt;P&gt;vMonEnd = dateField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;L_WRITTEN_OFF_L3M_IND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'Y'}, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;L_CREDIT_DEBIT_IND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'DB'},&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;L_NCA_PRODUCT_CODE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'UNL'}, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;L_NCA_IND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'J','Y','X'},DateFeild ={'&amp;gt;=$(&lt;SPAN style="font-size: 13.3333px;"&gt;vMonStart &lt;/SPAN&gt;) &amp;lt;=$(&lt;SPAN style="font-size: 13.3333px;"&gt;vMonEnd &lt;/SPAN&gt;)'&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;[L WRITTEN OFF AMOUNT]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;$@M.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 08:55:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062011#M355386</guid>
      <dc:creator>mightyqlikers</dc:creator>
      <dc:date>2016-05-03T08:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062012#M355387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is this Flag &lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;L_WRITTEN_OFF_L3M_IND?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 08:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062012#M355387</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-03T08:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062013#M355388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes its a flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 09:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062013#M355388</guid>
      <dc:creator />
      <dc:date>2016-05-03T09:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062014#M355389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So is this Last 3 months Flag? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 09:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062014#M355389</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-03T09:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062015#M355390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its a flag that checks if its been written off in the last three months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 09:36:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062015#M355390</guid>
      <dc:creator />
      <dc:date>2016-05-03T09:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062016#M355391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my datefiled is 'Date'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 09:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062016#M355391</guid>
      <dc:creator />
      <dc:date>2016-05-03T09:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062017#M355392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define the variables: ( I always do this in the load, but you can use the variable overview as well):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM style="font-size: 13.3333px; text-decoration: line-through;"&gt;Set vPeriodStart = '=AddMonths(Max(Date))';&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;Set vPeriodStart = '=AddMonths(Max(Date), -3)';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set vPeriodEnd = '=Date(Max(Date))';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; L_WRITTEN_OFF_L3M_IND={'Y'}, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; L_CREDIT_DEBIT_IND={'DB'},&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; L_NCA_PRODUCT_CODE={'UNL'}, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; L_NCA_IND={'J','Y','X'},&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Date ={"&amp;gt;=$(vPeriodStart) &amp;lt;=$(vPeriodEnd)'}&amp;gt;} [L WRITTEN OFF AMOUNT]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 09:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062017#M355392</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-05-03T09:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062018#M355393</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 lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;L_WRITTEN_OFF_L3M_IND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'Y'}, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;L_CREDIT_DEBIT_IND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'DB'},&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;L_NCA_PRODUCT_CODE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'UNL'},&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;L_NCA_IND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'J','Y','X'},DATEFIELD={"&amp;gt;=$(=MonthStart(max(DATEFIELD),-3))&amp;lt;=$(=max(DATEFIELD))"}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;[L WRITTEN OFF AMOUNT]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 10:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062018#M355393</guid>
      <dc:creator />
      <dc:date>2016-05-03T10:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062019#M355394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried this, I get a negative value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 11:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062019#M355394</guid>
      <dc:creator />
      <dc:date>2016-05-03T11:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062020#M355395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that Your Date field is not the string, to check this create the Text object and put the expression "=max(Date)", if you get '-' means it is not in Date format, if you get the Values , it means it is in Date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not in Date format, use Date# function to make it in Date format, then use below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;sum({&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; L_WRITTEN_OFF_L3M_IND={'Y'},&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; L_CREDIT_DEBIT_IND={'DB'},&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; L_NCA_PRODUCT_CODE={'UNL'},&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; L_NCA_IND={'J','Y','X'},&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; Date ={"&amp;gt;=$(=addmonths(max(Date),-3)) &amp;lt;=$(=max(Date))"}&amp;gt;} [L WRITTEN OFF AMOUNT]&lt;/EM&gt;&lt;EM style="font-family: inherit; font-weight: inherit; font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;A _jive_internal="true" class="jive-acclaim-likelink" data-command="like" data-object-id="1031002" data-object-type="2" href="https://community.qlik.com/thread/215351?sr=inbox&amp;amp;ru=206042" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Last 3 months in Set Analysis&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 11:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis/m-p/1062020#M355395</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-04T11:00:41Z</dc:date>
    </item>
  </channel>
</rss>

