

{"id":12406,"date":"2018-04-06T11:59:41","date_gmt":"2018-04-06T11:59:41","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=12406"},"modified":"2025-03-01T19:33:05","modified_gmt":"2025-03-01T14:03:05","slug":"tableau-assign-geographic-roles","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/","title":{"rendered":"Tableau Assign Geographic Roles &#8211; Importing Tableau Geocoding File"},"content":{"rendered":"<p>In this <strong><a href=\"https:\/\/data-flair.training\/blogs\/tableau-tutorial\/\">Tableau tutorial<\/a><\/strong>, we are going to learn about Tableau Assign Geographic Roles to Data Elements. We will start with its basic and then move to the more advanced approaches. We will cover the topic with suitable examples, its advantages, and disadvantages and learn how to\u00a0import\u00a0tableau geocoding file.<br \/>\nSo, let us start\u00a0Tableau Assign Geographic Roles.<\/p>\n<h3>Tableau Assign Geographic Roles<\/h3>\n<p>While Tableau can map most geographic locations, you may still encounter locations that are unrecognizable in Tableau, and therefore do not show up on your map. It is still possible to visualize this. One way to make this happen is by importing your location information along with its latitude and longitude coordinates into Tableau.<\/p>\n<h3>Steps to Import Tableau Geocoding File<\/h3>\n<p>i. Go to the Map menu, and select Import Custom Geocoding.<\/p>\n<div id=\"attachment_12546\" style=\"width: 404px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/2018-04-06.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12546\" class=\"wp-image-12546 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/2018-04-06.png\" alt=\"Step- 1 Import Tableau Geocoding File\" width=\"394\" height=\"170\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/2018-04-06.png 394w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/2018-04-06-150x65.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/2018-04-06-300x129.png 300w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/a><p id=\"caption-attachment-12546\" class=\"wp-caption-text\">Step- 1 Import Tableau Geocoding File<\/p><\/div>\n<p>ii. In the Import Custom Geocoding window, select the folder that contains the <strong>Busiest Airports.csv.<\/strong> Note your folder path may be different from what is shown in the following screenshot:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-402.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12541 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-402.png\" alt=\"Tableau Assign Geographic Roles\" width=\"449\" height=\"172\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-402.png 449w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-402-150x57.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-402-300x115.png 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/a><\/p>\n<p>iii. Click on Import. This will load the custom geocoding, and depend on how fast your machine is, may take a few minutes.<\/p>\n<p>iv. After the custom geocoding is imported, right-click on the Airport dimension field and change the Geographic Role to Busiest Airports, and then Airport Code:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-404.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12545 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-404.png\" alt=\"Tableau Assign Geographic Roles\" width=\"487\" height=\"434\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-404.png 487w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-404-150x134.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-404-300x267.png 300w\" sizes=\"auto, (max-width: 487px) 100vw, 487px\" \/><\/a><\/p>\n<p>v. Double-click on the Airport field in the Dimensions section of the sidebar. This will create a map in your view.<\/p>\n<p>vi. Click on the indicator shown in the bottom-right corner of your view:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-405.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12542 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-405.png\" alt=\"Tableau Assign Geographic Roles\" width=\"162\" height=\"73\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-405.png 162w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-405-150x68.png 150w\" sizes=\"auto, (max-width: 162px) 100vw, 162px\" \/><\/a><\/p>\n<p>vii. In the Special Values for [Airport] window, select Edit Locations\u2026:<\/p>\n<div id=\"attachment_12543\" style=\"width: 428px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-406.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12543\" class=\"wp-image-12543 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-406.png\" alt=\"Tableau Assign Geographic Roles\" width=\"418\" height=\"354\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-406.png 418w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-406-150x127.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-406-300x254.png 300w\" sizes=\"auto, (max-width: 418px) 100vw, 418px\" \/><\/a><p id=\"caption-attachment-12543\" class=\"wp-caption-text\">Step-7 Import Tableau Geocoding\u00a0File<\/p><\/div>\n<p>viii. Select None for Country\/Region Click OK when done:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-407.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12544 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-407.png\" alt=\"Tableau Assign Geographic Roles\" width=\"560\" height=\"456\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-407.png 560w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-407-150x122.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Screenshot-407-300x244.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>ix. From Measures, drag Passengers to Color.<\/p>\n<p>x. Right-click on the Passengers pill in the Color property in the Marks card and select Measure, and then Average.<\/p>\n<p>xi. From Measures, drag Passengers to Size.<\/p>\n<p>xii. Right-click on the Passengers pill in the Size property in the Marks card and select Measure, and then Average.<\/p>\n<p>This was all about Tableau Assign Geographic Roles to Data Elements Tutorial. Hope you like our explanation of Importing Tableau\u00a0Geocoding File.<\/p>\n<h3>Conclusion<\/h3>\n<p>In this Tableau Tutorial, we studied the Tableau Assign Geographic Roles to Data Elements, importing tableau geocoding file and many other points related to the topic. We thus complete another milestone in our journey.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Tableau tutorial, we are going to learn about Tableau Assign Geographic Roles to Data Elements. We will start with its basic and then move to the more advanced approaches. We will cover&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":12540,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[1187,6209,13848,14160,14203,14292,14333,14400],"class_list":["post-12406","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tableau","tag-assign-geographic-roles-in-tableau","tag-how-to-import-tableau-geocoding-file","tag-steps-to-import-tableau-geocoding-file","tag-tableau-assign-geographic-roles","tag-tableau-country-codes","tag-tableau-geocoding-file","tag-tableau-latitude-longitude-not-generated","tag-tableau-reverse-geocoding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Tableau Assign Geographic Roles - Importing Tableau Geocoding File - DataFlair<\/title>\n<meta name=\"description\" content=\"Tableau Assign Geographic Roles to data elements, How to import Tableau Geocoding File, Tableau reverse geocoding etc.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tableau Assign Geographic Roles - Importing Tableau Geocoding File - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Tableau Assign Geographic Roles to data elements, How to import Tableau Geocoding File, Tableau reverse geocoding etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-04-06T11:59:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-01T14:03:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Assigning-Geographical-Roles-to-Data-Elements-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tableau Assign Geographic Roles - Importing Tableau Geocoding File - DataFlair","description":"Tableau Assign Geographic Roles to data elements, How to import Tableau Geocoding File, Tableau reverse geocoding etc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/","og_locale":"en_US","og_type":"article","og_title":"Tableau Assign Geographic Roles - Importing Tableau Geocoding File - DataFlair","og_description":"Tableau Assign Geographic Roles to data elements, How to import Tableau Geocoding File, Tableau reverse geocoding etc.","og_url":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-04-06T11:59:41+00:00","article_modified_time":"2025-03-01T14:03:05+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Assigning-Geographical-Roles-to-Data-Elements-01.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Tableau Assign Geographic Roles &#8211; Importing Tableau Geocoding File","datePublished":"2018-04-06T11:59:41+00:00","dateModified":"2025-03-01T14:03:05+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/"},"wordCount":412,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Assigning-Geographical-Roles-to-Data-Elements-01.jpg","keywords":["Assign Geographic Roles in Tableau","how to import tableau geocoding file","Steps to Import Tableau Geocoding File","Tableau Assign Geographic Roles","tableau country codes","tableau geocoding file","tableau latitude longitude not generated","tableau reverse geocoding"],"articleSection":["Tableau Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/","url":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/","name":"Tableau Assign Geographic Roles - Importing Tableau Geocoding File - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Assigning-Geographical-Roles-to-Data-Elements-01.jpg","datePublished":"2018-04-06T11:59:41+00:00","dateModified":"2025-03-01T14:03:05+00:00","description":"Tableau Assign Geographic Roles to data elements, How to import Tableau Geocoding File, Tableau reverse geocoding etc.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Assigning-Geographical-Roles-to-Data-Elements-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Assigning-Geographical-Roles-to-Data-Elements-01.jpg","width":1200,"height":628,"caption":"Assigning Geographical Roles to Data Elements"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/tableau-assign-geographic-roles\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Tableau Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/tableau\/"},{"@type":"ListItem","position":3,"name":"Tableau Assign Geographic Roles &#8211; Importing Tableau Geocoding File"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/12406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=12406"}],"version-history":[{"count":6,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/12406\/revisions"}],"predecessor-version":[{"id":144414,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/12406\/revisions\/144414"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/12540"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=12406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=12406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=12406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}