<?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 Avg order count per active partner - multi-fact table, slowly changing dimension and a common date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Avg-order-count-per-active-partner-multi-fact-table-slowly/m-p/2027127#M84658</link>
    <description>&lt;P&gt;Hi Guys,&lt;BR /&gt;What’s the best way to solve the following issue? I’d like to get the following chart.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrbratek_0-1674039718933.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98290iD4A5C0593F06F3FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="piotrbratek_0-1674039718933.png" alt="piotrbratek_0-1674039718933.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;E-commerce industry. There is a marketplace where you and me can sign a partnership agreement on a sort of Ebay platform and offer our products there. There is a KPI needed - “Avg order count per active partner”. The challenge is the partner base is changing (a partner can cancel the contract earlier) and the measure must be calculated within monthly periods. &amp;nbsp;We actually have two/three different processes (facts) &lt;BR /&gt;– orders, &lt;BR /&gt;– targets (for the KPI)&lt;BR /&gt;&lt;SPAN&gt;– and perhaps partner recruitment if we consider that as a fact. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In addition to that we have large data volumes (dozens of millions of rows, hundreds in the future) and actually the existing Fact table includes order details as well + perhaps some other facts. A simplified overview of data sources is presented below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avg_order_count_per_partner.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98292i42A3248D3F247CB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="avg_order_count_per_partner.jpg" alt="avg_order_count_per_partner.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorpiotrbratek_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;What would you do in terms of the data model and the final formula?&lt;/P&gt;
&lt;DIV id="tinyMceEditorpiotrbratek_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2023 11:25:57 GMT</pubDate>
    <dc:creator>piotr-bratek</dc:creator>
    <dc:date>2023-01-20T11:25:57Z</dc:date>
    <item>
      <title>Avg order count per active partner - multi-fact table, slowly changing dimension and a common date</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-order-count-per-active-partner-multi-fact-table-slowly/m-p/2027127#M84658</link>
      <description>&lt;P&gt;Hi Guys,&lt;BR /&gt;What’s the best way to solve the following issue? I’d like to get the following chart.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrbratek_0-1674039718933.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98290iD4A5C0593F06F3FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="piotrbratek_0-1674039718933.png" alt="piotrbratek_0-1674039718933.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;E-commerce industry. There is a marketplace where you and me can sign a partnership agreement on a sort of Ebay platform and offer our products there. There is a KPI needed - “Avg order count per active partner”. The challenge is the partner base is changing (a partner can cancel the contract earlier) and the measure must be calculated within monthly periods. &amp;nbsp;We actually have two/three different processes (facts) &lt;BR /&gt;– orders, &lt;BR /&gt;– targets (for the KPI)&lt;BR /&gt;&lt;SPAN&gt;– and perhaps partner recruitment if we consider that as a fact. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In addition to that we have large data volumes (dozens of millions of rows, hundreds in the future) and actually the existing Fact table includes order details as well + perhaps some other facts. A simplified overview of data sources is presented below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avg_order_count_per_partner.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98292i42A3248D3F247CB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="avg_order_count_per_partner.jpg" alt="avg_order_count_per_partner.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorpiotrbratek_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;What would you do in terms of the data model and the final formula?&lt;/P&gt;
&lt;DIV id="tinyMceEditorpiotrbratek_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 11:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-order-count-per-active-partner-multi-fact-table-slowly/m-p/2027127#M84658</guid>
      <dc:creator>piotr-bratek</dc:creator>
      <dc:date>2023-01-20T11:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Avg order count per active partner - multi-fact table, slowly changing dimension and a common date</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-order-count-per-active-partner-multi-fact-table-slowly/m-p/2028183#M84720</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"&amp;nbsp; the measure must be calculated within monthly periods"&lt;BR /&gt;... what if partner cancel partnership...? how is he then recognized&amp;nbsp;in given month... as active or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 09:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-order-count-per-active-partner-multi-fact-table-slowly/m-p/2028183#M84720</guid>
      <dc:creator>radoslawkorga</dc:creator>
      <dc:date>2023-01-20T09:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Avg order count per active partner - multi-fact table, slowly changing dimension and a common date</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-order-count-per-active-partner-multi-fact-table-slowly/m-p/2028217#M84725</link>
      <description>&lt;P&gt;Yes, it is - even 1 day is enough.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 10:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-order-count-per-active-partner-multi-fact-table-slowly/m-p/2028217#M84725</guid>
      <dc:creator>piotr-bratek</dc:creator>
      <dc:date>2023-01-20T10:51:30Z</dc:date>
    </item>
  </channel>
</rss>

