<?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: Reading Excel file in SEnse in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-Excel-file-in-SEnse/m-p/1253082#M6779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example of mine, where you can read in the variables defined in excel into Qlik Sense application:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In every QlikView application, we have expressions, labels, color definitions, variables, etc. Just thinking of the expressions, if we write them in QlikView, every time, we have to change the expressions, we have to change it within each chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By defining the expressions, labels and colors at one place outside the QlikView application, we are able to manage changes in much more convenient way and even reuse it within other applications. This might be important when using, corporate colors, slogans, titles, etc.&lt;/P&gt;&lt;P class="blog-entry-body" style="padding: 0 0 10px; font-size: 15.008000373840332px; color: #58595b; font-family: Lato, sans-serif;"&gt;I have created an excel file with several sheets, named it GUI_PARAMS.xlsx and put it into the same directory where the QlikView application is. The first sheet contains the sheet names within the excel file, which will be read in to the application and we will call this sheet vSHEETS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bildschirmfoto 2017-02-04 um 08.35.23" class="imageStyle jive-image" height="113" src="http://www.qlik-blog.com/files/bildschirmfoto-2017-02-04-um-08.35.23.png" width="265" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, I have three sheets vCOLOR, vLABEL and vVARIABLES_CALC, which will be processed. I have created each of these sheets with the same names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bildschirmfoto 2017-02-04 um 08.38.07" class="imageStyle jive-image" height="32" src="http://www.qlik-blog.com/files/bildschirmfoto-2017-02-04-um-08.38.07.png" width="434" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of the sheets containing to columns (column name with the sheet name and the Entry column) containing the variable name and the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bildschirmfoto 2017-02-04 um 08.39.34" class="imageStyle jive-image" height="94" src="http://www.qlik-blog.com/files/bildschirmfoto-2017-02-04-um-08.39.34.png" width="300" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script editor of the QlikView application, we can include this code below, which will read in the vSHEETS sheet and then based on the entries on this sheet, read out all other content of the sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="margin: 18px 0; padding: 8px 11px; font-family: 'Courier New', Courier, monospace;"&gt;PARAM_TMP: &lt;BR /&gt;LOAD vSHEET, Entry&lt;BR /&gt;FROM [lib://Folder/GUI_Params.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is vSHEETS)where not isnull(vSHEET);&lt;BR /&gt;&lt;BR /&gt;FOR I = 0 TO NoOfRows('PARAM_TMP') -1&lt;BR /&gt;vSHEET = PEEK('vSHEET',$(I),'PARAM_TMP');&lt;BR /&gt;LET $(vSHEET) = PEEK('Entry',$(I),'PARAM_TMP');&lt;BR /&gt;&lt;BR /&gt;$($(vSHEET)):&lt;BR /&gt;LOAD $($(vSHEET)) ,Entry&lt;BR /&gt;FROM [lib://Folder/GUI_Params.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is $($(vSHEET)));&lt;BR /&gt;&lt;BR /&gt;FOR I_2 = 0 TO NoOfRows('$($(vSHEET))')&lt;BR /&gt;vSHEET_2 = PEEK('$($(vSHEET))',$(I_2),'$($(vSHEET))');&lt;BR /&gt;LET $(vSHEET_2) = PEEK('Entry',$(I_2),'$($(vSHEET))');&lt;BR /&gt;NEXT I_2&lt;BR /&gt;&lt;BR /&gt;DROP TABLES $($(vSHEET));&lt;BR /&gt;&lt;BR /&gt;NEXT I&lt;BR /&gt;DROP TABLES PARAM_TMP; &lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;When you run the script, you will see the entries in the Variable Overview (under Settings).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oktay &lt;/P&gt;&lt;P&gt;www.qlik-blog.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Feb 2017 10:36:52 GMT</pubDate>
    <dc:creator>itec_pao</dc:creator>
    <dc:date>2017-02-13T10:36:52Z</dc:date>
    <item>
      <title>Reading Excel file in SEnse</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-Excel-file-in-SEnse/m-p/1253079#M6776</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;how can I read Excel file in Sense?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 14:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-Excel-file-in-SEnse/m-p/1253079#M6776</guid>
      <dc:creator>clovati</dc:creator>
      <dc:date>2016-11-15T14:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in SEnse</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-Excel-file-in-SEnse/m-p/1253080#M6777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi cristina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you mean loading data into sense from excel, then check out the following in the Qliksense help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/1.1/Subsystems/Hub/Content/LoadData/SelectDataFromMicrosoftExcelFile.htm"&gt;https://help.qlik.com/en-US/sense/1.1/Subsystems/Hub/Content/LoadData/SelectDataFromMicrosoftExcelFile.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 14:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-Excel-file-in-SEnse/m-p/1253080#M6777</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2016-11-15T14:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in SEnse</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-Excel-file-in-SEnse/m-p/1253081#M6778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ehm.. I mean my Excel file with variables (I used it in QlikView)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 15:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-Excel-file-in-SEnse/m-p/1253081#M6778</guid>
      <dc:creator>clovati</dc:creator>
      <dc:date>2016-11-15T15:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in SEnse</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-Excel-file-in-SEnse/m-p/1253082#M6779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example of mine, where you can read in the variables defined in excel into Qlik Sense application:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In every QlikView application, we have expressions, labels, color definitions, variables, etc. Just thinking of the expressions, if we write them in QlikView, every time, we have to change the expressions, we have to change it within each chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By defining the expressions, labels and colors at one place outside the QlikView application, we are able to manage changes in much more convenient way and even reuse it within other applications. This might be important when using, corporate colors, slogans, titles, etc.&lt;/P&gt;&lt;P class="blog-entry-body" style="padding: 0 0 10px; font-size: 15.008000373840332px; color: #58595b; font-family: Lato, sans-serif;"&gt;I have created an excel file with several sheets, named it GUI_PARAMS.xlsx and put it into the same directory where the QlikView application is. The first sheet contains the sheet names within the excel file, which will be read in to the application and we will call this sheet vSHEETS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bildschirmfoto 2017-02-04 um 08.35.23" class="imageStyle jive-image" height="113" src="http://www.qlik-blog.com/files/bildschirmfoto-2017-02-04-um-08.35.23.png" width="265" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, I have three sheets vCOLOR, vLABEL and vVARIABLES_CALC, which will be processed. I have created each of these sheets with the same names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bildschirmfoto 2017-02-04 um 08.38.07" class="imageStyle jive-image" height="32" src="http://www.qlik-blog.com/files/bildschirmfoto-2017-02-04-um-08.38.07.png" width="434" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of the sheets containing to columns (column name with the sheet name and the Entry column) containing the variable name and the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bildschirmfoto 2017-02-04 um 08.39.34" class="imageStyle jive-image" height="94" src="http://www.qlik-blog.com/files/bildschirmfoto-2017-02-04-um-08.39.34.png" width="300" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script editor of the QlikView application, we can include this code below, which will read in the vSHEETS sheet and then based on the entries on this sheet, read out all other content of the sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="margin: 18px 0; padding: 8px 11px; font-family: 'Courier New', Courier, monospace;"&gt;PARAM_TMP: &lt;BR /&gt;LOAD vSHEET, Entry&lt;BR /&gt;FROM [lib://Folder/GUI_Params.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is vSHEETS)where not isnull(vSHEET);&lt;BR /&gt;&lt;BR /&gt;FOR I = 0 TO NoOfRows('PARAM_TMP') -1&lt;BR /&gt;vSHEET = PEEK('vSHEET',$(I),'PARAM_TMP');&lt;BR /&gt;LET $(vSHEET) = PEEK('Entry',$(I),'PARAM_TMP');&lt;BR /&gt;&lt;BR /&gt;$($(vSHEET)):&lt;BR /&gt;LOAD $($(vSHEET)) ,Entry&lt;BR /&gt;FROM [lib://Folder/GUI_Params.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is $($(vSHEET)));&lt;BR /&gt;&lt;BR /&gt;FOR I_2 = 0 TO NoOfRows('$($(vSHEET))')&lt;BR /&gt;vSHEET_2 = PEEK('$($(vSHEET))',$(I_2),'$($(vSHEET))');&lt;BR /&gt;LET $(vSHEET_2) = PEEK('Entry',$(I_2),'$($(vSHEET))');&lt;BR /&gt;NEXT I_2&lt;BR /&gt;&lt;BR /&gt;DROP TABLES $($(vSHEET));&lt;BR /&gt;&lt;BR /&gt;NEXT I&lt;BR /&gt;DROP TABLES PARAM_TMP; &lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;When you run the script, you will see the entries in the Variable Overview (under Settings).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oktay &lt;/P&gt;&lt;P&gt;www.qlik-blog.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 10:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-Excel-file-in-SEnse/m-p/1253082#M6779</guid>
      <dc:creator>itec_pao</dc:creator>
      <dc:date>2017-02-13T10:36:52Z</dc:date>
    </item>
  </channel>
</rss>

