<?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: How to make a missing label selectable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90700#M601971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, gentlemen. I was able to work out a solution from both answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2018 08:26:12 GMT</pubDate>
    <dc:creator>mys-elf</dc:creator>
    <dc:date>2018-09-25T08:26:12Z</dc:date>
    <item>
      <title>How to make a missing label selectable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90693#M601964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently failing to solve the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a large statistics table with a plant.ID and a materials.ID as the unique key. In addition, I have a table where certain plant-material combinations are defined as exceptions with an exception text. Now I also want to make the combinations of my application selectable that are not exceptions and mark them as "normal".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a way out I thought something like that, but there is at least one error somewhere. Maybe it's too complicated and there's a much easier way to solve it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15374313502451769" jivemacro_uid="_15374313502451769" modifiedtitle="true"&gt;
&lt;P style="padding-left: 30px;"&gt;TMP.MATERIAL.ART.1:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;LOAD PLANT_MAT.ID as FOC.PLANT_MAT.ID,&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MATERIALS.ID,&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLANT.ID,&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOCUS.DESCRIPTION as MATERIALS.ART&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;FROM&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;(ooxml, embedded labels, table is [ABC-FOKUSPRODUKTE]);&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;TMP.MATERIAL.ART.2:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;LOAD PLANT.ID&amp;amp;'.'&amp;amp;MATERIALS.ID as FOC.PLANT_MAT.ID&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;FROM&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;(qvd)WHERE(CUSTOMER.ID &amp;lt;&amp;gt; '123450000') and (PLANT.ID &amp;gt;= '1234' and PLANT.ID &amp;lt;= '4321');&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;NoConcatenate&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;MATERIAL.ART:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;LOAD FOC.PLANT_MAT.ID,&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MATERIALS.ID,&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLANT.ID,&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MATERIALS.ART&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Resident TMP.MATERIAL.ART.1;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Concatenate(MATERIAL.ART)&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;LOAD FOC.PLANT_MAT.ID,&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;'Normal' as MATERIALS.ART&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Resident TMP.MATERIAL.ART.2&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;WHERE Not Exists(FOC.PLANT_MAT.ID);&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;DROP Tables TMP.MATERIAL.ART.1,TMP.MATERIAL.ART.2;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A LookUp or an ApplyMap were simply too slow with the amount of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 08:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90693#M601964</guid>
      <dc:creator>mys-elf</dc:creator>
      <dc:date>2018-09-20T08:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a missing label selectable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90694#M601965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is not working? You don't get any Material/Plant combinations tagged as 'Normal'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 08:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90694#M601965</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-09-20T08:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a missing label selectable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90695#M601966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW ApplyMap() is an extremely fast lookup function and often beats JOINs and copies. I really can't imagine that any other solution would be faster. What amount of data are we talking about; how many 'Normal' rows, and how many 'Abnormal' ones?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 09:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90695#M601966</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-09-20T09:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a missing label selectable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90696#M601967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 09:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90696#M601967</guid>
      <dc:creator>mys-elf</dc:creator>
      <dc:date>2018-09-20T09:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a missing label selectable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90697#M601968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;About 1.5 million abnormal and 10.0 million normal rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 09:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90697#M601968</guid>
      <dc:creator>mys-elf</dc:creator>
      <dc:date>2018-09-20T09:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a missing label selectable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90698#M601969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I can see, the most probably cause is the content of field FOC.PLANT_MAT.ID. You see, during script execution, a field (through its symbol table) combines all values present in all columns with the same name in all tables that were loaded previously. And the combination of FOC.PLANT_MAT.ID values probably spans &lt;EM&gt;all&lt;/EM&gt; values, both Normal and "Abnormal". The result is that the WHERE NOT EXISTS() in the last CONCATENATE LOAD doesn't really work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can solve this by creating a temporary field in the NOCONCATENATE LOAD, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MATERIAL.ART:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOCONCATENATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD FOC.PLANT_MAT.ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;FOC.PLANT_MAT.ID AS TEMP.FOC.PLANT_MAT.ID,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MATERIALS.ART&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RESIDENT TMP.MATERIAL.ART.1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now checking against this temporary field in the WHERE NOT EXISTS expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 09:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90698#M601969</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-09-20T09:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a missing label selectable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90699#M601970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about keeping the Exceptions separately?&lt;/P&gt;&lt;P&gt;aircode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET OtherSymbol = +;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Production:&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions:&lt;/P&gt;&lt;P&gt;LOAD Key, ..., 'Y' AS IsException FROM .....&lt;/P&gt;&lt;P&gt;CONCATENATE (Exception) LOAD '+'&amp;nbsp; AS Key, 'N' AS IsException AUTOGENERATE 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 10:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90699#M601970</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2018-09-20T10:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a missing label selectable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90700#M601971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, gentlemen. I was able to work out a solution from both answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 08:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-missing-label-selectable/m-p/90700#M601971</guid>
      <dc:creator>mys-elf</dc:creator>
      <dc:date>2018-09-25T08:26:12Z</dc:date>
    </item>
  </channel>
</rss>

