<?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: Target missing where no actual value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Target-missing-where-no-actual-value/m-p/1536869#M746119</link>
    <description>&lt;P&gt;Try to Concatenate to the table DelayTarget something like this:&lt;/P&gt;&lt;PRE&gt;Concatenate ([table name that contains DelayTarget]
Load Distinct Month(Day) as Month
 ,Category
,0 as DelayTarget
Resident [table that contains Delay, Day, Category]
Where not(Exists(_Month&amp;amp;Category, Month(Day) &amp;amp; Category))
;&lt;/PRE&gt;&lt;P&gt;Also, create the new field in the table that contains Delay, Day and Category:&lt;/P&gt;&lt;PRE&gt;Month(Day) &amp;amp; Category as _Month&amp;amp;Category&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The key words for your issue Concatenate and Exists&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jan 2019 05:39:16 GMT</pubDate>
    <dc:creator>MindaugasBacius</dc:creator>
    <dc:date>2019-01-30T05:39:16Z</dc:date>
    <item>
      <title>Target missing where no actual value</title>
      <link>https://community.qlik.com/t5/QlikView/Target-missing-where-no-actual-value/m-p/1536662#M746118</link>
      <description>&lt;P&gt;I have a dataset of &lt;STRONG&gt;Delay&lt;/STRONG&gt; by &lt;STRONG&gt;Day&lt;/STRONG&gt; by &lt;STRONG&gt;Category &lt;/STRONG&gt;(and many other Fields). I have another table of &lt;STRONG&gt;DelayTarget&lt;/STRONG&gt; by &lt;STRONG&gt;Month &lt;/STRONG&gt;and&lt;STRONG&gt; Category&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently associating the target table on &lt;STRONG&gt;Month &amp;amp; Category&lt;/STRONG&gt; but when there is no &lt;STRONG&gt;Delay&lt;/STRONG&gt; for a given &lt;STRONG&gt;Category&lt;/STRONG&gt; in a given &lt;STRONG&gt;Month&lt;/STRONG&gt;, then the &lt;STRONG&gt;DelayTarget &lt;/STRONG&gt;value does not display in my dashboard.&lt;/P&gt;&lt;P&gt;How do I associate the &lt;STRONG&gt;DelayTarget &lt;/STRONG&gt;to all &lt;STRONG&gt;Months &lt;/STRONG&gt;in my main dataset - even when there is no &lt;STRONG&gt;Delay&amp;nbsp;&lt;/STRONG&gt;to report? I think I want to create a Zero value for &lt;STRONG&gt;Delay&lt;/STRONG&gt; when it is null but I don't know how to do this or if this is the best method.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Target-missing-where-no-actual-value/m-p/1536662#M746118</guid>
      <dc:creator>stuhaigh</dc:creator>
      <dc:date>2024-11-16T21:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Target missing where no actual value</title>
      <link>https://community.qlik.com/t5/QlikView/Target-missing-where-no-actual-value/m-p/1536869#M746119</link>
      <description>&lt;P&gt;Try to Concatenate to the table DelayTarget something like this:&lt;/P&gt;&lt;PRE&gt;Concatenate ([table name that contains DelayTarget]
Load Distinct Month(Day) as Month
 ,Category
,0 as DelayTarget
Resident [table that contains Delay, Day, Category]
Where not(Exists(_Month&amp;amp;Category, Month(Day) &amp;amp; Category))
;&lt;/PRE&gt;&lt;P&gt;Also, create the new field in the table that contains Delay, Day and Category:&lt;/P&gt;&lt;PRE&gt;Month(Day) &amp;amp; Category as _Month&amp;amp;Category&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The key words for your issue Concatenate and Exists&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 05:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Target-missing-where-no-actual-value/m-p/1536869#M746119</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-01-30T05:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Target missing where no actual value</title>
      <link>https://community.qlik.com/t5/QlikView/Target-missing-where-no-actual-value/m-p/1540395#M746120</link>
      <description>&lt;P&gt;Thanks for the reply, but I can't get this to work.&lt;/P&gt;&lt;P&gt;My understanding of your proposed solution is that it would create 0 values for missing &lt;STRONG&gt;DelayTarget&lt;/STRONG&gt; but I want the 0 value to replace missing &lt;STRONG&gt;Delay &lt;/STRONG&gt;field values.&lt;/P&gt;&lt;P&gt;I've got as far as creating a cartesian product so I now have a table of all possible combinations of &lt;STRONG&gt;Day&lt;/STRONG&gt; and &lt;STRONG&gt;Category&lt;/STRONG&gt; with a 0 value for &lt;STRONG&gt;Delay&lt;/STRONG&gt;. I just don't know how to join this to my &lt;STRONG&gt;facts&lt;/STRONG&gt; table such that the missing &lt;STRONG&gt;Delay &lt;/STRONG&gt;values are replaced.&lt;/P&gt;&lt;PRE&gt;Missing:
NoConcatenate
LOAD Distinct
	Date as Missing.Day 
resident facts;

join
LOAD Distinct
	Category as	Missing.Category,
	0 As Missing.Delay
resident facts;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;(for the record the &lt;STRONG&gt;Date&lt;/STRONG&gt; field represents a complete list of all dates... just not for every &lt;STRONG&gt;Category&lt;/STRONG&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 15:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Target-missing-where-no-actual-value/m-p/1540395#M746120</guid>
      <dc:creator>stuhaigh</dc:creator>
      <dc:date>2019-02-06T15:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Target missing where no actual value</title>
      <link>https://community.qlik.com/t5/QlikView/Target-missing-where-no-actual-value/m-p/1540591#M746121</link>
      <description>&lt;P&gt;Use Concatenate.&lt;/P&gt;&lt;P&gt;I need recommend you studying this useful function:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Creating-Analytics/Understanding-Join-Keep-and-Concatenate/td-p/328379" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Creating-Analytics/Understanding-Join-Keep-and-Concatenate/td-p/328379&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptPrefixes/concatenate.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptPrefixes/concatenate.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 05:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Target-missing-where-no-actual-value/m-p/1540591#M746121</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-02-07T05:32:37Z</dc:date>
    </item>
  </channel>
</rss>

