<?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 upload excel files in the source in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/upload-excel-files-in-the-source/m-p/1564512#M741888</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;i have&amp;nbsp; one table in which i am extracting the data&amp;nbsp; by adding those ID's in&amp;nbsp; the source every time. I want to automate through excel file so that to avoid everytime logging into the server and uploading those ID's in server,&lt;/P&gt;&lt;P&gt;For exxample i am giving the query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="5"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;SELECT * FROM l1.MEASURE &amp;nbsp;WHERE ID IN (&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;SELECT ID FROM MEA_PERIOD WHERE FR_ID=4 AND (TO_CHAR(START_DATETIME,'MON-YYYY') like TO_CHAR(CURRENT_DATE,'MON-YYYY') &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;or TO_CHAR(START_DATETIME,'MON-YYYY') like TO_CHAR((current_date-extract(day from current_date)),'MON-YYYY') )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;and ID IN (SELECT DISTINCT LO_ID FROM l1.P WHERE ID IN (&lt;FONT face="arial black,avant garde"&gt;122,693,733,763,703,803,973,1823,184)&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;AND&amp;nbsp;Code IN (10,20) and frid = 4 and STATUS='ACTIVE'); &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;---------------------&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;in which i want&amp;nbsp; to add ID's in excel file&amp;nbsp; to insert into datasource, how to do that&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>qlikapple</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>upload excel files in the source</title>
      <link>https://community.qlik.com/t5/QlikView/upload-excel-files-in-the-source/m-p/1564512#M741888</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;i have&amp;nbsp; one table in which i am extracting the data&amp;nbsp; by adding those ID's in&amp;nbsp; the source every time. I want to automate through excel file so that to avoid everytime logging into the server and uploading those ID's in server,&lt;/P&gt;&lt;P&gt;For exxample i am giving the query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="5"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;SELECT * FROM l1.MEASURE &amp;nbsp;WHERE ID IN (&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;SELECT ID FROM MEA_PERIOD WHERE FR_ID=4 AND (TO_CHAR(START_DATETIME,'MON-YYYY') like TO_CHAR(CURRENT_DATE,'MON-YYYY') &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;or TO_CHAR(START_DATETIME,'MON-YYYY') like TO_CHAR((current_date-extract(day from current_date)),'MON-YYYY') )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;and ID IN (SELECT DISTINCT LO_ID FROM l1.P WHERE ID IN (&lt;FONT face="arial black,avant garde"&gt;122,693,733,763,703,803,973,1823,184)&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;AND&amp;nbsp;Code IN (10,20) and frid = 4 and STATUS='ACTIVE'); &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;---------------------&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;in which i want&amp;nbsp; to add ID's in excel file&amp;nbsp; to insert into datasource, how to do that&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/upload-excel-files-in-the-source/m-p/1564512#M741888</guid>
      <dc:creator>qlikapple</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: upload excel files in the source</title>
      <link>https://community.qlik.com/t5/QlikView/upload-excel-files-in-the-source/m-p/1564518#M741889</link>
      <description>&lt;P&gt;Maybe you could do something like this?&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;Excel:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD Concat(ID,',') as IDs&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM MyExcel;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;let vMyIDs = peek('IDs', -1, 'Excel')&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;SQL
SELECT * FROM l1.MEASURE  WHERE ID IN (
SELECT ID FROM MEA_PERIOD WHERE FR_ID=4 AND (TO_CHAR(START_DATETIME,'MON-YYYY') like TO_CHAR(CURRENT_DATE,'MON-YYYY') 
or TO_CHAR(START_DATETIME,'MON-YYYY') like TO_CHAR((current_date-extract(day from current_date)),'MON-YYYY') )
)
and ID IN (SELECT DISTINCT LO_ID FROM l1.P WHERE ID IN (&lt;STRONG&gt;$(vMyIDs)&lt;/STRONG&gt;)

AND Code IN (10,20) and frid = 4 and STATUS='ACTIVE');

 &lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Apr 2019 11:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/upload-excel-files-in-the-source/m-p/1564518#M741889</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-03T11:57:19Z</dc:date>
    </item>
  </channel>
</rss>

