

{"id":10628,"date":"2018-03-13T10:19:07","date_gmt":"2018-03-13T10:19:07","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=10628"},"modified":"2025-03-01T14:43:28","modified_gmt":"2025-03-01T09:13:28","slug":"tableau-hierarchy","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/","title":{"rendered":"Hierarchies in Tableau &#8211; A step by step guide to create Tableau hierarchy"},"content":{"rendered":"<p>In this tutorial, we are going to learn how to create hierarchies in Tableau. Hierarchies play a very important role in using the data fields in an organized manner. So, let us learn in a stepwise manner how to create and use hierarchies from your data set in Tableau.<\/p>\n<h3>What are Hierarchies in Tableau?<\/h3>\n<p>Before we start learning how to create hierarchies in Tableau, let us have a better understanding of hierarchies. The term hierarchy is not specific to Tableau and you might have heard and used it in many places before.<\/p>\n<p>In the context of data, hierarchies are a logical arrangement of relevant unique attributes in a data set. Hierarchies arrange data fields in a level, for instance, a Geography hierarchy would have a region, country, state, city, area levels. Or, a Time hierarchy has a year, month, week, day as its levels.<\/p>\n<p>By creating hierarchies in Tableau, we set our data on different levels of detail and organize it. Tableau can automatically create hierarchies by detecting relevant fields or you can create custom hierarchies.<\/p>\n<p><em><strong>Before moving ahead, have a quick revision of <a href=\"https:\/\/data-flair.training\/blogs\/tableau-reporting\/\">reporting in Tableau<\/a>.<\/strong><\/em><\/p>\n<h3>Creating Hierarchies in Tableau<\/h3>\n<p>Follow the steps given below to create hierarchies in Tableau.<\/p>\n<h4>Step 1: Drag a Field in Tableau Hierarchy<\/h4>\n<p>To start with creating a hierarchy in your data set, select a field from the list of dimensions and measures. Select and hold the field and drag it on to or on top of another field. By doing this, we add a field at a sub-level in the hierarchy.<\/p>\n<p>Another way of adding a field in an existing hierarchy is to right-click on a field name, then select <strong>Hierarchy<\/strong> from the list. Then select <strong>Add to hierarchy option<\/strong> and select the name of the hierarchy in which you wish to add the field.<a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drag-a-field.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-75653 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drag-a-field.png\" alt=\"drag a field in tableau hierarchy\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drag-a-field.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drag-a-field-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drag-a-field-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drag-a-field-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drag-a-field-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drag-a-field-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<h4>Step 2: Name the Hierarchies in Tableau<\/h4>\n<p>As soon as you add a field on the top of another field, a window pops up where you need to enter the name of the hierarchy. Enter a suitable name for the hierarchy and click on <strong>OK<\/strong>.<a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/name-the-hierarchy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-75654 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/name-the-hierarchy.png\" alt=\"name the hierarchies in tableau\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/name-the-hierarchy.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/name-the-hierarchy-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/name-the-hierarchy-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/name-the-hierarchy-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/name-the-hierarchy-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/name-the-hierarchy-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<h4>Step 3: Add More Fields in Tableau Hierarchy<\/h4>\n<p>Once you enter a name, your hierarchy can be seen on the left <strong>Data panel<\/strong> as shown in the screenshot below. We put the<em> Sub-category<\/em> field under the <em>Category field<\/em>. That is, <em>Category<\/em> is on the first level of the hierarchy and<em> Sub-category<\/em> is on the second level. Following step 1, you can add more fields under a field in a hierarchy.<a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hierarchy-added.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-75656 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hierarchy-added.png\" alt=\"add hierarchies in tableau\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hierarchy-added.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hierarchy-added-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hierarchy-added-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hierarchy-added-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hierarchy-added-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hierarchy-added-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<h4>Step 4: Drill Down Hierarchy in Tableau<\/h4>\n<p>Now, you can use this hierarchy into visualization by putting it in a <strong>Rows<\/strong> or <strong>Columns<\/strong> section. To drill down in a hierarchy, click on the <strong>plus + sign<\/strong> given right next to a field name. As you can see in the screenshot below, our field <em>Category<\/em> is on the top of the hierarchy. When we click on the + sign near the field name, the field on a lower level in the hierarchy will be shown.<a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drill-down-hierarchy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-75657 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drill-down-hierarchy.png\" alt=\"drill-down hierarchy in tableau\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drill-down-hierarchy.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drill-down-hierarchy-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drill-down-hierarchy-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drill-down-hierarchy-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drill-down-hierarchy-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/drill-down-hierarchy-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<h4>Step 5: Analyze Data in Tableau Hierarchy<\/h4>\n<p>As shown in the screenshot below, the field <strong>Sub-category<\/strong> and its contents are also visible in the <a href=\"https:\/\/data-flair.training\/blogs\/tableau-bar-chart\/\"><em><strong>bar chart<\/strong><\/em><\/a> now. This is after drilling-down the hierarchy by one level. To go back to the top or a preceding field in the hierarchy, click on the <strong>minus &#8211; sign<\/strong> present near a field name. In this way, you can easily drill up or down a hierarchy to see and analyze data at different levels of detail.<a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/subcategory-shown.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-75658 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/subcategory-shown.png\" alt=\"subcategory shown in tableau hierarchy\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/subcategory-shown.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/subcategory-shown-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/subcategory-shown-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/subcategory-shown-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/subcategory-shown-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/subcategory-shown-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<h4>Step 6: Geo Hierarchy in Tableau<\/h4>\n<p>The screenshot below shows a <strong>geo hierarchy<\/strong> where hierarchy with the name <strong>Geography<\/strong> is created. Under it, there are fields at sub-level such as <em>Region, Country, State, City,<\/em> etc.<a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/geo-hierarchy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-75659 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/geo-hierarchy.png\" alt=\"geo hierarchy in tableau\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/geo-hierarchy.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/geo-hierarchy-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/geo-hierarchy-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/geo-hierarchy-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/geo-hierarchy-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/geo-hierarchy-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<h3>How to Remove a Hierarchy in Tableau?<\/h3>\n<p>To remove a hierarchy in <a href=\"https:\/\/www.tableau.com\/\">Tableau<\/a> all you need to do is right-click on the hierarchy name (present in the <strong>Data pane<\/strong>) and select the option <strong>Remove Hierarchy<\/strong>. This will remove all the fields from that hierarchy and its name will no longer show in the <strong>Data pane<\/strong>.<\/p>\n<h3>Summary<\/h3>\n<p>Finally, we learnt everything about <em>Hierarchies in Tableau<\/em>. We hope you were able to understand the concept behind hierarchies and how to create them in Tableau.<\/p>\n<p><em><strong>Now!! Learn how to create <a href=\"https:\/\/data-flair.training\/blogs\/tableau-trend-line\/\">Trend Lines in Tableau<\/a> with DataFlair.<\/strong><\/em><\/p>\n<p>Still if you have any queries, feel free to ask in the comment section. Our team will help you.<\/p>\n<p>Happy Learning\ud83d\ude03<span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1340,&quot;href&quot;:&quot;https:\\\/\\\/www.tableau.com&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251011220932\\\/https:\\\/\\\/www.tableau.com\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 04:56:29&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2025-12-12 05:54:33&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2025-12-15 09:38:42&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2025-12-18 11:33:03&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2025-12-22 02:53:30&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2025-12-25 05:43:53&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2025-12-28 08:05:10&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2025-12-31 18:12:46&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-01-04 00:37:52&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-01-07 00:56:48&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-01-10 01:05:11&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-01-13 01:19:19&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-01-16 05:28:03&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-01-19 07:47:50&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-01-22 08:55:43&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-01-25 14:20:28&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-01-28 20:21:36&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-01 13:25:01&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-04 14:16:24&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-07 16:54:23&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-10 19:08:09&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-14 11:01:12&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-17 11:46:44&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-20 14:32:58&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-23 14:56:07&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-26 15:46:36&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-01 21:00:46&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-05 05:29:05&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-08 11:56:18&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-11 20:34:14&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-15 02:07:53&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-18 02:13:43&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-21 21:13:56&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-25 11:11:04&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-28 11:24:56&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-31 12:19:54&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-03 14:47:47&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-06 16:53:53&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-10 01:53:19&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-13 07:40:28&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-16 08:06:26&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-19 10:34:52&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-22 12:30:18&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-25 15:35:29&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-29 02:15:50&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-05-03 09:39:00&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-05-06 10:20:46&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-05-09 14:35:09&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-05-12 16:37:49&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-05-15 21:25:47&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-05-19 03:42:50&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-05-22 04:22:01&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-05-25 13:18:58&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-05-28 18:22:32&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-05-31 23:12:46&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-06-04 03:18:35&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-06-07 06:15:13&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-06-10 15:35:48&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-06-14 05:38:13&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-06-17 07:13:28&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-17 07:13:28&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to learn how to create hierarchies in Tableau. Hierarchies play a very important role in using the data fields in an organized manner. So, let us learn in&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":75715,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[3139,5637,21839,14297,15749],"class_list":["post-10628","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tableau","tag-creating-hierarchies-in-tableau","tag-hierarchies-in-tableau","tag-how-to-remove-a-hierarchy-in-tableau","tag-tableau-hierarchy","tag-what-is-hierarchy-in-tableau"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hierarchies in Tableau - A step by step guide to create Tableau hierarchy - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn about hierarchies in Tableau, how to create them step by step with the help of examples. Also, learn to remove a hierarchy in Tableau.\" \/>\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-hierarchy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hierarchies in Tableau - A step by step guide to create Tableau hierarchy - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn about hierarchies in Tableau, how to create them step by step with the help of examples. Also, learn to remove a hierarchy in Tableau.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/\" \/>\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-03-13T10:19:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-01T09:13:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/how-to-create-hierarchies-in-tableau.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\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=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hierarchies in Tableau - A step by step guide to create Tableau hierarchy - DataFlair","description":"Learn about hierarchies in Tableau, how to create them step by step with the help of examples. Also, learn to remove a hierarchy in Tableau.","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-hierarchy\/","og_locale":"en_US","og_type":"article","og_title":"Hierarchies in Tableau - A step by step guide to create Tableau hierarchy - DataFlair","og_description":"Learn about hierarchies in Tableau, how to create them step by step with the help of examples. Also, learn to remove a hierarchy in Tableau.","og_url":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-03-13T10:19:07+00:00","article_modified_time":"2025-03-01T09:13:28+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/how-to-create-hierarchies-in-tableau.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":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Hierarchies in Tableau &#8211; A step by step guide to create Tableau hierarchy","datePublished":"2018-03-13T10:19:07+00:00","dateModified":"2025-03-01T09:13:28+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/"},"wordCount":736,"commentCount":4,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/how-to-create-hierarchies-in-tableau.jpg","keywords":["Creating Hierarchies in Tableau","Hierarchies in Tableau","How to Remove a Hierarchy in Tableau?","Tableau Hierarchy","What is Hierarchy in Tableau"],"articleSection":["Tableau Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/","url":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/","name":"Hierarchies in Tableau - A step by step guide to create Tableau hierarchy - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/how-to-create-hierarchies-in-tableau.jpg","datePublished":"2018-03-13T10:19:07+00:00","dateModified":"2025-03-01T09:13:28+00:00","description":"Learn about hierarchies in Tableau, how to create them step by step with the help of examples. Also, learn to remove a hierarchy in Tableau.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/how-to-create-hierarchies-in-tableau.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/how-to-create-hierarchies-in-tableau.jpg","width":802,"height":420,"caption":"Tableau hierarchies"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/tableau-hierarchy\/#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":"Hierarchies in Tableau &#8211; A step by step guide to create Tableau hierarchy"}]},{"@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\/10628","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=10628"}],"version-history":[{"count":8,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/10628\/revisions"}],"predecessor-version":[{"id":144358,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/10628\/revisions\/144358"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/75715"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=10628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=10628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=10628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}