<?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 to store textbox calculation in a global variable. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50243#M784787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologise I want to store the values in a global variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2018 10:36:29 GMT</pubDate>
    <dc:creator>waqasshah</dc:creator>
    <dc:date>2018-03-06T10:36:29Z</dc:date>
    <item>
      <title>How to store textbox calculation in a global variable.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50239#M784783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Hi Guys,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;I am facing difficulty in storing&amp;nbsp; values from textbox. I have some complex calculations in my textbox using if else conditions. The final result set&amp;nbsp; is a numeric value and I need to store it in a variable so I can use it later for other calculations. The value in the text box changes when one of the button is clicked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;I know there is a function called getfieldselections() but I think that cannot be used for text boxes. Please correct me if I am wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Please guide me how we can store the value (calculations ) of the text box object in to a variable?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Waqas Shah&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50239#M784783</guid>
      <dc:creator>waqasshah</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to store textbox calculation in a global variable.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50240#M784784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if I understand your issue correctly. Do you want the variable to track the selection changes, or do you want it to store the value using the earlier selections?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the former, define the variable with the same expression as the textbox (including the leading = sign).&lt;/P&gt;&lt;P&gt;For the latter, define a button and use a set variable action and the same expression in the value box (with the = sign). Then you can click the button to update the variable with the value of the expression (which will not change if the selections change).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 13:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50240#M784784</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-03-05T13:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to store textbox calculation in a global variable.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50241#M784785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I want store the values when the button is pressed and calculations are done. let me give you the example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to perform simple calculation like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculation =&amp;nbsp;&amp;nbsp; If (site = London, a x b, C x&amp;nbsp; B ),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (site = Manchester, E x F,&amp;nbsp; G x H )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write the above code in&amp;nbsp; text box. When I press site button the calculation changes. I hope it clarifies the situation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 14:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50241#M784785</guid>
      <dc:creator>waqasshah</dc:creator>
      <dc:date>2018-03-05T14:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to store textbox calculation in a global variable.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50242#M784786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;&amp;gt; I want store the values ...&lt;/SPAN&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;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I want to write the above code in&amp;nbsp; text box&lt;/SPAN&gt;...&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&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;Now i'm confused. Do you want the values in a variable ('&lt;EM&gt;stored&lt;/EM&gt;') or in a text box? In any case, the logic is the same as I outlined earlier.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 07:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50242#M784786</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-03-06T07:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to store textbox calculation in a global variable.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50243#M784787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologise I want to store the values in a global variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-store-textbox-calculation-in-a-global-variable/m-p/50243#M784787</guid>
      <dc:creator>waqasshah</dc:creator>
      <dc:date>2018-03-06T10:36:29Z</dc:date>
    </item>
  </channel>
</rss>

