<?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 How do I not specify a CustomerWeightField when scripting CustomerDerivedTA_ba? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/how-do-i-not-specify-a-customerweightfield-when/m-p/312148#M1990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you run the Business Analysis toolbox wizard for creating a Customer Derived Trade area, you have the option of weighting each customer by count or for specifying a field (such as sales or number of visits) to use as a weight. You select this with radio buttons and if you select "count", then you don't have to specify a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when scripting this tool, the CustomerWeightField is a required field. Leaving it blank yields a "This field was not found in the customer layer" type error message. In my case, I just want to use the count as the customers I'm analyzing do not have any other valid fields for weighting the results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a magic value to enter for CustomerWeightField that will force it to use count?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation says:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'courier new', courier; font-size: 12px;"&gt;The field used to calculate the trade areas. This is based on either the number of customers (count) or the calculated weighted value assigned to each customer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;A fallback, I guess, would be to add a weight field and set it to 1, but I don't want to have to rely on modifying the input data.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 14:03:01 GMT</pubDate>
    <dc:creator>ChristopherPalmer1</dc:creator>
    <dc:date>2014-09-10T14:03:01Z</dc:date>
    <item>
      <title>How do I not specify a CustomerWeightField when scripting CustomerDerivedTA_ba?</title>
      <link>https://community.esri.com/t5/developers-questions/how-do-i-not-specify-a-customerweightfield-when/m-p/312148#M1990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you run the Business Analysis toolbox wizard for creating a Customer Derived Trade area, you have the option of weighting each customer by count or for specifying a field (such as sales or number of visits) to use as a weight. You select this with radio buttons and if you select "count", then you don't have to specify a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when scripting this tool, the CustomerWeightField is a required field. Leaving it blank yields a "This field was not found in the customer layer" type error message. In my case, I just want to use the count as the customers I'm analyzing do not have any other valid fields for weighting the results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a magic value to enter for CustomerWeightField that will force it to use count?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation says:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'courier new', courier; font-size: 12px;"&gt;The field used to calculate the trade areas. This is based on either the number of customers (count) or the calculated weighted value assigned to each customer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;A fallback, I guess, would be to add a weight field and set it to 1, but I don't want to have to rely on modifying the input data.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 14:03:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-do-i-not-specify-a-customerweightfield-when/m-p/312148#M1990</guid>
      <dc:creator>ChristopherPalmer1</dc:creator>
      <dc:date>2014-09-10T14:03:01Z</dc:date>
    </item>
  </channel>
</rss>

