<?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: Association of maps with postal code in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59118#M3928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the "Split" tab in the dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/LoadData/splitting-a-field.htm" title="https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/LoadData/splitting-a-field.htm"&gt;https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/LoadData/splitting-a-field.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Patric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2018 10:48:42 GMT</pubDate>
    <dc:creator>Patric_Nordstrom</dc:creator>
    <dc:date>2018-07-09T10:48:42Z</dc:date>
    <item>
      <title>Association of maps with postal code</title>
      <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59109#M3919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;SPAN style="font-size: 13.3333px;"&gt;Michael Tarallo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;A href="https://community.qlik.com/qlik-users/77808"&gt;mto&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am preety new to Qlik sense. Could you please help me in creating a map with postal code (2 digit) for whole Europe.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I saw in few discussions that you have provided KML file for US. Do you have the same for Europe?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am confused as all countries have same 2 digit postal code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;eg: ES08 &amp;amp; DE08 ,,,,,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 14:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59109#M3919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-06T14:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Association of maps with postal code</title>
      <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59110#M3920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the data structure of your geographic table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do you mean by "a map with a postal code with 2 digits" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share with us the expected output ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 15:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59110#M3920</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-06T15:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Association of maps with postal code</title>
      <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59111#M3921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin,&lt;/P&gt;&lt;P&gt;There are postal code areas included in Qlik GeoAnalytics. See which countries here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-18635"&gt;Qlik GeoAnalytics Coverage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As of March 2018: Argentina, Australia, Canada, Denmark, Ecuador, Finland, France, Germany, Iceland, Liechtenstein, Mexico, Netherlands, Norway, Spain, Sweden, Switzerland, United Kingdom, United States, Uruguay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The postal code system varies country by country in Europe, but many use a digit system. In many cases you reference 2 digit postal by a location id expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=left(zip,2) &amp;amp; ',' &amp;amp; countrycode &amp;amp; ':XPC'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Patric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 07:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59111#M3921</guid>
      <dc:creator>Patric_Nordstrom</dc:creator>
      <dc:date>2018-03-07T07:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Association of maps with postal code</title>
      <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59112#M3922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patric, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been creating Postal Code Areas using the below expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d; background: white;"&gt;=left(zip,2) &amp;amp; ',' &amp;amp; countrycode &amp;amp; ':XPC'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This generally works, however I have an issue with UK postal codes due to the Postal areas being 1 or 2 letters&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;e.g. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;B = Birmingham&lt;/P&gt;&lt;P&gt;BS = Bristol&lt;/P&gt;&lt;P&gt;BD = Bradford. &lt;/P&gt;&lt;P&gt;This causes inconsistences in the Area Layer results. &lt;/P&gt;&lt;P&gt;Can you suggest a solution?&lt;/P&gt;&lt;P&gt;I see in the ‘GlobalDrillDown_Example‘&amp;nbsp; it is possible to achieve&amp;nbsp; but I have been unable to replicate &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>Thu, 26 Apr 2018 14:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59112#M3922</guid>
      <dc:creator>alex_robert</dc:creator>
      <dc:date>2018-04-26T14:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Association of maps with postal code</title>
      <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59113#M3923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;Yes UK postal codes follows an own system, here's a good summary:&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom" title="https://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom"&gt;Postcodes in the United Kingdom - Wikipedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;QGA has support for "Area", "District" and "Sector" postal code areas for GB except Northern Ireland.&lt;/P&gt;&lt;P&gt;One way to parse is (given the the postcode is proper formatted with a space in the right place):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;subfield(Postcode,' ',1) &amp;amp; ' ' &amp;amp; left(subfield(Postcode,' ',2),1) AS sector,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;subfield(Postcode,' ',1) AS district,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;If(IsNum(Mid(Postcode,2,1)),Left(Postcode,1),Left(Postcode,2)) as area&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Patric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2018 15:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59113#M3923</guid>
      <dc:creator>Patric_Nordstrom</dc:creator>
      <dc:date>2018-05-06T15:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Association of maps with postal code</title>
      <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59114#M3924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Patric – I have applied this to a drill down dimension and it works perfectly with an area layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more (hopefully final) question:&lt;/P&gt;&lt;P&gt;I am working with multiple countries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I apply country specific drill down in the same Master Item.&lt;/P&gt;&lt;P&gt;i.e.  different rules apply depending on the country selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;if I select&lt;/P&gt;&lt;P&gt;UK –drill down as above (Area – District – Sector)&lt;/P&gt;&lt;P&gt;but if I Select&lt;/P&gt;&lt;P&gt;US - drill down by State, County, ZIP, etc.&lt;/P&gt;&lt;P&gt;The same for,  Germany, France, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 09:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59114#M3924</guid>
      <dc:creator>alex_robert</dc:creator>
      <dc:date>2018-05-09T09:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Association of maps with postal code</title>
      <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59115#M3925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case you need to write a more complex expression for the drill down group as the&amp;nbsp; dimension and the location expression Location ID, Here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if(count(distinct total cc)&amp;gt;1,cc) &amp;amp;&amp;nbsp; // Country level&lt;/P&gt;&lt;P&gt;if(count(distinct total cc)=1 and count(distinct total adm1)&amp;gt;1,adm1 &amp;amp; ',' &amp;amp; cc &amp;amp; ':AADM1') &amp;amp; // Adm1 level&lt;/P&gt;&lt;P&gt;if(count(distinct total adm1)=1 and count(distinct total adm2)&amp;gt;1 and cc&amp;lt;&amp;gt;'DE',adm2 &amp;amp; ',' &amp;amp; cc &amp;amp; ':AADM2')&amp;nbsp; &amp;amp; // Adm2 level except DE&lt;/P&gt;&lt;P&gt;if(count(distinct total adm1)=1 and count(distinct total adm2)&amp;gt;1 and cc='DE',de_adm2) &amp;amp; // Adm2 level&amp;nbsp; DE&lt;/P&gt;&lt;P&gt;if(count(distinct total adm2)=1 and cc&amp;lt;&amp;gt;'IT' and cc&amp;lt;&amp;gt;'DE',Name &amp;amp; ',' &amp;amp; cc &amp;amp; ':XPC')&amp;nbsp; &amp;amp; // XPC level except IT and DE&lt;/P&gt;&lt;P&gt;if(count(distinct total adm2)=1 and cc='IT',it_a3)&amp;nbsp; &amp;amp; // Adm3 level&amp;nbsp; IT&lt;/P&gt;&lt;P&gt;if(count(distinct total adm2)=1 and cc='DE',de_zip)&amp;nbsp; // XPC level&amp;nbsp; DE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Patric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 09:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59115#M3925</guid>
      <dc:creator>Patric_Nordstrom</dc:creator>
      <dc:date>2018-05-11T09:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Association of maps with postal code</title>
      <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59116#M3926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Patric. Works well. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 13:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59116#M3926</guid>
      <dc:creator>alex_robert</dc:creator>
      <dc:date>2018-05-14T13:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Association of maps with postal code</title>
      <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59117#M3927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The subfiled is not supported in QlikSense datamanager &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have the equivalent function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 20:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59117#M3927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-04T20:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Association of maps with postal code</title>
      <link>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59118#M3928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the "Split" tab in the dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/LoadData/splitting-a-field.htm" title="https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/LoadData/splitting-a-field.htm"&gt;https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/LoadData/splitting-a-field.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Patric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 10:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Association-of-maps-with-postal-code/m-p/59118#M3928</guid>
      <dc:creator>Patric_Nordstrom</dc:creator>
      <dc:date>2018-07-09T10:48:42Z</dc:date>
    </item>
  </channel>
</rss>

