<?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 Using a Value Table to Calculate Multiple Fields in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/using-a-value-table-to-calculate-multiple-fields/m-p/802756#M3524</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'm looking to develop a tool (ideally through model builder as my python writing ability is not stellar) that creates a simple user interface that has dropdown menus for desired fields of a selected table and typed input users to type in a numeric value for each.&amp;nbsp; I.e.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stuck in two places here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I'm creating a value table in model builder with a column type of "field" and a column type of "string."&amp;nbsp; I'm having trouble linking this value table of inputs to the input table.&amp;nbsp; I can't make it a precondition, or a dependency parameter in the properties menu. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; I'm then trying to run an "Iterate Multivalue" through my value table and then for each iteration call both the field and the value into the "Calculate Field" tool.&amp;nbsp;&amp;nbsp; Would simply calling %Field% for the field input and %value% for the expression input suffice, I'm not sure what is being contained in the "Value" output of the iteration.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2015 18:03:52 GMT</pubDate>
    <dc:creator>DanielInterrante</dc:creator>
    <dc:date>2015-07-01T18:03:52Z</dc:date>
    <item>
      <title>Using a Value Table to Calculate Multiple Fields</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/using-a-value-table-to-calculate-multiple-fields/m-p/802756#M3524</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'm looking to develop a tool (ideally through model builder as my python writing ability is not stellar) that creates a simple user interface that has dropdown menus for desired fields of a selected table and typed input users to type in a numeric value for each.&amp;nbsp; I.e.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stuck in two places here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I'm creating a value table in model builder with a column type of "field" and a column type of "string."&amp;nbsp; I'm having trouble linking this value table of inputs to the input table.&amp;nbsp; I can't make it a precondition, or a dependency parameter in the properties menu. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; I'm then trying to run an "Iterate Multivalue" through my value table and then for each iteration call both the field and the value into the "Calculate Field" tool.&amp;nbsp;&amp;nbsp; Would simply calling %Field% for the field input and %value% for the expression input suffice, I'm not sure what is being contained in the "Value" output of the iteration.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 18:03:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/using-a-value-table-to-calculate-multiple-fields/m-p/802756#M3524</guid>
      <dc:creator>DanielInterrante</dc:creator>
      <dc:date>2015-07-01T18:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Value Table to Calculate Multiple Fields</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/using-a-value-table-to-calculate-multiple-fields/m-p/802757#M3525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a bit confused in what you are asking for? You say you want a solution in model builder but talk about ValueTables. To my knowledge these don't exist in model builder. They are controls that can be exposed in a Python Toolbox, an environment you specifically say you want to avoid. You are mixing concepts from Python Toolbox, scripting and model builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a short guide about ValueTables &lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-3210"&gt;here&lt;/A&gt;, may be that will help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 10:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/using-a-value-table-to-calculate-multiple-fields/m-p/802757#M3525</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2015-07-09T10:03:37Z</dc:date>
    </item>
  </channel>
</rss>

