<?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 Averaging dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Averaging-dates/m-p/2019669#M84197</link>
    <description>&lt;P&gt;Greetings,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Is there a way to formulate out a way to find that average date from a list of dates based on topic?&amp;nbsp; For example, I want to look at all of the components that deal with system A and see what the average date of expiration is for those components?&amp;nbsp; That way I can tell my customer that they need to start getting replacements before a specific date.&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2022 14:15:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-12-23T14:15:42Z</dc:date>
    <item>
      <title>Averaging dates</title>
      <link>https://community.qlik.com/t5/App-Development/Averaging-dates/m-p/2019669#M84197</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Is there a way to formulate out a way to find that average date from a list of dates based on topic?&amp;nbsp; For example, I want to look at all of the components that deal with system A and see what the average date of expiration is for those components?&amp;nbsp; That way I can tell my customer that they need to start getting replacements before a specific date.&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 14:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Averaging-dates/m-p/2019669#M84197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-23T14:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging dates</title>
      <link>https://community.qlik.com/t5/App-Development/Averaging-dates/m-p/2019684#M84198</link>
      <description>&lt;P&gt;Every date behaves like a number on the background. The numbers before the comma correspond with the date, the numbers after the comma with the time. You need to make a number of the date first by using: NUM(Date).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you take the average, there will probably be some numbers behind the comma. You can remove those by the function "FLOOR".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The final function you could use is:&lt;/P&gt;
&lt;P&gt;Date(FLOOR(AVG(NUM(DATE))))&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 15:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Averaging-dates/m-p/2019684#M84198</guid>
      <dc:creator>Rick2Foqus</dc:creator>
      <dc:date>2022-12-23T15:06:00Z</dc:date>
    </item>
  </channel>
</rss>

