<?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: Use nested SQL for Excel Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24284#M780906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this related to qlikview?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 14:39:12 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2018-03-28T14:39:12Z</dc:date>
    <item>
      <title>Use nested SQL for Excel Load</title>
      <link>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24283#M780905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a nested SQL to load data from a datatbase. This works fine if my data are in a Database, but for loading the data from an Excel file this don't work.&amp;nbsp; I suppose it is not supported by the ODBC Driver for the Excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SQL is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;select&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt; a.T1 AS Data1, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt; a.T2 As Data2,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt; a.T3 AS Data3,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt; Count(a.T4) AS Data4,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt; (Select count(e.T4) FROM Table1 e WHERE e.T3 &amp;lt; a.T3 and e.T1 = a.T1 and e.T2 = a.T2) AS Data5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt; From Table1 a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt; Group by a.T1,a.T2,a.T3; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Maybe it is quiet simple, but I'm not able to find a solution I tried to load the tables and then work with resident tables. But this does not work. I also tried to find a solution with an Aggregation function in the diagram Formular, bu also there I do not find a solution. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24283#M780905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Use nested SQL for Excel Load</title>
      <link>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24284#M780906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this related to qlikview?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 14:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24284#M780906</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-03-28T14:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Use nested SQL for Excel Load</title>
      <link>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24285#M780907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is about the Skript to load the data to Qlikview&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 14:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24285#M780907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-28T14:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use nested SQL for Excel Load</title>
      <link>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24286#M780908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #575757;"&gt;Can you load the raw data from the Excel file into Qlik? If so, you could write aggregation in Qlik s&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;yntax.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 16:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24286#M780908</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-03-28T16:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use nested SQL for Excel Load</title>
      <link>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24287#M780909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I can load it from Excel into Qlik. It was my firt idea to write the Aggregation in QlikView Syntax. But first I was not successfull and second I thought it would be faster to do it in the Load Script as the File has several 1000 data rows and to calcualte it on time when displaying the graph seems quiet time consuming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an example how to write the Aggregation function in the Qlik Syntax?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 06:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24287#M780909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-29T06:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Use nested SQL for Excel Load</title>
      <link>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24288#M780910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is hard to give a solution without looking at your data in excel but may be you can do something like below&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;select &lt;/P&gt;&lt;P&gt;T1 AS Data1, &lt;/P&gt;&lt;P&gt;T2 As Data2,&lt;/P&gt;&lt;P&gt;T3 AS Data3,&lt;/P&gt;&lt;P&gt;T4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Table1 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;NoConcatenate Load&lt;/P&gt;&lt;P&gt;Data1, &lt;/P&gt;&lt;P&gt;Data2,&lt;/P&gt;&lt;P&gt;Data3,&lt;/P&gt;&lt;P&gt;T4,&lt;/P&gt;&lt;P&gt;If(Data1=Previous(Data1) AND Data2=Previous(Data2) AND Data3&amp;lt;Previous(Data3),1,0) as Flag&lt;/P&gt;&lt;P&gt;Resident Table&lt;/P&gt;&lt;P&gt;Order By Data1,Data2,Date3,T4&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;Drop Table Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(T1)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data1, &lt;/P&gt;&lt;P&gt;Data2,&lt;/P&gt;&lt;P&gt;Data3,&lt;/P&gt;&lt;P&gt;Count(T4) AS Data4&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Group By &lt;/P&gt;&lt;P&gt;Data1, &lt;/P&gt;&lt;P&gt;Data2,&lt;/P&gt;&lt;P&gt;Data3&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;Left Join(T1)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Data1, &lt;/P&gt;&lt;P&gt;Data2,&lt;/P&gt;&lt;P&gt;Data3,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(T4) AS Data5&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Where Flag=1&lt;/P&gt;&lt;P&gt;Group By &lt;/P&gt;&lt;P&gt;Data1, &lt;/P&gt;&lt;P&gt;Data2,&lt;/P&gt;&lt;P&gt;Data3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 07:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24288#M780910</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-03-29T07:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Use nested SQL for Excel Load</title>
      <link>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24289#M780911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works perfectly, Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 08:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-nested-SQL-for-Excel-Load/m-p/24289#M780911</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-29T08:59:32Z</dc:date>
    </item>
  </channel>
</rss>

