<?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: Can you use a nested variable when improrting variables from an Excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615020#M1112231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will replace the $'s to prevent Qv attempting to expand the $(=..):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;LOAD Variable, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Replace(Expression, '$', '#') As Expression,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Usage&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [Sheet1$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vNumberOfRows = NoOfRows('Expressions');&lt;/P&gt;&lt;P&gt;For vI = 0 to (vNumberOfRows - 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vVariable_Name = Peek('Variable',vI,'Expression');&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let [$(vVariable_Name)] = Replace(Peek('Expression',vI,'Expression'), '#', '$');&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is similar to Marcus' post in the other thread and what I have used for the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 11:13:00 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2014-03-10T11:13:00Z</dc:date>
    <item>
      <title>Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615015#M1112226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have decided to load all my variables in from a spreadsheet as it was suggested as best practice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most variables are working just fine through this technique, however the ones which are failing to return results are the variables which have variables within them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e.&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Fractile&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FactDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=v_Start_Date_ED)&amp;lt;=$(=v_End_Date_ED)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total Wait]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0.95)/1440, 'hh:mm') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_Start_Date_ED and v_End_Date_ED are also variables, and I was wondering why my entire variable was not working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone kindly let me know if you can refer to a variable within a variable when laoding in from a spreadsheet using the following code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// Load Expressions to variable for user simplicity&lt;BR /&gt;// *** MOD This table was move to the User Interface load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Expressions:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Variable&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Expression&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Usage&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;biff&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; [Sheet1$]);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vNumberOfRows&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Expressions');&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;For&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vI&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vNumberOfRows&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; - 1)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vVariable_Name&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Variable',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vI&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'Expression');&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;[$(vVariable_Name)]&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Expression',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vI&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'Expression');&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Next&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 15:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615015#M1112226</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2014-03-07T15:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615016#M1112227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that the nesting is the problem. Did you make sure the variables &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;v_Start_Date_ED and v_End_Date_ED&lt;/SPAN&gt; actually contain numeric date values by the time they're used in the expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 15:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615016#M1112227</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-07T15:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615017#M1112228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope this is helpful for you:&lt;A href="https://community.qlik.com/message/358055"&gt;Re: Setting a variable in script...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 15:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615017#M1112228</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-03-07T15:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615018#M1112229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the article that you have kindly posted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is load in my variables from an excel spreadsheet and refrain from doing any writing of the variables in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Create my calculation variable&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;v_TotalWait_95thCentile&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Time(Fractile({$&amp;lt;FactDate = {"&amp;gt;=$(=v_Start_Date_ED)&amp;lt;=$(=v_End_Date_ED)"}&amp;gt;}[Total Wait],0.95)/1440, 'hh:mm')';&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;v_TotalWait_95thCentile&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(v_TotalWait_95thCentile)', '#', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(36)); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am however not sure what I want to replace? &lt;SPAN style="font-size: 8pt;"&gt;Are you able to help as to what I should be replacing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gysbert mentioned that I should think about the date format, so I made the following change:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Fractile&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FactDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=date(v_Start_Date_ED),'DD/MM/YYYY')&amp;lt;=$(=Date(v_End_Date_ED),'DD/MM/YYYY')"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TotalWait]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0.95)/1440, 'hh:mm') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;But this does not seem to be able to interact with my master calender&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Helen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 10:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615018#M1112229</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2014-03-10T10:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615019#M1112230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gysbert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the formula in my spreasdsheet to be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_Start_Date_ED = Date(Min({&amp;lt;data_source={'Main ED'}&amp;gt;}FactDate),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;My expression which is looking at the v_Start_Date_ED is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time(Fractile({$&amp;lt;FactDate = {"&amp;gt;=$(=date(v_Start_Date_ED),'DD/MM/YYYY')&amp;lt;=$(=Date(v_End_Date_ED),'DD/MM/YYYY')"}&amp;gt;}[Total Wait],0.95)/1440, 'hh:mm')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem is that when v_Start_Date_ED loads in, it actually comes in as 41356 instead of 25/03/2014 etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Time(Fractile statement then fails to work with the master calender, could you kindly provide any advice on how I can get my two expressions to interact with each other?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 10:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615019#M1112230</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2014-03-10T10:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615020#M1112231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will replace the $'s to prevent Qv attempting to expand the $(=..):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;LOAD Variable, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Replace(Expression, '$', '#') As Expression,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Usage&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [Sheet1$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vNumberOfRows = NoOfRows('Expressions');&lt;/P&gt;&lt;P&gt;For vI = 0 to (vNumberOfRows - 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vVariable_Name = Peek('Variable',vI,'Expression');&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let [$(vVariable_Name)] = Replace(Peek('Expression',vI,'Expression'), '#', '$');&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is similar to Marcus' post in the other thread and what I have used for the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 11:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615020#M1112231</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-10T11:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615021#M1112232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;I haven't read your post carefully enough. Through your extern variable-load and allocation per peak() you haven't an issue with the $-sign and did'nt needed to replace anything&lt;/SPAN&gt;. I'm not sure yet &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you to load your FactDate twice, one as your Key to other tables and one as num(FactDate) as FactDateNum for calculation needs. Your formulas without formatings inside will be easier, less error-prone and have more performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 11:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615021#M1112232</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-03-10T11:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615022#M1112233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anybody seen the odd position (twice) of the Date format 'DD/MM/YYYY' in Helen's expressions? It surely isn't a second parameter value to the Date() function. Then what is it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 11:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615022#M1112233</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-10T11:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615023#M1112234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just doing some testing on what has been ever so kindly suggested&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently loading in a FactDateNum field from my fact table and then ensure my variables and calender point to the FactDateNum field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may take 30 minutes or so test to see if it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 11:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615023#M1112234</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2014-03-10T11:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615024#M1112235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I may be too late. I was talking only about this part of your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&amp;gt;=$(=date(v_Start_Date_ED),'DD/MM/YYYY')&amp;lt;=...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shoudn't the date format be&lt;EM&gt; inside&lt;/EM&gt; the date() call? Now it's outside of the parentheses...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 12:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615024#M1112235</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-10T12:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615025#M1112236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your suggestion....I have got this working by adding FactDateNum field to my fact table and then by variables and master calender are working off the FactDateNum field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 12:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615025#M1112236</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2014-03-10T12:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Can you use a nested variable when improrting variables from an Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615026#M1112237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got my variable working by going back to my original sourse and adding a FacDateNum field.&amp;nbsp;&amp;nbsp; My variables all now included FactDateNum fields instead and it appears to be working O.K for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to thank you for your suggestions and advice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 12:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-use-a-nested-variable-when-improrting-variables-from-an/m-p/615026#M1112237</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2014-03-10T12:50:57Z</dc:date>
    </item>
  </channel>
</rss>

