<?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: store variable values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973495#M332968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas,&lt;/P&gt;&lt;P&gt;What you are doing should, in principle, work, but you need to check your variable is parsing out to a field name, rather than the contents of the field.&lt;/P&gt;&lt;P&gt;You should double check what your variable &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vInititiavtiveUpdateStatus) &lt;/SPAN&gt;actually contains.&amp;nbsp; Try putting the variable into a text box.&amp;nbsp; Does it parse out to exactly your field name &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[NonPrdBkp.Monthly Charges]&lt;/STRONG&gt;?&amp;nbsp; What I suspect you will get in your text box is a - (dash).&amp;nbsp; Try then putting =concat(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vInititiavtiveUpdateStatus),',' &lt;/SPAN&gt;) into the text box.&amp;nbsp; Do you see the entire contents of field?&amp;nbsp; If so, then you need to go back to your logic and make sure you are storing the field name in your variable, rather than the contents of your field.&lt;/P&gt;&lt;P&gt;I hope that helps.&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Nov 2015 12:13:52 GMT</pubDate>
    <dc:creator>gsbeaton</dc:creator>
    <dc:date>2015-11-24T12:13:52Z</dc:date>
    <item>
      <title>store variable values</title>
      <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973487#M332960</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;I have field like &lt;STRONG&gt;[NonPrdBkp.Monthly Charges]&lt;/STRONG&gt;&amp;nbsp; which i stored into variable vInititiavtiveCharges&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to use this variable for following set analysis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vInitiviativeChargesTotal&amp;nbsp;&amp;nbsp; = num(Sum({&amp;lt;[$(vInititiavtiveUpdateStatus)] = {'Review'}&amp;gt;} [$(vInititiavtiveCharges)]),'$#,##0') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting error&amp;nbsp; for this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any body please give suggessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 11:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973487#M332960</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2015-11-24T11:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: store variable values</title>
      <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973488#M332961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you have this -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vInititiavtiveCharges = &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[NonPrdBkp.Monthly Charges]&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be try it without the square brackets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vInitiviativeChargesTotal&amp;nbsp;&amp;nbsp; = num(Sum({&amp;lt;[$(vInititiavtiveUpdateStatus)] = {'Review'}&amp;gt;} $(vInititiavtiveCharges)),'$#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 11:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973488#M332961</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-24T11:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: store variable values</title>
      <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973489#M332962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why you required &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;vInititiavtiveCharges and &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;vInititiavtiveUpdateStatus?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply try with your field name only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Total&amp;nbsp;&amp;nbsp; = num(Sum({&amp;lt;&lt;STRONG&gt;FieldName&lt;/STRONG&gt;= {'Review'}&amp;gt;} &lt;STRONG&gt;FieldName1&lt;/STRONG&gt;),'$#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 11:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973489#M332962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-24T11:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: store variable values</title>
      <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973490#M332963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its kinda hard to debug your variables and expression without knowing how the variables are defined...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 11:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973490#M332963</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-11-24T11:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: store variable values</title>
      <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973491#M332964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am getting error for this set&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[$(vInititiavtiveUpdateStatus)] = {'Review'}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 11:37:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973491#M332964</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2015-11-24T11:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: store variable values</title>
      <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973492#M332965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again I don't think you should use square brackets around your variable. Try without it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Expression Editor may still show your red line underneath, but the expression might still work because your variable contains a single field name. I have never tried it, but I have a feeling it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 11:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973492#M332965</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-24T11:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: store variable values</title>
      <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973493#M332966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after removing square brackets also it is not working ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 11:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973493#M332966</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2015-11-24T11:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: store variable values</title>
      <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973494#M332967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sample seems to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ABC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text Box Expression - &amp;gt; &lt;STRONG&gt;=Sum({&amp;lt;$(vVar) = {1, 2, 3}&amp;gt;}$(vVar))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106582_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 11:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973494#M332967</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-24T11:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: store variable values</title>
      <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973495#M332968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas,&lt;/P&gt;&lt;P&gt;What you are doing should, in principle, work, but you need to check your variable is parsing out to a field name, rather than the contents of the field.&lt;/P&gt;&lt;P&gt;You should double check what your variable &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vInititiavtiveUpdateStatus) &lt;/SPAN&gt;actually contains.&amp;nbsp; Try putting the variable into a text box.&amp;nbsp; Does it parse out to exactly your field name &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[NonPrdBkp.Monthly Charges]&lt;/STRONG&gt;?&amp;nbsp; What I suspect you will get in your text box is a - (dash).&amp;nbsp; Try then putting =concat(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vInititiavtiveUpdateStatus),',' &lt;/SPAN&gt;) into the text box.&amp;nbsp; Do you see the entire contents of field?&amp;nbsp; If so, then you need to go back to your logic and make sure you are storing the field name in your variable, rather than the contents of your field.&lt;/P&gt;&lt;P&gt;I hope that helps.&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 12:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973495#M332968</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2015-11-24T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: store variable values</title>
      <link>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973496#M332969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for Reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 12:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-variable-values/m-p/973496#M332969</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2015-11-24T12:53:42Z</dc:date>
    </item>
  </channel>
</rss>

