<?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: Mise a jour variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256009#M518194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt; Sorry, but LET is not recognize as a function in this expression....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2017 10:03:18 GMT</pubDate>
    <dc:creator>patrou38</dc:creator>
    <dc:date>2017-01-31T10:03:18Z</dc:date>
    <item>
      <title>Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256002#M518185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;je voulais savoir si il existe un moyen de stocker le resultat d'une expression sur un variable ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;merci de votre aide.&lt;/P&gt;&lt;P&gt;cordialement,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 12:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256002#M518185</guid>
      <dc:creator>patrou38</dc:creator>
      <dc:date>2017-01-30T12:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256003#M518186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Patrick !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Au niveau du script tu peux stocker une valeur avec la fonction peek():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="example"&gt;Exemples :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;peek( 'Ventes' )&lt;/SPAN&gt; &lt;BR /&gt;renvoie la valeur de &lt;SPAN class="Italic"&gt;Ventes&lt;/SPAN&gt; de l'enregistrement précédent lu ( équivalant à &lt;SPAN class="Bold"&gt;previous(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;Ventes&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;). &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;peek( 'Ventes', 2 )&lt;/SPAN&gt; &lt;BR /&gt;renvoie la valeur de &lt;SPAN class="Italic"&gt;Ventes&lt;/SPAN&gt; du troisième enregistrement lu de la table interne active. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;peek( 'Ventes', -2 )&lt;/SPAN&gt; &lt;BR /&gt;renvoie la valeur de &lt;SPAN class="Italic"&gt;Ventes&lt;/SPAN&gt; de l'avant-dernier enregistrement lu dans la table interne active. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;peek( 'Ventes', 0, 'Tab1' )&lt;/SPAN&gt; &lt;BR /&gt;renvoie la valeur de &lt;SPAN class="Italic"&gt;Ventes&lt;/SPAN&gt; du premier enregistrement lu dans la table d'entrée étiquetée Tab1. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Load A, B, numsum( B, peek( 'Bsum' ) ) as Bsum...;&lt;/SPAN&gt; &lt;BR /&gt;crée une accumulation de B dans Bsum. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Je reste à ta disposition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 13:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256003#M518186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T13:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256004#M518188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Je comprends pas vraiment la question mais si on stocke l'expression dans une variable, le résultat de celle-ci est stocké dans la variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 13:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256004#M518188</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-01-30T13:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256005#M518190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bonjour,&lt;/P&gt;&lt;P&gt;merci de la reponse.&lt;/P&gt;&lt;P&gt;je vais essayer d'etre plus précis sur ma demande.&lt;/P&gt;&lt;P&gt;j'ai un chart avec en dimension une periode (les 3 derniers jours).&lt;/P&gt;&lt;P&gt;j'ai un expression qui et un calcul et c'est se calcul que je veux stocker (sachant qu'il tient compte de ma dimension).&lt;/P&gt;&lt;P&gt;ci dessous mon expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Availability&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'WIP'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Product Type Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'DI'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Hold Status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'HOLD'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Division&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(choice2)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Lot number]&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;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Availability&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'WIP'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Product Type Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'DI'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Division&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(choice2)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Lot number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci beaucoup de votre aide.&lt;/P&gt;&lt;P&gt;Cordialement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 08:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256005#M518190</guid>
      <dc:creator>patrou38</dc:creator>
      <dc:date>2017-01-31T08:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256006#M518191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bonjour, &lt;/P&gt;&lt;P&gt;merci de la reponse. &lt;/P&gt;&lt;P&gt;je vais essayer d'etre plus précis sur ma demande. &lt;/P&gt;&lt;P&gt;j'ai un chart avec en dimension une periode (les 3 derniers jours). &lt;/P&gt;&lt;P&gt;j'ai un expression qui et un calcul et c'est se calcul que je veux stocker (sachant qu'il tient compte de ma dimension). &lt;/P&gt;&lt;P&gt;ci dessous mon expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Availability&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'WIP'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Product Type Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'DI'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Hold Status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'HOLD'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Division&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(choice2)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Lot number]&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;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Availability&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'WIP'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Product Type Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'DI'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Division&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(choice2)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Lot number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; je n'arrive pas a incorporer un SET dans cette expression &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Merci beaucoup de votre aide. &lt;/P&gt;&lt;P&gt;Cordialement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 08:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256006#M518191</guid>
      <dc:creator>patrou38</dc:creator>
      <dc:date>2017-01-31T08:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256007#M518192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Le problème se situe probablement dans la partie "$(choice2)" par la double expansion.&lt;/P&gt;&lt;P&gt;Dans votre script, essayez le suivant:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;LET vExpression = '=round(count({&amp;lt;Availability={''WIP''},[Product Type Code]={''DI''},' &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' [Hold Status]={''HOLD''}, Division={$' &amp;amp; '(choice2)}&amp;gt;} [Lot number]))/' &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'round(count({&amp;lt;Availability={''WIP''},[Product Type Code]={''DI''},' &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Division={$' &amp;amp; '(choice2)}&amp;gt;} [Lot number]))';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better switch to English, to make this useful thread accessible for everone. If you prefer posting in French, there is a French-language group as well here: &lt;A href="https://community.qlik.com/group/1151"&gt;Groupe des Utilisateurs Francophones&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 09:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256007#M518192</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-01-31T09:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256008#M518193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Effectivement ton expression si tu arrives à l'implémenter dans ton script tu pourras stocker ta valeur avec la fonction Peek().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 09:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256008#M518193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T09:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256009#M518194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt; Sorry, but LET is not recognize as a function in this expression....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 10:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256009#M518194</guid>
      <dc:creator>patrou38</dc:creator>
      <dc:date>2017-01-31T10:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256010#M518195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I may have misunderstood your request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggested a solution for storing the expression itself in a variable. That assignment should be done in your script (which is why I mentioned trying the LET statement in your script)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that assignment, you can use the same expression anywhere you want by simply specifying &lt;SPAN style="font-family: 'courier new', courier;"&gt;$(vExpression)&lt;/SPAN&gt; in an expression field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, since a variable is an internal object of type Dual and not a field, you cannot simply store multiple result values in a variable. Especially not when the expression is used in a Chart object where one or more dimension values will influence the outcome of the expression on each individual object row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can however easily reuse the expression in another context using the technique I suggested before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 10:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256010#M518195</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-01-31T10:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256011#M518196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try creating a new variable in the Settings-&amp;gt;Variable Overview window and entering the following in the expression field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: 'courier new', courier;"&gt;round(count({&amp;lt;Availability={'WIP'},[Product Type Code]={'DI'},&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: 'courier new', courier;"&gt; [Hold Status]={'HOLD'}, Division={$(choice2)}&amp;gt;} [Lot number]))/&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: 'courier new', courier;"&gt; round(count({&amp;lt;Availability={'WIP'},[Product Type Code]={'DI'},&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: 'courier new', courier;"&gt; Division={$(choice2)}&amp;gt;} [Lot number]));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: 'courier new', courier;"&gt; &lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Everywhere you use this variable, the QlikView engine will re-evaluate the stored expression and produce a single value that will be used in the context where you specify that variable.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Even if this doesn't really lead to a particular value being stored in the actual variable (that would wipe out the expression, wouldn't it), it results in every occurrence of your variable being replaced with the result of your expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 10:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256011#M518196</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-01-31T10:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Mise a jour variable</title>
      <link>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256012#M518197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LET and SET are script statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They cannot be used in an Expression field (Expression field = any UserInterface area that has a grey button with three dots on its right side)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression fields, although they may cxontain the exact same expression in different cases, will produce different values because they are extremely context-sensitive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 10:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mise-a-jour-variable/m-p/1256012#M518197</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-01-31T10:28:37Z</dc:date>
    </item>
  </channel>
</rss>

