<?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 - Load Data According to given input file data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134817#M603794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be You can load all the data, but create a temp table to exclude those UN-necessary records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2018 15:25:28 GMT</pubDate>
    <dc:creator>BalaBhaskar_Qlik</dc:creator>
    <dc:date>2018-07-27T15:25:28Z</dc:date>
    <item>
      <title>Scripting - Load Data According to given input file data</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134814#M603791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Folks ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know the approach for achievement of a requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am having a sale table with me followed by Invoice number in that&lt;/P&gt;&lt;P&gt;Data should be loaded according to the input given by user&lt;/P&gt;&lt;P&gt;lets say with in all the invoice numbers available i want to load for only inv_no = 01,02,10,30 records from database while loading, if user gives 02,23,35 ... then consider as given from a file given by user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I/p file may be .txt or .csv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way i know to load such kind of data using a where condition, but all the time this approach is not applicable when the count is higher in No of input values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help me out of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kakani.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/17633"&gt;mbaeyens&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 13:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134814#M603791</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-07-27T13:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting - Load Data According to given input file data</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134815#M603792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to enter value for region dynamically by user input. Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vInvoiceNo = Input('Enter Invoice', 'Input box');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InvoiceInfo:&lt;/P&gt;&lt;P&gt;Load * from yourtable Where Invoice = '$(vInvoiceNo)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While reloading, its ask user to enter Invoice Number.&amp;nbsp; And it display those Invoice Number information alone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 14:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134815#M603792</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-27T14:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting - Load Data According to given input file data</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134816#M603793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean to say dynamic filter using input box with assigning a va&lt;SPAN style="font-size: 13.3333px;"&gt;riable&amp;nbsp; to that ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If so,let me explain about that&amp;nbsp; i want to load only particular records based on the file provided by user. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say we have N no of transactions and among them user wants few transactions of data only to be displayed while loading/Fetching from database based on the user list of transactions to consider.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we load only the invoice no's from a file given.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 15:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134816#M603793</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-07-27T15:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting - Load Data According to given input file data</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134817#M603794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be You can load all the data, but create a temp table to exclude those UN-necessary records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 15:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134817#M603794</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-27T15:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting - Load Data According to given input file data</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134818#M603795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;May be check this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create one variable for providing Input values. Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;vInput_Invoice&amp;nbsp; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In the script, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: '0\,0\,Courier New';"&gt;Let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: '0\,0\,Courier New';"&gt;vReplace_Invoice&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: blue;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: maroon;"&gt;vInput_Invoice&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: black;"&gt;,',','|');&lt;BR /&gt; &lt;BR /&gt; Temp_Input:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: '0\,0\,Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: blue;"&gt;Subfield&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: black;"&gt;('$(vReplace_Invoice)' ,'|') &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: maroon;"&gt;Inv_Number&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: blue;"&gt;AutoGenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: black;"&gt; 1;&lt;BR /&gt; &lt;BR /&gt; Sales:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: '0\,0\,Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: blue;"&gt;Where&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: blue;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: maroon;"&gt;Inv_Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: black;"&gt;);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: '0\,0\,Courier New';"&gt;DROP&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: blue;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: '0\,0\,Courier New'; color: black;"&gt; Temp_Input;&lt;BR /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/209122_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 15:27:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134818#M603795</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2018-07-27T15:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting - Load Data According to given input file data</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134819#M603796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;and what about this scenario ?&lt;/P&gt;&lt;P&gt;load InvoiceNumber from UserFile&lt;/P&gt;&lt;P&gt;load ..... from DataFile where exists(InvoiceNumber)&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where UserFIle is the file given by the user and containing the desired InvoiceNumbers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 15:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134819#M603796</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-07-27T15:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting - Load Data According to given input file data</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134820#M603797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a bunch &lt;STRONG&gt;Robin&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked perfectly.&lt;/P&gt;&lt;P&gt;Posting A sample to help other people like me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User_ip:&lt;/P&gt;&lt;P&gt;LOAD Invoice&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;..\include\InPut_data.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales:&lt;/P&gt;&lt;P&gt;LOAD Invoice, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEXT(Branch) AS Branch, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Qty, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;..\include\Sale_sample.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;Where Exists(Invoice)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 15:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Load-Data-According-to-given-input-file-data/m-p/134820#M603797</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-07-29T15:19:22Z</dc:date>
    </item>
  </channel>
</rss>

