<?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 Load Script to show only the values as per selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Script-to-show-only-the-values-as-per-selection/m-p/1971939#M1220583</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've below sample data from different data sets.&lt;/P&gt;
&lt;P&gt;Tab1:&lt;BR /&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;ID, Code&lt;BR /&gt;1, AB&lt;BR /&gt;2, AC&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Tab2:&lt;BR /&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;ID, QV&lt;BR /&gt;1, NFA&lt;BR /&gt;1, NFB&lt;BR /&gt;2, NFC&lt;BR /&gt;2, NFD&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Tab3:&lt;BR /&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;QV, Sale, Code1&lt;BR /&gt;NFA, 100, AA&lt;BR /&gt;NFB, 200, AB&lt;BR /&gt;NFC, 300, AC&lt;BR /&gt;NFD, 400, AD&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;After loading, in the front end I created filters for &lt;STRONG&gt;ID&lt;/STRONG&gt; and &lt;STRONG&gt;Code&lt;/STRONG&gt;, If I select &lt;STRONG&gt;ID&lt;/STRONG&gt; as&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;1&lt;/STRONG&gt; then code&amp;nbsp;&lt;STRONG&gt;AB&lt;/STRONG&gt; is activated. Now my requirement is if I select&amp;nbsp;ID as&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;nbsp;then code&amp;nbsp;&lt;STRONG&gt;AB&lt;/STRONG&gt; has to be activated along with that &lt;STRONG&gt;QV&lt;/STRONG&gt; has to display&amp;nbsp;&lt;STRONG&gt;NFB&lt;/STRONG&gt; and &lt;STRONG&gt;Sales&lt;/STRONG&gt; has to display&amp;nbsp;&lt;STRONG&gt;200&amp;nbsp;&lt;/STRONG&gt;and &lt;STRONG&gt;Code1&amp;nbsp;&lt;/STRONG&gt;has to display&amp;nbsp;&lt;STRONG&gt;AB&amp;nbsp;&lt;/STRONG&gt;only.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Barat Vikas&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42758"&gt;@PrashantSangle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Aug 2022 13:30:45 GMT</pubDate>
    <dc:creator>vikasshana</dc:creator>
    <dc:date>2022-08-23T13:30:45Z</dc:date>
    <item>
      <title>Load Script to show only the values as per selection</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-to-show-only-the-values-as-per-selection/m-p/1971939#M1220583</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've below sample data from different data sets.&lt;/P&gt;
&lt;P&gt;Tab1:&lt;BR /&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;ID, Code&lt;BR /&gt;1, AB&lt;BR /&gt;2, AC&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Tab2:&lt;BR /&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;ID, QV&lt;BR /&gt;1, NFA&lt;BR /&gt;1, NFB&lt;BR /&gt;2, NFC&lt;BR /&gt;2, NFD&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Tab3:&lt;BR /&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;QV, Sale, Code1&lt;BR /&gt;NFA, 100, AA&lt;BR /&gt;NFB, 200, AB&lt;BR /&gt;NFC, 300, AC&lt;BR /&gt;NFD, 400, AD&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;After loading, in the front end I created filters for &lt;STRONG&gt;ID&lt;/STRONG&gt; and &lt;STRONG&gt;Code&lt;/STRONG&gt;, If I select &lt;STRONG&gt;ID&lt;/STRONG&gt; as&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;1&lt;/STRONG&gt; then code&amp;nbsp;&lt;STRONG&gt;AB&lt;/STRONG&gt; is activated. Now my requirement is if I select&amp;nbsp;ID as&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;nbsp;then code&amp;nbsp;&lt;STRONG&gt;AB&lt;/STRONG&gt; has to be activated along with that &lt;STRONG&gt;QV&lt;/STRONG&gt; has to display&amp;nbsp;&lt;STRONG&gt;NFB&lt;/STRONG&gt; and &lt;STRONG&gt;Sales&lt;/STRONG&gt; has to display&amp;nbsp;&lt;STRONG&gt;200&amp;nbsp;&lt;/STRONG&gt;and &lt;STRONG&gt;Code1&amp;nbsp;&lt;/STRONG&gt;has to display&amp;nbsp;&lt;STRONG&gt;AB&amp;nbsp;&lt;/STRONG&gt;only.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Barat Vikas&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42758"&gt;@PrashantSangle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 13:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-to-show-only-the-values-as-per-selection/m-p/1971939#M1220583</guid>
      <dc:creator>vikasshana</dc:creator>
      <dc:date>2022-08-23T13:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script to show only the values as per selection</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-to-show-only-the-values-as-per-selection/m-p/1972201#M1220590</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Have a go at this remodelled script syntax&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;MergedTable:&lt;BR /&gt;LOAD QV, Sale, Code1 as Code,Code1&lt;BR /&gt;RESIDENT Tab3;&lt;/P&gt;
&lt;P&gt;LEFT JOIN(MergedTable)&lt;BR /&gt;LOAD ID, Code &lt;BR /&gt;RESIDENT Tab1;&lt;/P&gt;
&lt;P&gt;LEFT JOIN(MergedTable)&lt;BR /&gt;LOAD ID, QV&lt;BR /&gt;RESIDENT Tab2;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;DROP TABLE Tab3,Tab1,Tab2;&lt;/P&gt;
&lt;P&gt;EXIT SCRIPT;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Output&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peter_brown_0-1661298101410.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/87371i3E773F23DC31ECD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peter_brown_0-1661298101410.png" alt="peter_brown_0-1661298101410.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 23:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-to-show-only-the-values-as-per-selection/m-p/1972201#M1220590</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-08-23T23:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script to show only the values as per selection</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-to-show-only-the-values-as-per-selection/m-p/1972222#M1220591</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/3349"&gt;@vikasshana&lt;/a&gt;&amp;nbsp; Please follow the below script:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;Load QV, Sale, Code1 as Code, Code1&lt;BR /&gt;Inline&lt;BR /&gt;[&lt;BR /&gt;QV, Sale, Code1&lt;BR /&gt;NFA, 100, AA&lt;BR /&gt;NFB, 200, AB&lt;BR /&gt;NFC, 300, AC&lt;BR /&gt;NFD, 400, AD&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;left join (Temp)&lt;/P&gt;
&lt;P&gt;Load * inline [&lt;BR /&gt;ID, Code&lt;BR /&gt;1, AB&lt;BR /&gt;2, AC&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;left join (Temp)&lt;/P&gt;
&lt;P&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;ID, QV&lt;BR /&gt;1, NFA&lt;BR /&gt;1, NFB&lt;BR /&gt;2, NFC&lt;BR /&gt;2, NFD&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;exit Script;&lt;/P&gt;
&lt;P&gt;If this resolves the issue please like and accept it as a solution.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 03:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-to-show-only-the-values-as-per-selection/m-p/1972222#M1220591</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-08-24T03:12:13Z</dc:date>
    </item>
  </channel>
</rss>

