<?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 How to complete empty fields with average values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-complete-empty-fields-with-average-values/m-p/1105051#M366030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi for All! Could anybody support me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; I want to find the value into [Payment Plan] within the Transformer Script process when:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Fiscal Week] = 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Period Week] = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) To complete the empty fields with average values between diferents intervals. For instance:&lt;/P&gt;&lt;P class="short_text" lang="en"&gt;When to find values into &lt;STRONG&gt;[Payment Plan]&lt;/STRONG&gt; on &lt;STRONG&gt;[Fiscal Week]&lt;/STRONG&gt;=16 and &lt;STRONG&gt;[Periodo Week]&lt;/STRONG&gt;=4; then SUM those values and after that take the average&amp;nbsp; (&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN style="text-decoration: underline;"&gt;divide by&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt; 28)&lt;/SPAN&gt; &lt;/SPAN&gt;and fill with this value each the following &lt;SPAN style="text-decoration: underline;"&gt;28 days&lt;/SPAN&gt; of &lt;STRONG&gt;[Fiscal Date]&lt;/STRONG&gt; and to insert inside &lt;STRONG&gt;[Payment Plan] &lt;/STRONG&gt;empty&lt;STRONG&gt; &lt;/STRONG&gt;fields&lt;STRONG&gt;... &lt;/STRONG&gt;until find the next value into &lt;STRONG&gt;[Payment Plan]&lt;/STRONG&gt; and&amp;nbsp; &lt;STRONG&gt;[Fiscal Week]&lt;/STRONG&gt;=20 and &lt;STRONG&gt;[Periodo Week]&lt;/STRONG&gt;=4 and do the same until find the next value,... so on and so forth...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought to apply &lt;EM&gt;INTERVALMATCH&lt;/EM&gt; function but i read to need 2 tables but I have all in one.&lt;/P&gt;&lt;P&gt;If anybody could guide me, please let me know. I appreciate so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for advance, &lt;SPAN class="gennavy"&gt;All the best &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.D.: I have all of these fields into mine Table.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130398_pastedImage_12.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2016 21:45:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-06T21:45:06Z</dc:date>
    <item>
      <title>How to complete empty fields with average values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-complete-empty-fields-with-average-values/m-p/1105051#M366030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi for All! Could anybody support me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; I want to find the value into [Payment Plan] within the Transformer Script process when:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Fiscal Week] = 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Period Week] = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) To complete the empty fields with average values between diferents intervals. For instance:&lt;/P&gt;&lt;P class="short_text" lang="en"&gt;When to find values into &lt;STRONG&gt;[Payment Plan]&lt;/STRONG&gt; on &lt;STRONG&gt;[Fiscal Week]&lt;/STRONG&gt;=16 and &lt;STRONG&gt;[Periodo Week]&lt;/STRONG&gt;=4; then SUM those values and after that take the average&amp;nbsp; (&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN style="text-decoration: underline;"&gt;divide by&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt; 28)&lt;/SPAN&gt; &lt;/SPAN&gt;and fill with this value each the following &lt;SPAN style="text-decoration: underline;"&gt;28 days&lt;/SPAN&gt; of &lt;STRONG&gt;[Fiscal Date]&lt;/STRONG&gt; and to insert inside &lt;STRONG&gt;[Payment Plan] &lt;/STRONG&gt;empty&lt;STRONG&gt; &lt;/STRONG&gt;fields&lt;STRONG&gt;... &lt;/STRONG&gt;until find the next value into &lt;STRONG&gt;[Payment Plan]&lt;/STRONG&gt; and&amp;nbsp; &lt;STRONG&gt;[Fiscal Week]&lt;/STRONG&gt;=20 and &lt;STRONG&gt;[Periodo Week]&lt;/STRONG&gt;=4 and do the same until find the next value,... so on and so forth...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought to apply &lt;EM&gt;INTERVALMATCH&lt;/EM&gt; function but i read to need 2 tables but I have all in one.&lt;/P&gt;&lt;P&gt;If anybody could guide me, please let me know. I appreciate so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for advance, &lt;SPAN class="gennavy"&gt;All the best &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.D.: I have all of these fields into mine Table.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130398_pastedImage_12.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 21:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-complete-empty-fields-with-average-values/m-p/1105051#M366030</guid>
      <dc:creator />
      <dc:date>2016-07-06T21:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete empty fields with average values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-complete-empty-fields-with-average-values/m-p/1105052#M366031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can break the tables into 2 tables and apply IntervalMatch. You can calculate the seconds table have averages and do the intervalmatch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can use While and&amp;nbsp; IterNO() function to generate the loops with in the keys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 15:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-complete-empty-fields-with-average-values/m-p/1105052#M366031</guid>
      <dc:creator />
      <dc:date>2016-07-07T15:51:02Z</dc:date>
    </item>
  </channel>
</rss>

