<?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: Scripting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scripting/m-p/409580#M699322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, if you need to get your data from SQL Server, you can simply use the sql statement as is and let SQL Server simply return the results to Qlikview. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This below puts the burden on Qlikview loading all records from Incident with the second select:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Select&amp;nbsp; ProfileFullName, Subject&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;FROM Incident&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;group by Subject,ProfileFullName&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;having COUNT(Subject) &amp;gt; 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;inner join&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Select ProfileFullName, Subject,IncidentNumber&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;FROM Incident;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally I'd let SQL Server do the work. That's a lot less data that has to be thrown over the net to Qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2013 19:44:59 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-01-09T19:44:59Z</dc:date>
    <item>
      <title>Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting/m-p/409579#M699321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following Query to generate my desired output in SQL Server. I want to replicate the same model in QlikView:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea behind the below query is to get the Incident Number where the user have created multiple tickets for the same issue in any given month and year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Select&amp;nbsp; ProfileFullName, Subject&lt;/P&gt;&lt;P&gt;&amp;nbsp; into #Temp1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM Incident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; group by Subject,ProfileFullName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; having COUNT(Subject) &amp;gt; 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; select i.ProfileFullName,i.Subject,i.IncidentNumber&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Incident i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; join #Temp1 t on t.ProfileFullName=i.ProfileFullName and i.Subject=t.Subject &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; order by i.ProfileFullName,i.Subject&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 19:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting/m-p/409579#M699321</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2013-01-09T19:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting/m-p/409580#M699322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, if you need to get your data from SQL Server, you can simply use the sql statement as is and let SQL Server simply return the results to Qlikview. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This below puts the burden on Qlikview loading all records from Incident with the second select:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Select&amp;nbsp; ProfileFullName, Subject&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;FROM Incident&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;group by Subject,ProfileFullName&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;having COUNT(Subject) &amp;gt; 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;inner join&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Select ProfileFullName, Subject,IncidentNumber&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;FROM Incident;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally I'd let SQL Server do the work. That's a lot less data that has to be thrown over the net to Qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 19:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting/m-p/409580#M699322</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-09T19:44:59Z</dc:date>
    </item>
  </channel>
</rss>

