<?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: Qualify breaks my script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19787#M3266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just curious: on which common fields are you performing those JOINs? Or is it your intention to perform two cartesian products?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2018 16:24:01 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2018-03-13T16:24:01Z</dc:date>
    <item>
      <title>Qualify breaks my script</title>
      <link>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19786#M3265</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 have a Problem with my Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as I put qualify and unqualify before, it just stops the import at the last tablefile without an errror. It appears to be doing something, but it doesn't for like 10 minutes. After that I decided, that something is wrong, as the import itself takes only about 2 Minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Qualify *;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;UNQUALIFY MLC_key;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;UNQUALIFY Plan_key;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Ist:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Material]&amp;amp;[Verkaufsorganisation]&amp;amp;[stat. Land]&amp;amp;[MMM.YY] as MLC_key,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Leading Product]&amp;amp;[Verkaufsorganisation]&amp;amp;[stat. Land]&amp;amp;[MMM.YY] as Plan_key,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; True_Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prev_Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [MMM.YY],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Verkaufsorganisation],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Verkaufsorganisation TEXT],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text([stat. Land]) as [stat. Land],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Material],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Material TEXT],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Markteinführungstermin],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Neuprodukt],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Rep_HaWa_Normal]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Leading Product_PMM]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Leading Product]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; &lt;/SPAN&gt;From \\qlikpv01\BusinessUnit\Ist_Temp.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Left Join LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Text((LP)) as [Leading Product_PMM], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text((LPC)) as [Leading Product Cluster TEXT_PMM], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BU as BU_PMM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;\\qlikpv01\businessunit\LP_LPC_BU.xlsx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, table is Tabelle1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Left Join LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Text((LP)) as [Leading Product], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text((LPC)) as [Leading Product Cluster TEXT], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BU as BU&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;\\qlikpv01\businessunit\LP_LPC_BU.xlsx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, table is clean);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone Help? This works perfectly fine, if I delete Qualify and Unqualify&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 16:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19786#M3265</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2018-03-13T16:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qualify breaks my script</title>
      <link>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19787#M3266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just curious: on which common fields are you performing those JOINs? Or is it your intention to perform two cartesian products?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 16:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19787#M3266</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-13T16:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Qualify breaks my script</title>
      <link>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19788#M3267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I acutally deleted the joined fields, as there are like 15 more and I did not wanted to overload this post. I fixed it in the original post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This script works absolutly fine, if I delete Qualify and Unqualify&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 08:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19788#M3267</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2018-03-14T08:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Qualify breaks my script</title>
      <link>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19789#M3268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well it helps if you post a representative script. The entire script is often best (if it's too extensive, add it as an attachment) because root causes for problems may be hidden in parts that you may think are not relevant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With respect to the Qualify problem, I devised this custom script for you to discover what happens when you try to JOIN qualified tables. Check it out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15210177896832172 jive_text_macro" jivemacro_uid="_15210177896832172" modifiedtitle="true"&gt;
&lt;P&gt;QUALIFY *;&lt;/P&gt;
&lt;P&gt;UNQUALIFY MLC_key, Plan_key;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;Ist:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;LOAD Mat &amp;amp; SalesOrg &amp;amp; MY AS MLC_key,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (Len(trim(LeadProd)) = 0, '999', LeadProd) &amp;amp; SalesOrg &amp;amp; MY AS Plan_key,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mat,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesOrg,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JoinField1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JoinField2&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;MY, Mat, SalesOrg, LeadProd, JoinField1, JoinField2&lt;/P&gt;
&lt;P&gt;201701, ABC, S1,, A, 1&lt;/P&gt;
&lt;P&gt;201801, DEF, S2, 123, B, 2&lt;/P&gt;
&lt;P&gt;]; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;LEFT JOIN&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;LOAD ID1 AS JoinField1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Txt1 AS JoinField1Text&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;ID1, Txt1&lt;/P&gt;
&lt;P&gt;A, TextA&lt;/P&gt;
&lt;P&gt;B, TextB&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;LEFT JOIN&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;LOAD ID2 AS JoinField2,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Txt2 AS JoinField2Text&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;ID2, Txt2&lt;/P&gt;
&lt;P&gt;1, NumberOne&lt;/P&gt;
&lt;P&gt;2, NumberTwo&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reload and have a look at how the JOINS get inserted into your table (and cause a couple of cartesian products). Indeed, when using QUALIFY, every table gets qualified &lt;EM&gt;right after it has been loaded&lt;/EM&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'ld better create the table first with JOINS and all, and then qualify-load it into another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 08:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19789#M3268</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-14T08:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Qualify breaks my script</title>
      <link>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19790#M3269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer. I don't get, why it says INLFED.* . This is not what the QlikView Manual says. But anyway this is what I wanted, but it is not working.&lt;/P&gt;&lt;P&gt;But acutally I found an easier way to achieve what I want, so I will not use Qualify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 09:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19790#M3269</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2018-03-14T09:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qualify breaks my script</title>
      <link>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19791#M3270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't remember the QlikView manual saying anything about the default name an INLINE LOAD gets when it doesn't get one from you. The INLFED is assigned by the script engine because no name was specified for that table, and the QUALIFY forces it to have one in order to use as a prefix for the containing fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Combining QUALIFY and JOINs creates internal conflicts that cannot be resolved. So you should avoid using them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close the discussion by marking Correct/Helpful any reply you feel has contributed towards resolving your issue. That way other Community members will know that you issue has been handled and doesn't need any further feedback. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 09:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19791#M3270</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-14T09:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qualify breaks my script</title>
      <link>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19792#M3271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I choose the table IST in my application I get the joined fields, so I assumed the joined tables are also qualified as IST. But anyway. Does not really matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will do. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 10:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qualify-breaks-my-script/m-p/19792#M3271</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2018-03-14T10:44:52Z</dc:date>
    </item>
  </channel>
</rss>

