{"id":33502,"date":"2021-01-21T12:37:02","date_gmt":"2021-01-21T12:37:02","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=33502"},"modified":"2021-01-21T12:37:03","modified_gmt":"2021-01-21T12:37:03","slug":"create-hierarchies","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/","title":{"rendered":"Create Hierarchies"},"content":{"rendered":"\n<p>You can define hierarchies, in tabular models, as metadata for defining relationships between two or more columns in a table. Further, hierarchies can appear separate from other columns in a reporting client field list, making them easier for client users to navigate and include in a report.<\/p>\n\n\n\n<p>Moreover, we will learn to create hierarchies representing a group of columns arranged in levels. Hierarchies can appear separate from other columns in a reporting client application field list, making them easier for client users to navigate and include in a report. Therefore, to create hierarchies, use the model designer in\u00a0<em>Diagram View<\/em>. Also, creating and managing hierarchies is not supported in Data View.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create-hierarchies\"><strong>How to Create hierarchies?<\/strong><\/h3>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"to-create-a-category-hierarchy-in-the-dimproduct-table\"><strong>Steps to create a Category hierarchy in the DimProduct table?<\/strong><\/h5>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, in the model designer (diagram view), right-click the\u00a0<strong>DimProduct<\/strong>\u00a0table >\u00a0<strong>Create Hierarchy<\/strong>. A new hierarchy appears at the bottom of the table window. Rename the hierarchy\u00a0<strong>Category<\/strong>.<\/li><li>Secondly, click and drag the\u00a0<strong>ProductCategoryName<\/strong>\u00a0column to the new\u00a0<strong>Category<\/strong>\u00a0hierarchy.<\/li><li>Thirdly, in the\u00a0<strong>Category<\/strong>\u00a0hierarchy, right-click the\u00a0<strong>ProductCategoryName<\/strong>\u00a0>\u00a0<strong>Rename<\/strong>, and then type\u00a0<strong>Category<\/strong>.\u00a0Renaming a column in a hierarchy does not rename that column in the table. A column in a hierarchy is just a representation of the column in the table.<\/li><li>Next, click and drag the\u00a0<strong>ProductSubcategoryName<\/strong>\u00a0column to the\u00a0<strong>Category<\/strong>\u00a0hierarchy. Rename it\u00a0<strong>Subcategory<\/strong>.<\/li><li>Lastly, right-click the\u00a0<strong>ModelName<\/strong>\u00a0column >\u00a0<strong>Add to hierarchy<\/strong>, and then select\u00a0<strong>Category<\/strong>. Do the same for\u00a0<strong>EnglishProductName<\/strong>. Rename these columns in the hierarchy\u00a0<strong>Model<\/strong>\u00a0and\u00a0<strong>Product<\/strong>.<\/li><\/ul>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"to-create-hierarchies-in-the-dimdate-table\"><strong>Steps to create hierarchies in the DimDate table<\/strong><\/h5>\n\n\n\n<ol class=\"wp-block-list\"><li>In the\u00a0<strong>DimDate<\/strong>\u00a0table, create a new hierarchy named\u00a0<strong>Calendar<\/strong>.<\/li><li>Add the following columns in-order &#8211;<ul><li>CalendarYear<\/li><li>CalendarSemester<\/li><li>CalendarQuarter<\/li><li>MonthCalendar<\/li><li>DayNumberOfMonth<\/li><\/ul><\/li><li>In the\u00a0<strong>DimDate<\/strong>\u00a0table, create a\u00a0<strong>Fiscal<\/strong>\u00a0hierarchy. Include the following columns &#8211; <ul><li>FiscalYear<\/li><li>FiscalSemester<\/li><li>FiscalQuarter<\/li><li>MonthCalendar<\/li><li>DayNumberOfMonth<\/li><\/ul><\/li><li>Finally, in the\u00a0<strong>DimDate<\/strong>\u00a0table, create a\u00a0<strong>ProductionCalendar<\/strong>\u00a0hierarchy. Include the following columns &#8211; <ul><li>CalendarYear<\/li><li>WeekNumberOfYear<\/li><li>DayNumberOfWeek<\/li><\/ul><\/li><\/ol>\n\n\n\n<div class=\"wp-block-image is-style-default\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.testpreptraining.ai\/analyzing-data-with-microsoft-power-bi-da-100-free-test\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Microsoft-Exam-DA-100-Free-Practice-Test.png\" alt=\"Microsoft Exam DA-100 Free Practice Test\"\/><\/a><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>You can define hierarchies, in tabular models, as metadata for defining relationships between two or more columns in a table. Further, hierarchies can appear separate from other columns in a reporting client field list, making them easier for client users to navigate and include in a report. Moreover, we will learn to create hierarchies representing&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[174],"tags":[1830,3955,3954],"class_list":["post-33502","page","type-page","status-publish","hentry","category-microsoft-azure","tag-da-100-study-guide","tag-microsoft-exam-da-100-exam-questions","tag-microsoft-exam-da-100-free-practice-test"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create Hierarchies | Microsoft DA-100 | - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"Boost your chance and get ready to qualify Microsoft Exam DA-100 with a free test. Learn to Create Hierarchies with Online tutorial Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create Hierarchies | Microsoft DA-100 | - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"Boost your chance and get ready to qualify Microsoft Exam DA-100 with a free test. Learn to Create Hierarchies with Online tutorial Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-21T12:37:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Microsoft-Exam-DA-100-Free-Practice-Test.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/\",\"name\":\"Create Hierarchies | Microsoft DA-100 | - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2021-01-21T12:37:02+00:00\",\"dateModified\":\"2021-01-21T12:37:03+00:00\",\"description\":\"Boost your chance and get ready to qualify Microsoft Exam DA-100 with a free test. Learn to Create Hierarchies with Online tutorial Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Hierarchies\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create Hierarchies | Microsoft DA-100 | - Testprep Training Tutorials","description":"Boost your chance and get ready to qualify Microsoft Exam DA-100 with a free test. Learn to Create Hierarchies with Online tutorial Now!","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:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/","og_locale":"en_US","og_type":"article","og_title":"Create Hierarchies | Microsoft DA-100 | - Testprep Training Tutorials","og_description":"Boost your chance and get ready to qualify Microsoft Exam DA-100 with a free test. Learn to Create Hierarchies with Online tutorial Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2021-01-21T12:37:03+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Microsoft-Exam-DA-100-Free-Practice-Test.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/","name":"Create Hierarchies | Microsoft DA-100 | - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2021-01-21T12:37:02+00:00","dateModified":"2021-01-21T12:37:03+00:00","description":"Boost your chance and get ready to qualify Microsoft Exam DA-100 with a free test. Learn to Create Hierarchies with Online tutorial Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/create-hierarchies\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Create Hierarchies"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/33502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=33502"}],"version-history":[{"count":2,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/33502\/revisions"}],"predecessor-version":[{"id":33504,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/33502\/revisions\/33504"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=33502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=33502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=33502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}