<?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: script help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88750#M14484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;if you want to make a join, you don't need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only&lt;/P&gt;&lt;P&gt;left join(M)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where do you have&amp;nbsp; 0 records ?&lt;/P&gt;&lt;P&gt;in M -&amp;gt; it means the load from T1 retrieves 0 record&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Sep 2018 14:47:25 GMT</pubDate>
    <dc:creator>olivierrobin</dc:creator>
    <dc:date>2018-09-03T14:47:25Z</dc:date>
    <item>
      <title>script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88749#M14483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the follow code in script:&lt;/P&gt;&lt;P&gt;M:&lt;/P&gt;&lt;P&gt;load Distinct&lt;/P&gt;&lt;P&gt;EquipmentId,&lt;/P&gt;&lt;P&gt;[Part Group],&lt;/P&gt;&lt;P&gt;Key_EMS,&lt;/P&gt;&lt;P&gt;System_Code&lt;/P&gt;&lt;P&gt;Resident T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(M)&lt;/P&gt;&lt;P&gt;M1:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Key_EMS, Install_Date,&lt;/P&gt;&lt;P&gt;Removal_Date,&lt;/P&gt;&lt;P&gt;Material_Age,&lt;/P&gt;&lt;P&gt;if(Total_Quantity_Installed&amp;gt;=1,1,Total_Quantity_Installed) as Total_Quantity_Installed&lt;/P&gt;&lt;P&gt;Resident MAWhere Total_Quantity_Installed &amp;lt;&amp;gt; 0;&lt;/P&gt;&lt;P&gt;drop Table M;&lt;/P&gt;&lt;P&gt;DROP Table MA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the &amp;lt;&amp;gt; 0 is not working i am still getting 0 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me where i am doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88749#M14483</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-03T14:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88750#M14484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;if you want to make a join, you don't need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only&lt;/P&gt;&lt;P&gt;left join(M)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where do you have&amp;nbsp; 0 records ?&lt;/P&gt;&lt;P&gt;in M -&amp;gt; it means the load from T1 retrieves 0 record&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88750#M14484</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-09-03T14:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88751#M14485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Oliver for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the below image &lt;IMG alt="T.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212510_T.PNG" style="height: 104px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;In Total quantity column it is not showing 0 but in chart it is showing 0.. I am not sure what is going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88751#M14485</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-03T14:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88752#M14486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;M:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load Distinct&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;EquipmentId,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Part Group],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Key_EMS,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;System_Code&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;left join(M)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;////////M1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Key_EMS,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Install_Date,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Removal_Date,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Material_Age,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Total_Quantity_Installed&amp;gt;=1,1,Total_Quantity_Installed) as Total_Quantity_Installed&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident MAWhere Total_Quantity_Installed &amp;lt;&amp;gt; 0;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;///////drop Table M;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;///////DROP Table MA;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88752#M14486</guid>
      <dc:creator>giovanneb</dc:creator>
      <dc:date>2018-09-03T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88753#M14487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Not working.. let me paste you the code with right names:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material_Master_final:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load Distinct&lt;/P&gt;&lt;P&gt;EquipmentId,&lt;/P&gt;&lt;P&gt;[Part Group],&lt;/P&gt;&lt;P&gt;Key_EMS,&lt;/P&gt;&lt;P&gt;System_Code&lt;/P&gt;&lt;P&gt;Resident Materials_Master_Raw;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(Material_Master_final)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Key_EMS, Install_Date,&lt;/P&gt;&lt;P&gt;Removal_Date,&lt;/P&gt;&lt;P&gt;Material_Age,&lt;/P&gt;&lt;P&gt;if(Total_Quantity_Installed&amp;gt;=1,1,Total_Quantity_Installed) as Total_Quantity_Installed&lt;/P&gt;&lt;P&gt;Resident MaterialAgeTable Where Total_Quantity_Installed &amp;lt;&amp;gt; 0;&lt;/P&gt;&lt;P&gt;drop Table Materials_Master_Raw;&lt;/P&gt;&lt;P&gt;DROP Table MaterialAgeTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88753#M14487</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-03T14:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88754#M14488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your listbox,&amp;nbsp; you have ONLY distinct values&lt;/P&gt;&lt;P&gt;in properties, show frequency and i think you will see that you have more than 1 row with the same value&lt;/P&gt;&lt;P&gt;so that the sum of all rows is 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88754#M14488</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-09-03T14:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88755#M14489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA app..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps and kindly let me know if i am missing something..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88755#M14489</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-03T14:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88756#M14490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you can see , the values are greyed meaning the don't apply to your selection&lt;/P&gt;&lt;P&gt;if you try to add a table object, you will see that your column is empty&lt;/P&gt;&lt;P&gt;that means it is null for this key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 15:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88756#M14490</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-09-03T15:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88757#M14491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah.. i need to remove those.. Can you please tell me how can i remove those..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 15:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88757#M14491</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-03T15:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88758#M14492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try to add a where clause in your load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where not(isnull(Total_Quantity_Installed))&lt;/P&gt;&lt;P&gt;it will work only if all your Key_EMS are in both table&lt;/P&gt;&lt;P&gt;In the contrary, add a new load after your join and add the clause at this point&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 15:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88758#M14492</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-09-03T15:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88759#M14493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added the below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material_Master_final:&lt;/P&gt;&lt;P&gt;load Distinct&lt;/P&gt;&lt;P&gt;EquipmentId,&lt;/P&gt;&lt;P&gt;[Part Group],&lt;/P&gt;&lt;P&gt;Key_EMS,&lt;/P&gt;&lt;P&gt;System_Code&lt;/P&gt;&lt;P&gt;Resident Materials_Master_Raw;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(Material_Master_final)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Key_EMS, Install_Date,&lt;/P&gt;&lt;P&gt;Removal_Date,&lt;/P&gt;&lt;P&gt;Material_Age,&lt;/P&gt;&lt;P&gt;if(Total_Quantity_Installed&amp;gt;=1,1,Total_Quantity_Installed) as Total_Quantity_Installed&lt;/P&gt;&lt;P&gt;Resident MaterialAgeTable&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;drop Table Materials_Master_Raw;&lt;/P&gt;&lt;P&gt;DROP Table MaterialAgeTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Final:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Load * Resident Material_Master_final&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Where&amp;nbsp; not(isnull(Total_Quantity_Installed)) ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;But this table is not loading at all.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 15:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88759#M14493</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-03T15:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88760#M14494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as it has the same structure as the preceeding table, they are concatenated&lt;/P&gt;&lt;P&gt;don't forget to use the noconcatenate prefix&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 15:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88760#M14494</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-09-03T15:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.qlik.com/t5/QlikView/script-help/m-p/88761#M14495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Olivier for your help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After using Noconcatenate i dropped the final table. Then i have &amp;gt;0 instead of not is null and then it is working..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 15:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-help/m-p/88761#M14495</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-03T15:31:42Z</dc:date>
    </item>
  </channel>
</rss>

