<?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: Qlik experts help needed...!!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771135#M273711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, attached is the excel file with 'sheet 2' consisting of sample data and Output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2014 19:47:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-22T19:47:22Z</dc:date>
    <item>
      <title>Qlik experts help needed...!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771128#M273704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;For the given table individual users with multiple credit cards and their respective payments are recorded. Now we need to calculate the total payments of those rolling two months followed by consecutive rolling 3 months or more of their missed payments. That means after they missed their payments for a while in a row and whenever they start making the payment the rolling two months payment amount to be calculated. There is a chance for this event to happen n number of times for the same combination of user and credit card. Attached is a sample data file and next tab shows the expected output. &lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;I am not sure if I am missing anything? or is it the one next to impossible? Any help is greatly appreciated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Suraj&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 06:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771128#M273704</guid>
      <dc:creator />
      <dc:date>2014-12-21T06:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik experts help needed...!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771129#M273705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use below Script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load *, User_Name &amp;amp; ' | ' &amp;amp; CreditCard as Key, If(Payment = 0, 1,0) as PaymentFlag;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; User_Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreditCard, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date#(FiscalYrMonth,'YYYYMM') as FiscalYrMonth, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[146446.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; User_Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CreditCard,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FiscalYrMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Payment,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PaymentFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Key = Previous(Key) and PaymentFlag = 1, RangeSum(Peek('PaymentFlagTotal'),PaymentFlag),PaymentFlag) as PaymentFlagTotal&lt;/P&gt;&lt;P&gt;Resident Temp &lt;/P&gt;&lt;P&gt;Order By Key, FiscalYrMonth; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; User_Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CreditCard,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FiscalYrMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Payment,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PaymentFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PaymentFlagTotal,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Key = Previous(Key) and Payment &amp;gt; 0 and Previous(PaymentFlagTotal) &amp;gt;= 3, 1,0) as Flag&lt;/P&gt;&lt;P&gt;Resident A&lt;/P&gt;&lt;P&gt;Order By Key, FiscalYrMonth;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Key = Previous(Key) and (Flag = 1 or Previous(Flag) = 1), 1, 0) as NewFlag&lt;/P&gt;&lt;P&gt;Resident B&lt;/P&gt;&lt;P&gt;Order By Key, FiscalYrMonth;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table B;&lt;/P&gt;&lt;P&gt;Drop Fields Key, PaymentFlag, PaymentFlagTotal, Flag;&lt;/P&gt;&lt;P&gt;===============================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create a Straight Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;User_Name&lt;/P&gt;&lt;P&gt;CreditCard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;NewFlag = {1}&amp;gt;}Payment)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===============================================================&lt;/P&gt;&lt;P&gt;Hope this would help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 13:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771129#M273705</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-12-21T13:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik experts help needed...!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771130#M273706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin;"&gt;Further to Manish solution,please replace below syntax with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;&lt;SPAN style="color: #000000;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;NewFlag&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = {'1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Payment&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin;"&gt;with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;NewFlag&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = {'1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Payment&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;User_Name&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;CreditCard&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin;"&gt;I hope its what you are looking for&lt;/SPAN&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;SPAN style="color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin;"&gt;Neetha&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 14:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771130#M273706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-21T14:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik experts help needed...!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771131#M273707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what I was looking for. But a small question, what if I have to sum the succeeding 12 month payments?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 18:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771131#M273707</guid>
      <dc:creator />
      <dc:date>2014-12-21T18:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik experts help needed...!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771132#M273708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would try for you.. Let me know exactly what you are looking for with an example in excel file..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 18:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771132#M273708</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-12-21T18:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik experts help needed...!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771133#M273709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached excel is the sample data for 10000 odd rows. It has Person ID and his Credit Card ID. When it comes to the exact requirement if the customer missed &lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;consecutive 24 months or more of their missed payments and immediately started paying their debts wanted to calculate how much of their paid in the rolling 12 months since they started their payments. Same req as above but instead of 3 missed payment and 2 consecutive month payments. It is 24 months of consecutive missed payments and rolling 12 months of payments since a person started his payments for individual credit card.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 02:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771133#M273709</guid>
      <dc:creator />
      <dc:date>2014-12-22T02:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik experts help needed...!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771134#M273710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you limited your data and give me an output required? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 10:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771134#M273710</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-12-22T10:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik experts help needed...!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771135#M273711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, attached is the excel file with 'sheet 2' consisting of sample data and Output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 19:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771135#M273711</guid>
      <dc:creator />
      <dc:date>2014-12-22T19:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik experts help needed...!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771136#M273712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use below script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; PersonID &amp;amp; '|' &amp;amp; CreditCardID as Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PersonID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreditCardID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date#(Month,'YYYYMM') as Month, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Payment = 0, 1, 0) as PaymentFlag&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[146446 Suraj.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet2$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PersonID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CreditCardID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Payment,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PaymentFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(RowNo() = 1, 1, If(Key = Previous(Key) and Payment = 0, RangeSum(Peek('TotalPaymentFlag'),PaymentFlag),1)) as TotalPaymentFlag&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Order By Key, Month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Key = Previous(Key) and Peek('TotalPaymentFlag')&amp;lt;=11, RangeSum(Peek('NewFlag'),1),0) as NewFlag&lt;/P&gt;&lt;P&gt;Resident A&lt;/P&gt;&lt;P&gt;Order By Key, Month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Key &amp;lt;&amp;gt; Previous(Key), 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Payment &amp;gt; 0 and NewFlag = 0, Peek('Case')+1, Peek('Case'))) as Case,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(Month) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(NewFlag &amp;lt;=11, RangeSum(Peek('TP'),Payment), 0) as TP&lt;/P&gt;&lt;P&gt;Resident B&lt;/P&gt;&lt;P&gt;Order By Key, Month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table B;&lt;/P&gt;&lt;P&gt;Drop Fields Key, PaymentFlag, TotalPaymentFlag, NewFlag;&lt;/P&gt;&lt;P&gt;============================&lt;/P&gt;&lt;P&gt;Now Create a straight table&lt;/P&gt;&lt;P&gt;Dimensions&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;PersonID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;CreditCardID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Calculated Dimension&lt;/P&gt;&lt;P&gt;If(Case &amp;lt;&amp;gt; 0, Case)&lt;/P&gt;&lt;P&gt;Tick Suppress When Value is Null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;Max(TP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;Min({&amp;lt;TP = {'&amp;gt;0'}&amp;gt;}Year) &amp;amp; '-' &amp;amp; Max({&amp;lt;TP = {'&amp;gt;0'}&amp;gt;}Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 17:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-experts-help-needed/m-p/771136#M273712</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-12-23T17:59:24Z</dc:date>
    </item>
  </channel>
</rss>

