<?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: Complete commands - variable - from a file? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716506#M257589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is very helpful. Thank you!&lt;/P&gt;&lt;P&gt;(there might be a dozen or so target_values in one app, so I'd have to create a dozen variables ...)&lt;/P&gt;&lt;P&gt;Only one question: There is a reference to a field vVarFormula or so in the code - how does that have to look in the Excel file?&lt;/P&gt;&lt;P&gt;Could you perhaps create a small sample file (one or two lines) which this code could be based on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: It might be better, if you could do that, to do it in the other thread so that anyone else looking for that can find it easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 08:26:05 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-06-20T08:26:05Z</dc:date>
    <item>
      <title>Complete commands - variable - from a file?</title>
      <link>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716504#M257587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;`Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just trying to implement the following in all of my apps:&lt;/P&gt;&lt;P&gt;=&amp;gt; The target values (like e.g. 96% presence quota) should be stored in one central xls file instead of being hard-coded in the apps.&lt;/P&gt;&lt;P&gt;=&amp;gt; To avoid the additional effort for anyone creating a new display in QlikView, I can generate the complete SET_command in Excel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with the ',' replaced by a '.' and such.&lt;/P&gt;&lt;P&gt;=&amp;gt; Can I somehow make QlikView execute those commands once they have been loaded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 07:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716504#M257587</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-06-20T07:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Complete commands - variable - from a file?</title>
      <link>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716505#M257588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an example of code that loads an excel file and create variables from that data: &lt;A href="https://community.qlik.com/message/551707"&gt;Re: How does this code work?Creating variables using loop&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 08:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716505#M257588</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-20T08:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Complete commands - variable - from a file?</title>
      <link>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716506#M257589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is very helpful. Thank you!&lt;/P&gt;&lt;P&gt;(there might be a dozen or so target_values in one app, so I'd have to create a dozen variables ...)&lt;/P&gt;&lt;P&gt;Only one question: There is a reference to a field vVarFormula or so in the code - how does that have to look in the Excel file?&lt;/P&gt;&lt;P&gt;Could you perhaps create a small sample file (one or two lines) which this code could be based on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: It might be better, if you could do that, to do it in the other thread so that anyone else looking for that can find it easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 08:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716506#M257589</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-06-20T08:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Complete commands - variable - from a file?</title>
      <link>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716507#M257590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't bother. I made it now. Took me a while, but I think that's worthwhile.&lt;/P&gt;&lt;P&gt;The field 'varValue' must only contain the actual value - well, then again, it might be worthwhile writing that hint in the other thread ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 09:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716507#M257590</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-06-20T09:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Complete commands - variable - from a file?</title>
      <link>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716508#M257591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something still seems to be wrong.&lt;/P&gt;&lt;P&gt;I have the code working now - it creates all the variables I need based on the Excel file - all but two ..&lt;/P&gt;&lt;P&gt;I have already edited the fields in the Excel file to eliminate blanks, but for two lines - the second and third record which are loaded (so i should have the values 1 and 2), no variable is generated and I cannot explain why?&lt;/P&gt;&lt;P&gt;Can you help me there?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: OK, forget it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; I tricked myself - after I had taken out the blanks from the Excel file, I changed the name (in the Excel file), copied it to QlikView - and forgot to use the AS option to eliminate the blanks &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 09:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complete-commands-variable-from-a-file/m-p/716508#M257591</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-06-20T09:50:38Z</dc:date>
    </item>
  </channel>
</rss>

