<?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: Alternate state and set analysis in a radius search in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49384#M8157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I attached a small application with some example calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look on the Call expression in the center object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the following expression I get the customers in a radius from 1 km around the selected retailer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {$*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Call&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Contact'} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Call&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I use the following, I get the correct sum of calls calculated but the customer list includes wrong customers displayed with a distance from 0.00.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {1*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Call&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Contact'} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Call&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I hope this helps to explain my problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Claus&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2018 14:15:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-17T14:15:24Z</dc:date>
    <item>
      <title>Alternate state and set analysis in a radius search</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49382#M8155</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 try to setup a radius search for customers following this example: &lt;A href="https://community.qlik.com/thread/66799"&gt;How do I use latitude and longitude values to find near by records&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The search by itself is already working fine as long as I only have customers in my straight&amp;nbsp; table chart.&lt;/P&gt;&lt;P&gt;The search is done by a Customer Selection within the default search and further parameter are selected by selection regarding to an alternate state .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I enhance the chart by further data like an expression of&amp;nbsp; sum of calls. I don't get the wished result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I use the expression with the following syntax, I get the correct list of customers nearby but without the sum of calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({&lt;STRONG style="color: #ff0000;"&gt;$&lt;/STRONG&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;KONTTYP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Visit' , 'Mail'} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Call]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; )&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG alt="distanceok.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202667_distanceok.JPG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use this syntax the conditions are not included in the expression. The result is a list of ALL customers within my database but the calls where correct summarized for them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({&lt;STRONG style="color: #ff0000;"&gt;1&lt;/STRONG&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;KONTTYP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Visit' , 'Mail'} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Call]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; )&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="callsok.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/202668_callsok.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My whished result should be a list of customers nearby enhanced with e.g the call data (or further data from my FACT table) only for the customers within the radius.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance and best regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 12:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49382#M8155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-17T12:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate state and set analysis in a radius search</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49383#M8156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not entirely sure I understand your requirement. Would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 12:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49383#M8156</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-17T12:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate state and set analysis in a radius search</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49384#M8157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I attached a small application with some example calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look on the Call expression in the center object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the following expression I get the customers in a radius from 1 km around the selected retailer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {$*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Call&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Contact'} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Call&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I use the following, I get the correct sum of calls calculated but the customer list includes wrong customers displayed with a distance from 0.00.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {1*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Call&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Contact'} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Call&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I hope this helps to explain my problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Claus&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 14:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49384#M8157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-17T14:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate state and set analysis in a radius search</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49385#M8158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you want this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count( {1*AS1 &amp;lt; Call={'Contact'}, VIPID = {"=$(vCalc) &amp;gt; 0 and $(vCalc) &amp;lt;= 1"}&amp;gt;} Call)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 14:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49385#M8158</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-17T14:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate state and set analysis in a radius search</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49386#M8159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's it! Many thanks for your fast and perfect support! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 14:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-and-set-analysis-in-a-radius-search/m-p/49386#M8159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-17T14:41:48Z</dc:date>
    </item>
  </channel>
</rss>

