<?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 Store's assignation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Store-s-assignation/m-p/224665#M715055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I wonder if with QV i could solve this problem, very frequent in geotargetting, as i know how to do in SAS.&lt;/P&gt;&lt;P&gt;Suppose, we have 2 tables.The first one is a prospect file with several fields and XpYp geo-coordinate.&lt;/P&gt;&lt;P&gt;The second one is a file containing some stores (with also XsYs geo-coordinate).&lt;/P&gt;&lt;P&gt;I would like to find for each of my prospect which is the closest store,&lt;/P&gt;&lt;P&gt;for each couple (prospect, store), i need to calculate the distance as sqrt( (Xp-Xs)*(Xp-Xs) + (Yp-Ys)*(Yp-Ys) ) and then find the minimal to get the good store.&lt;/P&gt;&lt;P&gt;Can I do this in the script with some SQL skills or maybe directly in a chart ?&lt;/P&gt;&lt;P&gt;Maybe someone have already exprimented this topic.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;jj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2010 18:35:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-27T18:35:23Z</dc:date>
    <item>
      <title>Store's assignation</title>
      <link>https://community.qlik.com/t5/QlikView/Store-s-assignation/m-p/224665#M715055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I wonder if with QV i could solve this problem, very frequent in geotargetting, as i know how to do in SAS.&lt;/P&gt;&lt;P&gt;Suppose, we have 2 tables.The first one is a prospect file with several fields and XpYp geo-coordinate.&lt;/P&gt;&lt;P&gt;The second one is a file containing some stores (with also XsYs geo-coordinate).&lt;/P&gt;&lt;P&gt;I would like to find for each of my prospect which is the closest store,&lt;/P&gt;&lt;P&gt;for each couple (prospect, store), i need to calculate the distance as sqrt( (Xp-Xs)*(Xp-Xs) + (Yp-Ys)*(Yp-Ys) ) and then find the minimal to get the good store.&lt;/P&gt;&lt;P&gt;Can I do this in the script with some SQL skills or maybe directly in a chart ?&lt;/P&gt;&lt;P&gt;Maybe someone have already exprimented this topic.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;jj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 18:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-s-assignation/m-p/224665#M715055</guid>
      <dc:creator />
      <dc:date>2010-01-27T18:35:23Z</dc:date>
    </item>
  </channel>
</rss>

