<?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 Simple day average from 2 fact rows aggregated by order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-day-average-from-2-fact-rows-aggregated-by-order/m-p/1688587#M450517</link>
    <description>&lt;P&gt;Hello guys, I have a simple question about calculating average date diff (in days) between two facts of the same order.&lt;/P&gt;&lt;P&gt;Here is a sample data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik_DateDiff1.png" style="width: 264px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/30763iD1F71550FA80452D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik_DateDiff1.png" alt="Qlik_DateDiff1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result should be 4,4.&amp;nbsp;&lt;BR /&gt;I think I should use Aggr by Order Id but I don't know how to calculate the delta using the 2 Fact Types (SENT and DELIVERED).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik_DateDiff2.png" style="width: 217px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/30764i42922EBD5F96A1D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik_DateDiff2.png" alt="Qlik_DateDiff2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help with that measure? Thank you&lt;/P&gt;</description>
    <pubDate>Fri, 27 Mar 2020 16:50:38 GMT</pubDate>
    <dc:creator>FinService</dc:creator>
    <dc:date>2020-03-27T16:50:38Z</dc:date>
    <item>
      <title>Simple day average from 2 fact rows aggregated by order</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-day-average-from-2-fact-rows-aggregated-by-order/m-p/1688587#M450517</link>
      <description>&lt;P&gt;Hello guys, I have a simple question about calculating average date diff (in days) between two facts of the same order.&lt;/P&gt;&lt;P&gt;Here is a sample data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik_DateDiff1.png" style="width: 264px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/30763iD1F71550FA80452D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik_DateDiff1.png" alt="Qlik_DateDiff1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result should be 4,4.&amp;nbsp;&lt;BR /&gt;I think I should use Aggr by Order Id but I don't know how to calculate the delta using the 2 Fact Types (SENT and DELIVERED).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik_DateDiff2.png" style="width: 217px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/30764i42922EBD5F96A1D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik_DateDiff2.png" alt="Qlik_DateDiff2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help with that measure? Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 16:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-day-average-from-2-fact-rows-aggregated-by-order/m-p/1688587#M450517</guid>
      <dc:creator>FinService</dc:creator>
      <dc:date>2020-03-27T16:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Simple day average from 2 fact rows aggregated by order</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-day-average-from-2-fact-rows-aggregated-by-order/m-p/1695451#M450920</link>
      <description>&lt;P&gt;Best I have is the following, hopefully may put you on the right track:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 20:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-day-average-from-2-fact-rows-aggregated-by-order/m-p/1695451#M450920</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-04-21T20:50:47Z</dc:date>
    </item>
  </channel>
</rss>

