<?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: Variable input box that updates a column but based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650233#M237831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still can't get this to work. can you please let send me the sample if you can?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 12:26:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-11T12:26:27Z</dc:date>
    <item>
      <title>Variable input box that updates a column but based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650224#M237822</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;I have a variable input box where a user types in the value and the value would update the adjusted column. The problem I have is that when you type in the value in the input box, it updates all values in the table. I would like to filter for specific data and only update the values selected from the variable box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 416px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="80"&gt;REGION&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="75"&gt;COUNTRY&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="97"&gt;Sum (SALES)&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="79"&gt;NPI Adj&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="85"&gt;% Adj&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none;"&gt;180&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;40.00&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;1.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;AMERICANS&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;USA&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0.00&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;1.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;ASIA&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;CHINA&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0.00&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;1.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;EUROPE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;GERMANY&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;30&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;3.33&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl74" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;1.5&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;EUROPE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;ITALY&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;40&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;4.44&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl74" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;1.5&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;EUROPE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;UK&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;50&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;5.56&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl74" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;1.5&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only want to populate % Adj with 1.5 for Europe using input box but now it populates the complete column. I found someone wrote a macro do update only selected fields but didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you have any solution? I have attached my example. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Aug 2014 11:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650224#M237822</guid>
      <dc:creator />
      <dc:date>2014-08-09T11:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Variable input box that updates a column but based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650225#M237823</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;Instead of using a Variable, you can use InputFields. &lt;/P&gt;&lt;P&gt;You have to define a field during you load script as Input field. Then you can change it at the column level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Aug 2014 16:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650225#M237823</guid>
      <dc:creator />
      <dc:date>2014-08-09T16:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Variable input box that updates a column but based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650226#M237824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have am using that as well but this will be thousands of rows of data and I cannot have the user input that many values. I want the user to select specific data and populate the column. so if user selects country as 'Europe' the value from the variable field will only populate column with that value for Europe. See my example attached above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Aug 2014 17:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650226#M237824</guid>
      <dc:creator />
      <dc:date>2014-08-09T17:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Variable input box that updates a column but based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650227#M237825</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;See the Attachment.&lt;/P&gt;&lt;P&gt;Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aviral Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Aug 2014 20:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650227#M237825</guid>
      <dc:creator>aveeeeeee7en</dc:creator>
      <dc:date>2014-08-09T20:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Variable input box that updates a column but based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650228#M237826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Avril -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select Europe for example and type in 2 or 3, it still updates all other countries. What I want is if I select something in my select box, to just update that country or region and leave the rest as is. &lt;/P&gt;&lt;P&gt;I have been trying to figure it out but am not able to.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you so much for all your help!!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Aug 2014 20:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650228#M237826</guid>
      <dc:creator />
      <dc:date>2014-08-09T20:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Variable input box that updates a column but based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650229#M237827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aviral -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your solution worked as well as mine. But just to clarify, if I select one country, I just want to update the values for that country not others. Would you know how I can do that please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Aug 2014 10:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650229#M237827</guid>
      <dc:creator />
      <dc:date>2014-08-10T10:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Variable input box that updates a column but based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650230#M237828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/people/petraraczynski"&gt;petraraczynski&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView,&amp;nbsp; but I guess this can be resolved using one more variable. Let say 'vUpdateCountry' that stores the selected country value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To store the value of selected country you can use a function&lt;/P&gt;&lt;P&gt;=GetFieldSelections([filedname],'',1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here mentioning 1 would just store one selected country in the variable if you want multiple selections then you can change it to 3 or 5 or whatever is your requirement. There are more functions available to perform the same tasks like 'concat' and 'maxstring'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will store the value in the variable vUpdateCountry, and I am assuming that you can use this variable in the update syntax as a condition to update the % Adj field only for the selected country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answer would help you solve the issue.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;VinayG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Aug 2014 20:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650230#M237828</guid>
      <dc:creator />
      <dc:date>2014-08-10T20:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Variable input box that updates a column but based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650231#M237829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinay -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still can't see how that will resolve my issue. See my sample here. So if I select Germany, my Adjust Projected % should only update Germany. Not sure how that extra variable will resolve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Aug 2014 21:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650231#M237829</guid>
      <dc:creator />
      <dc:date>2014-08-10T21:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variable input box that updates a column but based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650232#M237830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinay -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't get that to work and I will have about 10 different selections. How would you make that work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 09:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650232#M237830</guid>
      <dc:creator />
      <dc:date>2014-08-11T09:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Variable input box that updates a column but based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650233#M237831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still can't get this to work. can you please let send me the sample if you can?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 12:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-input-box-that-updates-a-column-but-based-on-selection/m-p/650233#M237831</guid>
      <dc:creator />
      <dc:date>2014-08-11T12:26:27Z</dc:date>
    </item>
  </channel>
</rss>

