{"id":1258,"date":"2025-06-03T03:40:43","date_gmt":"2025-06-03T03:40:43","guid":{"rendered":"https:\/\/cbi-focus.com\/?post_type=docs&#038;p=1258"},"modified":"2025-06-10T01:13:03","modified_gmt":"2025-06-10T01:13:03","password":"","slug":"managing-table-relationships","status":"publish","type":"docs","link":"https:\/\/cbi-focus.com\/en\/documentation\/for-editors\/managing-table-relationships\/","title":{"rendered":"Managing Table Relationships"},"content":{"rendered":"\n<p>After loading the dataset into Power BI, it may be necessary to establish the underlying relationships between the primary keys of the fact and dimension tables in the star schema of the cBI Focus Planner. This is a crucial requirement for utilizing the write-back function of data through the cBI Focus Planner into the SQL database. Detailed information about the conceptual structure and significance of the star schema can be found in <a href=\"https:\/\/cbi-focus.com\/docs\/system-requirements\/#5-toc-title\">this section<\/a>.<\/p>\n\n\n\n<p><strong>Establishing Relationships Between Fact and Dimension Tables:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<ol class=\"wp-block-list olOverwrite\">\n<li>Open the &#8220;Manage relationships&#8221; section in the &#8220;Model view&#8221; of Power BI Desktop.<\/li>\n<\/ol>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1240\" height=\"505\" src=\"https:\/\/cbi-focus.com\/wp-content\/uploads\/2025\/06\/Establishing-Relationships-Between-Fact-and-Dimension-Tables-Step-1-2.png\" alt=\"\" class=\"wp-image-1535\" style=\"width:443px;height:auto\" srcset=\"https:\/\/cbi-focus.com\/wp-content\/uploads\/2025\/06\/Establishing-Relationships-Between-Fact-and-Dimension-Tables-Step-1-2.png 1240w, https:\/\/cbi-focus.com\/wp-content\/uploads\/2025\/06\/Establishing-Relationships-Between-Fact-and-Dimension-Tables-Step-1-2-980x399.png 980w, https:\/\/cbi-focus.com\/wp-content\/uploads\/2025\/06\/Establishing-Relationships-Between-Fact-and-Dimension-Tables-Step-1-2-480x195.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1240px, 100vw\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<ol start=\"2\" class=\"wp-block-list olOverwrite\">\n<li>Create one-to-many relationships between the central fact table and all relevant dimension tables.<\/li>\n<\/ol>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"901\" height=\"1008\" src=\"https:\/\/cbi-focus.com\/wp-content\/uploads\/2025\/06\/Establishing-Relationships-Between-Fact-and-Dimension-Tables-Step-2-1.png\" alt=\"\" class=\"wp-image-1537\" style=\"width:306px;height:auto\" srcset=\"https:\/\/cbi-focus.com\/wp-content\/uploads\/2025\/06\/Establishing-Relationships-Between-Fact-and-Dimension-Tables-Step-2-1.png 901w, https:\/\/cbi-focus.com\/wp-content\/uploads\/2025\/06\/Establishing-Relationships-Between-Fact-and-Dimension-Tables-Step-2-1-480x537.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 901px, 100vw\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>Ensure that each dimension table used is directly connected to the fact table. Only when all necessary links are established is the model considered a valid star schema\u2014and only then can the cBI Focus Planner be used properly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After loading the dataset into Power BI, it may be necessary to establish the underlying relationships between the primary keys of the fact and dimension tables in the star schema of the cBI Focus Planner. This is a crucial requirement for utilizing the write-back function of data through the cBI Focus Planner into the SQL [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"doc_category":[32],"doc_tag":[],"class_list":["post-1258","docs","type-docs","status-publish","hentry","doc_category-for-editors"],"year_month":"2026-04","word_count":146,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Yuki Shiono","author_nicename":"yuki","author_url":"https:\/\/cbi-focus.com\/en\/author\/yuki\/"},"doc_category_info":[{"term_name":"For Editors","term_url":"https:\/\/cbi-focus.com\/en\/documentation\/for-editors\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/cbi-focus.com\/en\/wp-json\/wp\/v2\/docs\/1258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cbi-focus.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/cbi-focus.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/cbi-focus.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/cbi-focus.com\/en\/wp-json\/wp\/v2\/comments?post=1258"}],"version-history":[{"count":4,"href":"https:\/\/cbi-focus.com\/en\/wp-json\/wp\/v2\/docs\/1258\/revisions"}],"predecessor-version":[{"id":1543,"href":"https:\/\/cbi-focus.com\/en\/wp-json\/wp\/v2\/docs\/1258\/revisions\/1543"}],"wp:attachment":[{"href":"https:\/\/cbi-focus.com\/en\/wp-json\/wp\/v2\/media?parent=1258"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/cbi-focus.com\/en\/wp-json\/wp\/v2\/doc_category?post=1258"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/cbi-focus.com\/en\/wp-json\/wp\/v2\/doc_tag?post=1258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}