<?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: Load a sub-set of data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854763#M299642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use If within the load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RiskData:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Risk Owner],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Status] ='Active' , [Risk Owner]) as [Active Risk Owner],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 12:38:44 GMT</pubDate>
    <dc:creator>Colin-Albert</dc:creator>
    <dc:date>2015-06-09T12:38:44Z</dc:date>
    <item>
      <title>Load a sub-set of data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854762#M299641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm a newby whjo needs some help!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading a table of risk data, but I want to load an aditional sub-set of it as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as well as the 'Risk Owner' field, I want to develop a seperate field of 'Active Risk Owner', only where the 'Risk Status' is 'Active'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to figure out how to do this in the load script using IF and THEN statements, to no sucesses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If [Status] ='Active' Then [Risk Owner] as [Active Risk Owner],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I close??&lt;/P&gt;&lt;P&gt;Any suggestions??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854762#M299641</guid>
      <dc:creator />
      <dc:date>2015-06-09T12:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Load a sub-set of data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854763#M299642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use If within the load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RiskData:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Risk Owner],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Status] ='Active' , [Risk Owner]) as [Active Risk Owner],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854763#M299642</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-06-09T12:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Load a sub-set of data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854764#M299643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Status] &lt;/SPAN&gt;='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Active&lt;/SPAN&gt;',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Risk Owner]) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Active Risk Owner]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854764#M299643</guid>
      <dc:creator />
      <dc:date>2015-06-09T12:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Load a sub-set of data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854765#M299644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Colin - i wasn't that far off after all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;really appreciate your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854765#M299644</guid>
      <dc:creator />
      <dc:date>2015-06-09T12:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Load a sub-set of data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854766#M299645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that - it works now!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-sub-set-of-data/m-p/854766#M299645</guid>
      <dc:creator />
      <dc:date>2015-06-09T12:52:33Z</dc:date>
    </item>
  </channel>
</rss>

