<?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 Add a custom resetting Minute (Counter) Field in Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Add-a-custom-resetting-Minute-Counter-Field-in-Table/m-p/1542914#M39162</link>
    <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I want to have the minute to every Field in the Array (see below) like there would be the index of the field.&lt;/P&gt;&lt;P&gt;So its a resetting counter, which resets everytime, a new KEY_marker is different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Desired Output" style="width: 394px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5753i303359BFD3D74C8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="resetminute.PNG" alt="Desired Output" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Desired Output&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load Script with some testing:&lt;/P&gt;&lt;P&gt;Data comes from REST as JSON, its an Array like that:&lt;/P&gt;&lt;P&gt;"MASTER_DATA_DEVICE_ID": "",&lt;BR /&gt;"cpr_sum": [null,null,null, 88, 99, 87],&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ..."&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="From JSON REST" style="width: 557px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5754iC1F7D709C93E1636/image-size/large?v=v2&amp;amp;px=999" role="button" title="resetminute2.PNG" alt="From JSON REST" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;From JSON REST&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feels like im close, but don't know further&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:37:05 GMT</pubDate>
    <dc:creator>joshuahirsch</dc:creator>
    <dc:date>2024-11-16T06:37:05Z</dc:date>
    <item>
      <title>Add a custom resetting Minute (Counter) Field in Table</title>
      <link>https://community.qlik.com/t5/App-Development/Add-a-custom-resetting-Minute-Counter-Field-in-Table/m-p/1542914#M39162</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I want to have the minute to every Field in the Array (see below) like there would be the index of the field.&lt;/P&gt;&lt;P&gt;So its a resetting counter, which resets everytime, a new KEY_marker is different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Desired Output" style="width: 394px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5753i303359BFD3D74C8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="resetminute.PNG" alt="Desired Output" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Desired Output&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load Script with some testing:&lt;/P&gt;&lt;P&gt;Data comes from REST as JSON, its an Array like that:&lt;/P&gt;&lt;P&gt;"MASTER_DATA_DEVICE_ID": "",&lt;BR /&gt;"cpr_sum": [null,null,null, 88, 99, 87],&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ..."&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="From JSON REST" style="width: 557px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5754iC1F7D709C93E1636/image-size/large?v=v2&amp;amp;px=999" role="button" title="resetminute2.PNG" alt="From JSON REST" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;From JSON REST&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feels like im close, but don't know further&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-a-custom-resetting-Minute-Counter-Field-in-Table/m-p/1542914#M39162</guid>
      <dc:creator>joshuahirsch</dc:creator>
      <dc:date>2024-11-16T06:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Add a custom resetting Minute (Counter) Field in Table</title>
      <link>https://community.qlik.com/t5/App-Development/Add-a-custom-resetting-Minute-Counter-Field-in-Table/m-p/1543034#M39168</link>
      <description>&lt;P&gt;Ah nevermind, I knew i was close.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autoNumber(RowNo(),[__FK_cpr_sum]) as autoMinute&lt;/P&gt;&lt;P&gt;did the trick &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-a-custom-resetting-Minute-Counter-Field-in-Table/m-p/1543034#M39168</guid>
      <dc:creator>joshuahirsch</dc:creator>
      <dc:date>2019-02-12T13:31:00Z</dc:date>
    </item>
  </channel>
</rss>

