<?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: A function into a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614710#M226796</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;you would need to write it before so the variable is ready and can be used in the LOAD - but wait:&lt;/P&gt;&lt;P&gt;=&amp;gt; You are going to use that formula in a LOAD in the script? Several times or only once?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; =&amp;gt; If you're using it only once in a LOAD, putting it in a variable won't add any value for you - the script is executed&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; only once anyway. The added_value would be there if you want to use this formula on the GUI where it's used&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; every time the user makes any selection or stuff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Feb 2014 08:53:45 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-02-06T08:53:45Z</dc:date>
    <item>
      <title>A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614705#M226791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm french and i'm working at present in a company for a &lt;SPAN style="font-size: 14px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;work experience placement. They put me on a computer and i'm using for the first time Qlikview. I have to make a programme which going to classify by order of urgency products to make. Somewherre, i make a dynamic crossed board and in this one, i add a calculated dimension to transform a basic date into a date with this syntax : 20**/W** ( W = week ) thanks to this function, this is my code ( don't worry about what is inside ) : &lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;WeekName&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;gt;4000,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+3*7,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Sem_Mont&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) ). &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&lt;SPAN style="color: #333333; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;But I wonder if it's possible to write it in the script as a variable and call it in my board with ( $ ) for example ( sorry I'm a real beginner ).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: #333333; font-size: 10pt;"&gt;Thanks for your herlp.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 07:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614705#M226791</guid>
      <dc:creator />
      <dc:date>2014-02-06T07:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614706#M226792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't worry. You'll get lots of help here. The integrated help_file in the software can also be helpful, and maybe you have access to a book on QlikView? Most of them are pretty good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A function in a variable is pretty "easy" - once you know how &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Just open the variable_editor (Ctrl+Alt+V) and enter a new variable there, typing the formula, but without an '='.&lt;/P&gt;&lt;P&gt;=&amp;gt; Then you have to call the variable with $([variable]) - that way, QlikView will evaluate the formula inside the brackets and use the result (in comparison, when you just write the[variable_name] in a given place, QlikView uses exactly what is there).&lt;/P&gt;&lt;P&gt;You can also write your formula in the script using SET - there are just some things (set_analysis) that cannot be done in the script.&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;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>Thu, 06 Feb 2014 07:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614706#M226792</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-02-06T07:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614707#M226793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you and what will be the true syntax of the code if i want to write it in the script with SET please ? I'm not still really confortable with Set Analysis, I started Qlikview yesterday and i started to read pdf about Set Analaysis this mornig ( 1 hour ago &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 08:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614707#M226793</guid>
      <dc:creator />
      <dc:date>2014-02-06T08:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614708#M226794</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;as I said, set_analysis is not possible in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do it, the syntax would be like this:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; SET [e_something] = &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;WeekName&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;gt;4000,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;+3*7,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Sem_Mont&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) ); &amp;lt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;=&amp;gt; Don't forget to close off the command with a ';'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;=&amp;gt; Keep in mind, the script is executed strictly left_to_right and top_down and both the ?fields? Date_Liss and Sem_Mont have to be available at the time that variable is created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;P.S.: I think you'd better mark my answer as "helpful", not "correct" - the way it is now, others will have the impression that your issue is solved because it appears green and they won't bother looking in. I'm happy to help, but I don't have the time to be the only one helping you along. It works better in the Community.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 08:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614708#M226794</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-02-06T08:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614709#M226795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To help you this is a part of my script which interest us :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;RP&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;NAV_RP_IND&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Désignation&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Numéro LPR]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[CDM-Nom]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[CDM-Nom]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; , 1+&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[CDM-Nom]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; ,' '))&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Zone_L&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Semaine de montage dans OPX2]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Semaine de montage dans lissage]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;MakeWeekDate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Semaine de montage dans lissage]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,4),&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Semaine de montage dans lissage]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,2,2))&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;MakeWeekDate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Semaine de montage dans OPX2]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,4),&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Semaine de montage dans OPX2]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,2,2))&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Date_Mont_Liss&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;Z&gt;&lt;BR /&gt;(&lt;/Z&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;biff&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; [Base calculs dispo$]); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; So I have to write the SET into the load of the field or outside ? &lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 08:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614709#M226795</guid>
      <dc:creator />
      <dc:date>2014-02-06T08:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614710#M226796</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;you would need to write it before so the variable is ready and can be used in the LOAD - but wait:&lt;/P&gt;&lt;P&gt;=&amp;gt; You are going to use that formula in a LOAD in the script? Several times or only once?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; =&amp;gt; If you're using it only once in a LOAD, putting it in a variable won't add any value for you - the script is executed&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; only once anyway. The added_value would be there if you want to use this formula on the GUI where it's used&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; every time the user makes any selection or stuff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 08:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614710#M226796</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-02-06T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614711#M226797</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;Open QV Document--&amp;gt;Setting--&amp;gt;Variable Overview--&amp;gt;Add --&amp;gt;Now qv will ask for Variable name ( by default it is Varible 1, you can keep it or change as per your understanding)--&amp;gt;In defintion field add your formula i.e &lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;WeekName&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;4000,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;+3*7,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Sem_Mont&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;) )&lt;/SPAN&gt;&amp;nbsp; ---&amp;gt;Click on OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now your variable is defined. It will calculate as per your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Instead of putting formula you can use this variable name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 08:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614711#M226797</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-02-06T08:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614712#M226798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just want to create a variable with ( weekname(if ..... ) ) just to don't have to write it in the properties of the board and just write $([ Variable ]) but first of all i choose your first idea with Ctrl+Alt+V but i did what you say but when i apply it my board became empty with the sentence : " Overtaking of the assigned memory ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the matter ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 09:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614712#M226798</guid>
      <dc:creator />
      <dc:date>2014-02-06T09:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614713#M226799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes thank you but as I said before i've a matter of&amp;nbsp; " Overtaking of the assigned memory " when I do that and when i add a calculated dimension with for expression $([ Variable ])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 09:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614713#M226799</guid>
      <dc:creator />
      <dc:date>2014-02-06T09:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614714#M226800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;on front end side press ctrl+alt+v&lt;/P&gt;&lt;P&gt;add variable&amp;nbsp; myvariable and write below code&amp;nbsp; &lt;/P&gt;&lt;P&gt; = &lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;WeekName&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;4000,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;+3*7,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Sem_Mont&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;here on starting write Equal sign means through this variable &lt;STRONG&gt;myvariable&lt;/STRONG&gt; You evaluate the expression rather than to make it as string.&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 09:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614714#M226800</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-02-06T09:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614715#M226801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes but once again I've a matter of " Overtaking of the assigned memory "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 09:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614715#M226801</guid>
      <dc:creator />
      <dc:date>2014-02-06T09:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614716#M226802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont know why you are getting this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do one thing calculate this formula in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in script add below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; background-color: #f6f6f6; color: blue;"&gt;WeekName&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; background-color: #f6f6f6; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; background-color: #f6f6f6; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; background-color: #f6f6f6; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; background-color: #f6f6f6; color: maroon;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; background-color: #f6f6f6; color: black;"&gt;&amp;gt;4000,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; background-color: #f6f6f6; color: maroon;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; background-color: #f6f6f6; color: black;"&gt;+3*7,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; background-color: #f6f6f6; color: maroon;"&gt;Sem_Mont&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; background-color: #f6f6f6; color: black;"&gt;))&lt;/SPAN&gt; as varSem_Month,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check you are getting the same error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 09:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614716#M226802</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-02-06T09:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: A function into a variable</title>
      <link>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614717#M226803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I can't write it in the script because variable Date_Liss and Sem_mont are variables in two differents field so i don't know how and where write it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We agree :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- Ctrl+Alt+V : Name : SEM_MONT&amp;nbsp; Expression : &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;WeekName&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;gt;4000,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Date_Liss&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+3*7,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Sem_Mont&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;2- Board Properties : Add a calculated dimension : =$([SEM_MONT])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;3- Apply&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;That's right ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 10:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-function-into-a-variable/m-p/614717#M226803</guid>
      <dc:creator />
      <dc:date>2014-02-06T10:04:45Z</dc:date>
    </item>
  </channel>
</rss>

