<?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 Script Help ideas in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179124#M46087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Fry!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jun 2010 20:26:13 GMT</pubDate>
    <dc:creator>ivandrago</dc:creator>
    <dc:date>2010-06-08T20:26:13Z</dc:date>
    <item>
      <title>Script Help ideas</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179119#M46082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt; I have the below query in sql server 2005, how would I create a qvd file for this as not sure how to handle inline views?&lt;/P&gt;&lt;P&gt;select&lt;BR /&gt; tablea.appointmentNo,&lt;BR /&gt; tablea.son,&lt;BR /&gt; tablea.PersonId,&lt;BR /&gt; case when app.callno is null then 0 else 1 end as LastCall,&lt;BR /&gt; cus.queue&lt;/P&gt;&lt;P&gt;from&lt;BR /&gt; tablea&lt;/P&gt;&lt;P&gt;left outer join (select son, max(appointmentNo) as lastAppointmentNo from tableb group by son) app&lt;BR /&gt; on tablea.son = app.son&lt;BR /&gt; and tablea.appointmentNo = app.lastAppointmentNo&lt;/P&gt;&lt;P&gt;left outer join (select son, queue, FixFromOpen from tablec union select son, queue,FixFromOpen from tabled&lt;BR /&gt; where not exists (select * from TableD z where z.callNo = tablec.CallNo)) cus&lt;BR /&gt; on tablea.son = cus.son&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;where&lt;BR /&gt; tablea.status='Live'&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 21:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179119#M46082</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2010-06-07T21:12:34Z</dc:date>
    </item>
    <item>
      <title>Script Help ideas</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179120#M46083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any experts out there? That can tell me if this can be done or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 23:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179120#M46083</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2010-06-07T23:38:23Z</dc:date>
    </item>
    <item>
      <title>Script Help ideas</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179121#M46084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;Perhaps I'm misunderstanding, but if you have the SQL query why don't you do one of these:&lt;/P&gt;&lt;P&gt;1) define it as a view in SQL and pull data from the view&lt;/P&gt;&lt;P&gt;2) inside your LOAD statement, just SQL SELECT the whole query you've just posted here&lt;/P&gt;&lt;P&gt;either of these will load the data from the query you've provided.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 23:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179121#M46084</guid>
      <dc:creator />
      <dc:date>2010-06-07T23:42:28Z</dc:date>
    </item>
    <item>
      <title>Script Help ideas</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179122#M46085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I want to avoid creating a view in sql server, how would you do 2) can you provide a starting example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 00:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179122#M46085</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2010-06-08T00:04:31Z</dc:date>
    </item>
    <item>
      <title>Script Help ideas</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179123#M46086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. My Semi-coloning might not be totally accurate. I'm writing this on the fly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;[My Table Name]:&lt;BR /&gt;LOAD&lt;BR /&gt;*;&lt;BR /&gt;SQL SELECT&lt;BR /&gt;tablea.appointmentNo,&lt;BR /&gt; tablea.son,&lt;BR /&gt; tablea.PersonId,&lt;BR /&gt; case when app.callno is null then 0 else 1 end as LastCall,&lt;BR /&gt; cus.queue&lt;BR /&gt;&lt;BR /&gt;from&lt;BR /&gt; tablea&lt;BR /&gt;&lt;BR /&gt; left outer join (select son, max(appointmentNo) as lastAppointmentNo from tableb group by son) app&lt;BR /&gt; on tablea.son = app.son&lt;BR /&gt; and tablea.appointmentNo = app.lastAppointmentNo&lt;BR /&gt;&lt;BR /&gt; left outer join (select son, queue, FixFromOpen from tablec union select son, queue,FixFromOpen from tabled&lt;BR /&gt; where not exists (select * from TableD z where z.callNo = tablec.CallNo)) cus&lt;BR /&gt; on tablea.son = cus.son&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;where&lt;BR /&gt; tablea.status='Live';&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 00:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179123#M46086</guid>
      <dc:creator />
      <dc:date>2010-06-08T00:10:51Z</dc:date>
    </item>
    <item>
      <title>Script Help ideas</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179124#M46087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Fry!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 20:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Help-ideas/m-p/179124#M46087</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2010-06-08T20:26:13Z</dc:date>
    </item>
  </channel>
</rss>

