<?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: Alert when new record is loaded in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762342#M18896</link>
    <description>&lt;P&gt;Hi... I got your idea, but it didn't worked as expected. I expect that only new records after reloading count for the alert.&lt;BR /&gt;&lt;BR /&gt;The ID 89 was the last one loaded, and it is new in the firsts reload. But after reloading the app one more time, it is still considering this as a new record (count new is your suggested formula), and it should not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sfbi_1-1605637539440.png" style="width: 540px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44312i04551D7CE5E7266A/image-dimensions/540x158?v=v2" width="540" height="158" role="button" title="sfbi_1-1605637539440.png" alt="sfbi_1-1605637539440.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me you if I missed something. Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 18:30:57 GMT</pubDate>
    <dc:creator>sfbi</dc:creator>
    <dc:date>2020-11-17T18:30:57Z</dc:date>
    <item>
      <title>Alert when new record is loaded</title>
      <link>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762285#M18894</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to create an Alert (Qlik Alerting SaaS) when a new record is loaded. Any idea on how to create a measure to compare it.&lt;BR /&gt;&lt;BR /&gt;The alert must be trigger when a new IDORDER is loaded on the app.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762285#M18894</guid>
      <dc:creator>sfbi</dc:creator>
      <dc:date>2024-11-16T01:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alert when new record is loaded</title>
      <link>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762327#M18895</link>
      <description>&lt;P&gt;Please create one measure like&lt;/P&gt;&lt;P&gt;If(RowNo(TOTAL)&amp;gt;Count(FieldName), 1,0)&lt;/P&gt;&lt;P&gt;Then created on alert based on this measure and see if that works?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 17:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762327#M18895</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-11-17T17:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alert when new record is loaded</title>
      <link>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762342#M18896</link>
      <description>&lt;P&gt;Hi... I got your idea, but it didn't worked as expected. I expect that only new records after reloading count for the alert.&lt;BR /&gt;&lt;BR /&gt;The ID 89 was the last one loaded, and it is new in the firsts reload. But after reloading the app one more time, it is still considering this as a new record (count new is your suggested formula), and it should not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sfbi_1-1605637539440.png" style="width: 540px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44312i04551D7CE5E7266A/image-dimensions/540x158?v=v2" width="540" height="158" role="button" title="sfbi_1-1605637539440.png" alt="sfbi_1-1605637539440.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me you if I missed something. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 18:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762342#M18896</guid>
      <dc:creator>sfbi</dc:creator>
      <dc:date>2020-11-17T18:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alert when new record is loaded</title>
      <link>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762394#M18897</link>
      <description>&lt;P&gt;How complex model you have?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762394#M18897</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-11-17T20:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Alert when new record is loaded</title>
      <link>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762561#M18898</link>
      <description>&lt;P&gt;If you meant data model... I can't print it it here from de data model, but there is:&lt;BR /&gt;&lt;BR /&gt;5 fact tables linked and 7 dimension tables... not complex in my perspective and few records for now.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 12:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1762561#M18898</guid>
      <dc:creator>sfbi</dc:creator>
      <dc:date>2020-11-18T12:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alert when new record is loaded</title>
      <link>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1763307#M18899</link>
      <description>&lt;P&gt;ok... I managed it on script.&lt;BR /&gt;&lt;BR /&gt;1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Let ThisExecTime = Timestamp(ConvertToLocalTime(Now(),'Brasilia',true),'YYYY-MM-DD hh:mm:ss');

[LASTLOAD]: //new table to store the last values.
Load
max(IDCAMPOCHECK) AS LASTIDCAMPOCHECK, //max to get the last loaded ID.
'$(ThisExecTime)' AS LASTTIME, //last load time for control only, not necessary for create the alert. 
if(max(IDCAMPOCHECK) = '$(LastIDCampoCheck)', 0, 1) AS FLNEW //compare the current loaded max ID, with the last value stored on the variable bellow. flag 0 is not new and 1 if new.
Resident [CAMPOCHECK];

//create the variable to store the last id loaded.
Let LastIDCampoCheck = Peek('LASTIDCAMPOCHECK',0,'LASTLOAD');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. then create a new measure name NEW ID = sum(FLNEW);&lt;BR /&gt;&lt;BR /&gt;3. create an alert using the NEW ID measure, and if its greater than 0, the alert is triggered.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 12:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/1763307#M18899</guid>
      <dc:creator>sfbi</dc:creator>
      <dc:date>2020-11-21T12:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Alert when new record is loaded</title>
      <link>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/2480200#M27958</link>
      <description>&lt;P&gt;This worked perfectly for my situation. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 15:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Alert-when-new-record-is-loaded/m-p/2480200#M27958</guid>
      <dc:creator>luizcdepaula</dc:creator>
      <dc:date>2024-09-06T15:01:48Z</dc:date>
    </item>
  </channel>
</rss>

