<?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 Re: Populate missing information in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Populate-missing-information/m-p/1154913#M634051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option would be to not use Avg() function but a division of your aggregated numbers by the selected number of weeks (or any other number that would return you the corret denominator)&lt;/P&gt;&lt;P&gt;=Sum( MeasureField) / Count(TOTAL DISTINCT Week)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jun 2016 20:15:05 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-20T20:15:05Z</dc:date>
    <item>
      <title>Populate missing information</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-missing-information/m-p/1154912#M634049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have reports for roughly 125 offices.&lt;/P&gt;&lt;P&gt;In my qlikview report I have one table with information about all 125 offices. This information is static and rarely changes.&lt;/P&gt;&lt;P&gt;I have a second Fact table that comes from weekly reports I receive.&lt;/P&gt;&lt;P&gt;The issue I am having is that the reports come only with the offices that have data to share. I need to populate a zero for the offices not listed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My office list are driven by office number. It is not a straight 1 through 125 but there are 125 numbers that each refer to the office.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The report I get is two columns: Office number and the another number field but this report only has lines for the offices that have a number to report. If it is Zero then it doesn't appear on the report. Is there a way to populate a Zero for these missing offices so an average would be a true average rather than an average of when they report a number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 14:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-missing-information/m-p/1154912#M634049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-20T14:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Populate missing information</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-missing-information/m-p/1154913#M634051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option would be to not use Avg() function but a division of your aggregated numbers by the selected number of weeks (or any other number that would return you the corret denominator)&lt;/P&gt;&lt;P&gt;=Sum( MeasureField) / Count(TOTAL DISTINCT Week)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 20:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-missing-information/m-p/1154913#M634051</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-20T20:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Populate missing information</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-missing-information/m-p/1154914#M634053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[This Week's Reports]:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; [Office]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,[Office] as [Reporting Office]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,[Number]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM somewhere&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CONCATENATE [This Week's Reports]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; [Office]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,0 as [Number]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RESIDENT [Offices]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;WHERE not exists([Reporting Office],[Office])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DROP FIELD [Reporting Office];&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 20:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-missing-information/m-p/1154914#M634053</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-06-20T20:20:20Z</dc:date>
    </item>
  </channel>
</rss>

