<?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 calculate average time from string type in Dashboards &amp; Analytics Discussions</title>
    <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-average-time-from-string-type/m-p/4788#M503</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a dataset with certain time of completion. They were originally ij long/big int format, and dusing formatDuration() in incorta, i have transformed it to (days, hours:minutes:seconds) format. This conversion of format results in an output in the string datatype.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How can i construct a formula in incorta to get the average completion time in&amp;nbsp;(days, hours:minutes:seconds) format ?&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;TABLE width="373px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="83.9219px" height="57px"&gt;Task&amp;nbsp;&lt;/TD&gt;&lt;TD width="151.547px" height="57px"&gt;Time Spent&lt;/TD&gt;&lt;TD width="136.531px" height="57px"&gt;Formatted Time Spent&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83.9219px" height="30px"&gt;1&lt;/TD&gt;&lt;TD width="151.547px" height="30px"&gt;4009573&lt;/TD&gt;&lt;TD width="136.531px" height="30px"&gt;01:06:49&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83.9219px" height="30px"&gt;2&lt;/TD&gt;&lt;TD width="151.547px" height="30px"&gt;5630253&lt;/TD&gt;&lt;TD width="136.531px" height="30px"&gt;01:33:50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83.9219px" height="30px"&gt;3&lt;/TD&gt;&lt;TD width="151.547px" height="30px"&gt;10,103,173&lt;/TD&gt;&lt;TD width="136.531px" height="30px"&gt;02:48:23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83.9219px" height="30px"&gt;average:-&lt;/TD&gt;&lt;TD width="151.547px" height="30px"&gt;6580999.67&lt;/TD&gt;&lt;TD width="136.531px" height="30px"&gt;01:49:41&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2023 12:52:39 GMT</pubDate>
    <dc:creator>Ruchita</dc:creator>
    <dc:date>2023-08-08T12:52:39Z</dc:date>
    <item>
      <title>calculate average time from string type</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-average-time-from-string-type/m-p/4788#M503</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a dataset with certain time of completion. They were originally ij long/big int format, and dusing formatDuration() in incorta, i have transformed it to (days, hours:minutes:seconds) format. This conversion of format results in an output in the string datatype.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How can i construct a formula in incorta to get the average completion time in&amp;nbsp;(days, hours:minutes:seconds) format ?&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;TABLE width="373px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="83.9219px" height="57px"&gt;Task&amp;nbsp;&lt;/TD&gt;&lt;TD width="151.547px" height="57px"&gt;Time Spent&lt;/TD&gt;&lt;TD width="136.531px" height="57px"&gt;Formatted Time Spent&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83.9219px" height="30px"&gt;1&lt;/TD&gt;&lt;TD width="151.547px" height="30px"&gt;4009573&lt;/TD&gt;&lt;TD width="136.531px" height="30px"&gt;01:06:49&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83.9219px" height="30px"&gt;2&lt;/TD&gt;&lt;TD width="151.547px" height="30px"&gt;5630253&lt;/TD&gt;&lt;TD width="136.531px" height="30px"&gt;01:33:50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83.9219px" height="30px"&gt;3&lt;/TD&gt;&lt;TD width="151.547px" height="30px"&gt;10,103,173&lt;/TD&gt;&lt;TD width="136.531px" height="30px"&gt;02:48:23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83.9219px" height="30px"&gt;average:-&lt;/TD&gt;&lt;TD width="151.547px" height="30px"&gt;6580999.67&lt;/TD&gt;&lt;TD width="136.531px" height="30px"&gt;01:49:41&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 12:52:39 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-average-time-from-string-type/m-p/4788#M503</guid>
      <dc:creator>Ruchita</dc:creator>
      <dc:date>2023-08-08T12:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: calculate average time from string type</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-average-time-from-string-type/m-p/4797#M504</link>
      <description>&lt;P&gt;This video may give you some idea to solve this problem:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=E0HPEiRQyjc" target="_blank"&gt;https://www.youtube.com/watch?v=E0HPEiRQyjc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 13:25:57 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-average-time-from-string-type/m-p/4797#M504</guid>
      <dc:creator>anurag</dc:creator>
      <dc:date>2023-08-10T13:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: calculate average time from string type</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-average-time-from-string-type/m-p/4988#M551</link>
      <description>&lt;P&gt;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/805"&gt;@anurag&lt;/a&gt;&amp;nbsp;I liked the technique in the video. I put a comment on it. There is a limit to int() for conversion. I ran into this with very large millisecond counts. I was successful in using long() for the conversion with formatDuration().&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 21:32:38 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-average-time-from-string-type/m-p/4988#M551</guid>
      <dc:creator>marcpaige</dc:creator>
      <dc:date>2023-09-08T21:32:38Z</dc:date>
    </item>
  </channel>
</rss>

