<?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: Problem with sql code to qlikview code in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635089#M677181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that, but i don't know how can i make something similar to this sql script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Jun 2014 15:37:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-01T15:37:32Z</dc:date>
    <item>
      <title>Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635083#M677175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;I have a sql code, but i need to make something like it in qlikview. I tried different ways, but i stuck, someone got an ideas how can it be done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;ContactId&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;] &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;,[&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;PolicyEndDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;] &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;policyDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;PolicyNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;,[source] &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;,[policttype] &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;into&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt; #Candidates&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;from&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt; Policy &lt;SPAN style="color: blue;"&gt;WITH &lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;nolock&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;select&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;ContactID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;] &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;from&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt; #Candidates e&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;inner&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt; &lt;SPAN style="color: gray;"&gt;join&lt;/SPAN&gt; #Candidates s&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;ON&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;contactid&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;=&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;s&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;contactid&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;AND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt; e&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;policytype &lt;SPAN style="color: gray;"&gt;=&lt;/SPAN&gt; s&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;policytype&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;AND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt; e&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;source &lt;SPAN style="color: gray;"&gt;=&lt;/SPAN&gt; s&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;source&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;WHERE&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: fuchsia;"&gt;ABS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: fuchsia;"&gt;DATEDIFF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: fuchsia;"&gt;DAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;s&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;PolicyDate&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;PolicyEndDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt; &lt;SPAN style="color: gray;"&gt;&amp;lt;&lt;/SPAN&gt; 30 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;AND&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;Policy&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;s&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"&gt;Policy&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;GROUP BY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;ContactID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 12:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635083#M677175</guid>
      <dc:creator />
      <dc:date>2014-06-01T12:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635084#M677176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is the INTO clause in the first select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 13:36:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635084#M677176</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-06-01T13:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635085#M677177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just need to transform some how sql code into qlikview code, maybe i make a mistake typing sql code, but it is not the problem i am searching to solve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 13:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635085#M677177</guid>
      <dc:creator />
      <dc:date>2014-06-01T13:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635086#M677178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood your sql code, your query is doing in two steps what can be done in just one. Use only the second SELECT, with FROM POLICY and INNER JOIN POLICY instead of FROM #CANDIDATES and INNER JOIN #CANDIDATES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this wil work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 13:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635086#M677178</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-06-01T13:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635087#M677179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is i don't know how can i make somefing like &lt;/P&gt;&lt;P&gt;/////&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;select&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;ContactID&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;from&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt; #Candidates e&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;inner&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: gray;"&gt;join&lt;/SPAN&gt; #Candidates s&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;ON&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; list-style-type: lower-alpha; color: #3d3d3d;"&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;contactid&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;=&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;s&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;contactid&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="font-family: arial, sans-serif; color: #222222; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;AND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt; e&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;policytype &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: gray;"&gt;=&lt;/SPAN&gt; s&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;policytype&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;AND&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt; e&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;source &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: gray;"&gt;=&lt;/SPAN&gt; s&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;source&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;WHERE&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: fuchsia;"&gt;ABS&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: fuchsia;"&gt;DATEDIFF&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: fuchsia;"&gt;DAY&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;s&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;PolicyDate&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;PolicyEndDate&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: gray;"&gt;&amp;lt;&lt;/SPAN&gt; 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;AND&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;Policy&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;s&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New';"&gt;Policy&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: gray;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;/////&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;in qlikview. I can make sql select, but how can i make this work whight qvd files?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 14:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635087#M677179</guid>
      <dc:creator />
      <dc:date>2014-06-01T14:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635088#M677180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, from QVD files you use a Load command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 15:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635088#M677180</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-06-01T15:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635089#M677181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that, but i don't know how can i make something similar to this sql script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 15:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635089#M677181</guid>
      <dc:creator />
      <dc:date>2014-06-01T15:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635090#M677182</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;TempTable:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; [ContactID],&lt;/P&gt;&lt;P&gt;&amp;nbsp; policytype,&lt;/P&gt;&lt;P&gt;&amp;nbsp; source,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PolicyDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PolicyEndDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Policy&lt;/P&gt;&lt;P&gt;From QVDFile.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join(TempTable)&lt;/P&gt;&lt;P&gt;load [ContactID]&lt;/P&gt;&lt;P&gt;&amp;nbsp; policytye,&lt;/P&gt;&lt;P&gt;&amp;nbsp; source,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PolicyDate as PolicyDateS&lt;/P&gt;&lt;P&gt;&amp;nbsp; Policy as PolicyS&lt;/P&gt;&lt;P&gt;Resident TempTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load [ContactID]&lt;/P&gt;&lt;P&gt;Resident TempTable&lt;/P&gt;&lt;P&gt;Where Fabs(PolicyDateS - PolicyDateEnd) &amp;lt; 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; and Policy &amp;lt;&amp;gt; PolicyS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 15:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635090#M677182</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-06-01T15:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635091#M677183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14016388182664362" jivemacro_uid="_14016388182664362"&gt;
&lt;P&gt;Candidates_Temp:&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; contactid,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; policytype,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; source,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolicyDate,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolicyEndDate,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Policy&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;SPAN lang="EN-US"&gt;From Candidates.qvd (qvd);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;SPAN lang="EN-US"&gt;Inner join (Candidates_Temp) Load&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; contactid,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; policytype,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; source,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolicyDate as PolicyDate2,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolicyEndDate as PolicyEndDate2,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Policy as Policy2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;From Candidates.qvd (qvd);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Candidates:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Load Distinct&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; contactid&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Resident Candidates_Temp&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Where Fabs(PolicyDate2 - PolicyEndDate) &amp;lt; 30&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and Policy &amp;lt;&amp;gt; Policy2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Drop Table Candidates_Temp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 16:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635091#M677183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-01T16:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635092#M677184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you this way worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 17:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635092#M677184</guid>
      <dc:creator />
      <dc:date>2014-06-01T17:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sql code to qlikview code</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635093#M677185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you it is working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 17:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sql-code-to-qlikview-code/m-p/635093#M677185</guid>
      <dc:creator />
      <dc:date>2014-06-01T17:22:51Z</dc:date>
    </item>
  </channel>
</rss>

