<?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 Query Positioning in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Query-Positioning/m-p/1450556#M434218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a sql query that works fine when I run this in my SQLYog app. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM SW_PROD_RELEASE WHERE SWSUBTYPE IN ("Router","Data Switch","Firewall","Voice Switch");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use this in my Qlikview app to pull out what is in the ()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my Load and SQL statements in Qlikview. &lt;/P&gt;&lt;P&gt;Note: below is only part of the load and sql statements. If more is needed I may be able to provide it but I think this is enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer to run all my queries in the code here rather than using dimensions or expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QLIKVIEW Code Below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Flatfile:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ASSET_CLASS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PN.SWSUBTYPE ASSET_CLASS, (NOTE this is where the mapping happens for the sub-type to asset_class in the load statement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM GPS.SW_PROD_RELEASE PN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to limit what is being pulled out of the SW_PRODUCT_RELEASE table to what is in () in the SQLYog query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Oct 2017 17:54:38 GMT</pubDate>
    <dc:creator>pandreozzi</dc:creator>
    <dc:date>2017-10-13T17:54:38Z</dc:date>
    <item>
      <title>Query Positioning</title>
      <link>https://community.qlik.com/t5/QlikView/Query-Positioning/m-p/1450556#M434218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a sql query that works fine when I run this in my SQLYog app. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM SW_PROD_RELEASE WHERE SWSUBTYPE IN ("Router","Data Switch","Firewall","Voice Switch");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use this in my Qlikview app to pull out what is in the ()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my Load and SQL statements in Qlikview. &lt;/P&gt;&lt;P&gt;Note: below is only part of the load and sql statements. If more is needed I may be able to provide it but I think this is enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer to run all my queries in the code here rather than using dimensions or expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QLIKVIEW Code Below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Flatfile:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ASSET_CLASS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PN.SWSUBTYPE ASSET_CLASS, (NOTE this is where the mapping happens for the sub-type to asset_class in the load statement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM GPS.SW_PROD_RELEASE PN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to limit what is being pulled out of the SW_PRODUCT_RELEASE table to what is in () in the SQLYog query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 17:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-Positioning/m-p/1450556#M434218</guid>
      <dc:creator>pandreozzi</dc:creator>
      <dc:date>2017-10-13T17:54:38Z</dc:date>
    </item>
  </channel>
</rss>

