<?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 Update Multiple Field values based on selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335063#M123539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try this macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub updateRate&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;set Cnt = ActiveDocument.Fields("ID").getpossiblevalues&lt;/P&gt;&lt;P&gt;for i = 1 to Cnt.count &lt;/P&gt;&lt;P&gt; set obj = ActiveDocument.GetSheetObject("CH01")&lt;BR /&gt; obj.SetInputFieldCell i,1, Activedocument.variables("vRate").getcontent.string&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if there are any issues&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Mar 2012 07:47:09 GMT</pubDate>
    <dc:creator>qliksus</dc:creator>
    <dc:date>2012-03-05T07:47:09Z</dc:date>
    <item>
      <title>Update Multiple Field values based on selections</title>
      <link>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335059#M123535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12pt;"&gt;I am currently creating adocument to allow the user to forecast future revenuebased on price changes. Currently a user can edit anindividual price through an editable table, but Iwould like to be able to edit a group of pricesin one go based on the current selections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12pt;"&gt;Would anyone have asuggestion for how you could write a macro to do this, or if you have a different suggestion? Any help would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12pt;"&gt;Paul&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 15:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335059#M123535</guid>
      <dc:creator>paulm</dc:creator>
      <dc:date>2012-03-04T15:48:12Z</dc:date>
    </item>
    <item>
      <title>Update Multiple Field values based on selections</title>
      <link>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335060#M123536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Paul,&lt;/P&gt;&lt;P&gt;Think of using variables and/or set analysis.&amp;nbsp; You question is too open to give a more specific answer.&amp;nbsp; It doesn't look like you need a macro for this, although it may be used as a paert of the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 19:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335060#M123536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-04T19:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Update Multiple Field values based on selections</title>
      <link>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335061#M123537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to reply.&amp;nbsp; I have attached an example doc I have been playing around with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically we have a few hundred customers which we group.&amp;nbsp; I would like to have an input box where I could enter a Rate then it updates every customer who is currently selected.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. if I have selected customer A in my example I would like on the click of the button to only update records 1 2 and 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully I am missing something simple to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 23:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335061#M123537</guid>
      <dc:creator>paulm</dc:creator>
      <dc:date>2012-03-04T23:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Update Multiple Field values based on selections</title>
      <link>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335062#M123538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi paulm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope the attached macro qv file will be helpful for you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 06:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335062#M123538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-05T06:04:10Z</dc:date>
    </item>
    <item>
      <title>Update Multiple Field values based on selections</title>
      <link>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335063#M123539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try this macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub updateRate&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;set Cnt = ActiveDocument.Fields("ID").getpossiblevalues&lt;/P&gt;&lt;P&gt;for i = 1 to Cnt.count &lt;/P&gt;&lt;P&gt; set obj = ActiveDocument.GetSheetObject("CH01")&lt;BR /&gt; obj.SetInputFieldCell i,1, Activedocument.variables("vRate").getcontent.string&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if there are any issues&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 07:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335063#M123539</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2012-03-05T07:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Update Multiple Field values based on selections</title>
      <link>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335064#M123540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks to be exactly what I am after! Great work! Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 14:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-Multiple-Field-values-based-on-selections/m-p/335064#M123540</guid>
      <dc:creator>paulm</dc:creator>
      <dc:date>2012-03-05T14:52:15Z</dc:date>
    </item>
  </channel>
</rss>

