<?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 Logic Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Logic-Problem/m-p/1719807#M451779</link>
    <description>&lt;P&gt;The code seems to fine for me.&lt;/P&gt;&lt;P&gt;Can you try changing&amp;nbsp;&lt;SPAN&gt;NodeIDKunnr as&amp;nbsp;NodeIDKunnr1 in Temp1 and add the below code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Exists(NodeIDKunnr, NodeIDKunnr1)&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 17 Jun 2020 20:36:25 GMT</pubDate>
    <dc:creator>Saravanan_Desingh</dc:creator>
    <dc:date>2020-06-17T20:36:25Z</dc:date>
    <item>
      <title>Script Logic Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Logic-Problem/m-p/1719766#M451778</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Need a little script help.&amp;nbsp; I need to get only the customers which match&amp;nbsp; the ones in AncestorNodes and Temp1.&amp;nbsp; For some reason I'm getting all of them.&amp;nbsp; Can't figure out why my exists does not work.&amp;nbsp; Thanks&lt;/P&gt;&lt;P&gt;ExpandedNodeNames:&lt;BR /&gt;Hierarchy(NodeIDKunnr, ParentKunnr, Level, [ParentCustomerGroup], [Level], [Davey Customer Hierarchy], [ / ], DepthCostCenterGroup)&lt;BR /&gt;LOAD&lt;BR /&gt;Customer AS NodeIDKunnr, //NodeID&lt;BR /&gt;HgLvCust AS ParentKunnr, //ParentID&lt;BR /&gt;Customer AS Level&lt;BR /&gt;RESIDENT KNVH&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;ExpandedNodesCustomer:&lt;BR /&gt;Hierarchy(NodeIDKunnr, ParentIDGroup, Node, [ParentGroup], [Node])&lt;BR /&gt;LOAD&lt;BR /&gt;Customer AS NodeIDKunnr, //NodeID&lt;BR /&gt;HgLvCust AS ParentIDGroup, //ParentID&lt;BR /&gt;Customer AS Node&lt;/P&gt;&lt;P&gt;RESIDENT KNVH&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;//AncestorNodes:&lt;BR /&gt;Temp:&lt;BR /&gt;HierarchyBelongsTo (NodeIDKunnr, ParentIDCustomerGroup, Level, AncestorIDCustomerGroup, AncestorNameCustomerGroup, DepthDiffCustomerGroup)&lt;BR /&gt;LOAD&lt;BR /&gt;Customer AS NodeIDKunnr, //NodeID&lt;BR /&gt;HgLvCust AS ParentIDCustomerGroup, //ParentID&lt;BR /&gt;Customer AS Level&lt;BR /&gt;RESIDENT KNVH&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;DROP FIELD Level&lt;BR /&gt;;&lt;BR /&gt;NoConcatenate&lt;BR /&gt;AncestorNodes:&lt;BR /&gt;Load *&lt;BR /&gt;Resident Temp&lt;BR /&gt;;&lt;BR /&gt;DROP Table Temp&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;Temp1:&lt;BR /&gt;LOAD KUNNR,&lt;BR /&gt;NodeIDKunnr,&lt;BR /&gt;CustomerName&lt;BR /&gt;FROM&lt;BR /&gt;[D:\Qlikview\New Sales\QVD\KNA1Hierarchy.QVD] (qvd)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;Customers:&lt;BR /&gt;LOAD *&lt;BR /&gt;Resident Temp1&lt;BR /&gt;&lt;FONT color="#800080"&gt;WHERE exists (NodeIDKunnr,NodeIDKunnr)&lt;/FONT&gt;&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Drop Tables KNVH, Temp1&lt;BR /&gt;;&lt;BR /&gt;Exit SCRIPT;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Logic-Problem/m-p/1719766#M451778</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2024-11-16T00:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Script Logic Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Logic-Problem/m-p/1719807#M451779</link>
      <description>&lt;P&gt;The code seems to fine for me.&lt;/P&gt;&lt;P&gt;Can you try changing&amp;nbsp;&lt;SPAN&gt;NodeIDKunnr as&amp;nbsp;NodeIDKunnr1 in Temp1 and add the below code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Exists(NodeIDKunnr, NodeIDKunnr1)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Jun 2020 20:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Logic-Problem/m-p/1719807#M451779</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-17T20:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script Logic Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Logic-Problem/m-p/1719995#M451786</link>
      <description>&lt;P&gt;Got it to work.&amp;nbsp;&amp;nbsp; Did not read the customer table from memory.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 12:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Logic-Problem/m-p/1719995#M451786</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2020-06-18T12:21:11Z</dc:date>
    </item>
  </channel>
</rss>

