<?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 repeating counter for common fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/repeating-counter-for-common-fields/m-p/227063#M79201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Oct 2010 20:06:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-06T20:06:47Z</dc:date>
    <item>
      <title>repeating counter for common fields</title>
      <link>https://community.qlik.com/t5/QlikView/repeating-counter-for-common-fields/m-p/227060#M79198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This should be easy... table&lt;/P&gt;&lt;P&gt;Suppose I have the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 109pt; border-collapse: collapse;" width="144"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 50pt; mso-width-source: userset; mso-width-alt: 2413;" width="66" /&gt;&lt;COL style="width: 59pt; mso-width-source: userset; mso-width-alt: 2852;" width="78" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="border-bottom: white 1.5pt solid; border-left: #f0f0f0; width: 50pt; font-family: Calibri; background: #4f81bd; height: 15pt; color: white; font-size: 11pt; border-top: #f0f0f0; font-weight: 700; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #4F81BD none;" width="66"&gt;Day&lt;/TD&gt;&lt;TD style="border-bottom: white 1.5pt solid; border-left: #f0f0f0; width: 59pt; font-family: Calibri; background: #4f81bd; color: white; font-size: 11pt; border-top: #f0f0f0; font-weight: 700; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #4F81BD none;" width="78"&gt;Shift Id&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;4-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;4-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;4-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;4-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="border-bottom: #f0f0f0; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: #f0f0f0; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Now, I would like to have a running index on both fields. Counter that will resets itself as soon as a new subset appears.&lt;/P&gt;&lt;P&gt;This is the desired outcome:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 157pt; border-collapse: collapse;" width="208"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 50pt; mso-width-source: userset; mso-width-alt: 2413;" width="66" /&gt;&lt;COL style="width: 59pt; mso-width-source: userset; mso-width-alt: 2852;" width="78" /&gt;&lt;COL style="width: 48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="border-bottom: white 1.5pt solid; border-left: #f0f0f0; width: 50pt; font-family: Calibri; background: #4f81bd; height: 15pt; color: white; font-size: 11pt; border-top: #f0f0f0; font-weight: 700; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #4F81BD none;" width="66"&gt;Day&lt;/TD&gt;&lt;TD style="border-bottom: white 1.5pt solid; border-left: #f0f0f0; width: 59pt; font-family: Calibri; background: #4f81bd; color: white; font-size: 11pt; border-top: #f0f0f0; font-weight: 700; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #4F81BD none;" width="78"&gt;Shift Id&lt;/TD&gt;&lt;TD style="border-bottom: white 1.5pt solid; border-left: #f0f0f0; width: 48pt; font-family: Calibri; background: #4f81bd; color: white; font-size: 11pt; border-top: #f0f0f0; font-weight: 700; border-right: #f0f0f0; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #4F81BD none;" width="64"&gt;index&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;4-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;12&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: #f0f0f0; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;4-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;12&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: #f0f0f0; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;4-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;14&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: #f0f0f0; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;4-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;14&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: #f0f0f0; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;15&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: #f0f0f0; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;15&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: #f0f0f0; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;15&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: #f0f0f0; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;15&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: #f0f0f0; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;15&lt;/TD&gt;&lt;TD align="right" style="border-bottom: white 0.5pt solid; border-left: #f0f0f0; font-family: Calibri; background: #b8cce4; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: #f0f0f0; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #B8CCE4 none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="border-bottom: #f0f0f0; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; height: 15pt; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;5-10-2010&lt;/TD&gt;&lt;TD align="right" style="border-bottom: #f0f0f0; border-left: #f0f0f0; font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; border-top: #f0f0f0; font-weight: 400; border-right: white 0.5pt solid; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none;"&gt;15&lt;/TD&gt;&lt;TD align="right" style="font-family: Calibri; background: #dbe5f1; color: black; font-size: 11pt; font-weight: 400; text-decoration: none; text-underline-style: none; text-line-through: none; mso-pattern: #DBE5F1 none; border: #f0f0f0;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I've tried autonumber, but unfortunatly the counter does not reset itself. Is there a simple way i can tuckle this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dror&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 12:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/repeating-counter-for-common-fields/m-p/227060#M79198</guid>
      <dc:creator />
      <dc:date>2010-10-04T12:55:04Z</dc:date>
    </item>
    <item>
      <title>repeating counter for common fields</title>
      <link>https://community.qlik.com/t5/QlikView/repeating-counter-for-common-fields/m-p/227061#M79199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try ordering the table on load on Day and Shift ID and user the peek and previous functions to increment or reset the index column.&lt;/P&gt;&lt;P&gt;Eg. If Previous(Shiftid)= Shiftid then Peek(Index,-1)+1 else 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgards,&lt;/P&gt;&lt;P&gt;Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 14:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/repeating-counter-for-common-fields/m-p/227061#M79199</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-10-04T14:22:31Z</dc:date>
    </item>
    <item>
      <title>repeating counter for common fields</title>
      <link>https://community.qlik.com/t5/QlikView/repeating-counter-for-common-fields/m-p/227062#M79200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Syed is right, the load sentence would be as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Data:&lt;BR /&gt;LOAD&lt;BR /&gt; Days,&lt;BR /&gt; [Shift Id],&lt;BR /&gt; if(Days = previous(Days) and [Shift Id] = previous([Shift Id]), peek('Index',-1) + 1,1) as Index&lt;BR /&gt;INLINE [&lt;BR /&gt;Days, Shift Id&lt;BR /&gt;4-10-2010, 12&lt;BR /&gt;4-10-2010, 12&lt;BR /&gt;4-10-2010, 14&lt;BR /&gt;4-10-2010, 14&lt;BR /&gt;5-10-2010, 15&lt;BR /&gt;5-10-2010, 15&lt;BR /&gt;5-10-2010, 15&lt;BR /&gt;5-10-2010, 15&lt;BR /&gt;5-10-2010, 15&lt;BR /&gt;5-10-2010, 15&lt;BR /&gt;];&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 14:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/repeating-counter-for-common-fields/m-p/227062#M79200</guid>
      <dc:creator />
      <dc:date>2010-10-04T14:51:57Z</dc:date>
    </item>
    <item>
      <title>repeating counter for common fields</title>
      <link>https://community.qlik.com/t5/QlikView/repeating-counter-for-common-fields/m-p/227063#M79201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 20:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/repeating-counter-for-common-fields/m-p/227063#M79201</guid>
      <dc:creator />
      <dc:date>2010-10-06T20:06:47Z</dc:date>
    </item>
  </channel>
</rss>

