<?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: How can I store dynamic values in the variables using formulae in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389521#M145347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was helpful. But what's the case if i want to store the value of that particular value of field into a single variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Walter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2016 20:11:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-07T20:11:12Z</dc:date>
    <item>
      <title>How can I store dynamic values in the variables using formulae</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389517#M145343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have declared variables&lt;/P&gt;&lt;P&gt;After pressing&amp;nbsp;&amp;nbsp; ctrl+alt+V&amp;nbsp; I get the variables settings I wrote formula in the definition of the variable. but when I am using that variable It is displaying that written formula in it not he value I want.&lt;/P&gt;&lt;P&gt;Please tell me if I am doing it write or not and what can be the correct way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also haow can I store all the fields of a column in a grid in different variables &lt;/P&gt;&lt;P&gt;for e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A&amp;nbsp; B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;a&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;b&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;c&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;d&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two columns in the gird A is dimension and B is expression I want to store all the values of B in four variables, How can I achieve that. Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gaurav Tyagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 05:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389517#M145343</guid>
      <dc:creator />
      <dc:date>2012-11-29T05:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I store dynamic values in the variables using formulae</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389518#M145344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;For the first question, I think you missed = sign before the expression.&amp;nbsp; If you give =, it evaluates the expression and stores the result in variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For storing values of Dimension in variables is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v1= FieldValue('B',1)&lt;/P&gt;&lt;P&gt;v2= FieldValue('B',2)&lt;/P&gt;&lt;P&gt;v3= FieldValue('B',3)&lt;/P&gt;&lt;P&gt;v4= FieldValue('B',4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 06:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389518#M145344</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-11-29T06:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I store dynamic values in the variables using formulae</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389519#M145345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi Gaurav,&amp;nbsp; For your 1st questions, it will display the formula that you've given in the expression instead of value when you omit the '=' sign.&amp;nbsp; Example:&amp;nbsp; if you're using the formula for the variable: vYTDyear==max([Fiscal Year])&amp;nbsp; then while getting the value of the formula expression you need to use it as:&amp;nbsp; =vYTDYear&amp;nbsp; For your 2nd question, you may check the following link&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/message/165526#165526#165526"&gt;http://community.qlik.com/message/165526#165526&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; Regards. Siva Sankar K&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 06:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389519#M145345</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2012-11-29T06:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I store dynamic values in the variables using formulae</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389520#M145346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="25776" class="jive-image-thumbnail jive-image" height="278" onclick="" alt="test.png" src="https://community.qlik.com/legacyfs/online/25776_test.png" width="659" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;YTM data is my grid and the formula I am trying to use is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V1=if(Seg='S04',yRevenue-yOther Income,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is to store the the values of the Revenue column into variables so that I can add them for total later&lt;/P&gt;&lt;P&gt;I can not use sub totals because for rest of the columns I am using ratios or average as final totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am trying to put the values of all the fields from S02 to S12 in variables and then add them later coz they changes dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response guy. Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gaurav Tyagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 07:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389520#M145346</guid>
      <dc:creator />
      <dc:date>2012-11-29T07:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I store dynamic values in the variables using formulae</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389521#M145347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was helpful. But what's the case if i want to store the value of that particular value of field into a single variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Walter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 20:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-store-dynamic-values-in-the-variables-using-formulae/m-p/389521#M145347</guid>
      <dc:creator />
      <dc:date>2016-06-07T20:11:12Z</dc:date>
    </item>
  </channel>
</rss>

