{"id":39164,"date":"2026-07-08T16:52:10","date_gmt":"2026-07-08T15:52:10","guid":{"rendered":"https:\/\/developers.ila.cegid.com\/vision\/\/"},"modified":"2026-07-17T17:09:49","modified_gmt":"2026-07-17T16:09:49","slug":"independent-and-related-datasets","status":"publish","type":"vision","link":"https:\/\/developers.ila.cegid.com\/en\/vision\/documentation\/data-model\/article\/independent-and-related-datasets","title":{"rendered":"Independent and related datasets"},"content":{"rendered":"<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><p>A dataset is the data source of a widget in a Vision dashboard. You can create as many datasets as needed, but it&#8217;s important to keep in mind how information is organized between them.<\/p>\n<\/div><\/section>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><h2>Independent datasets<\/h2>\n<p>Each dataset is <strong>independent<\/strong> of the others.<\/p>\n<p>Unlike other data models, Vision doesn&#8217;t use star or snowflake-type structures. Each dataset must contain <strong>all the information<\/strong> the widget needs to display its data, since a widget can only have one dataset as its data source.<\/p>\n<p>If the data comes from a star-type relational model, it must be transformed into a flat structure so that the Vision dataset contains all the information needed for the visualization.<\/p>\n<\/div><\/section>\n<div  class='avia-image-container  av-styling-    avia-align-center '  itemprop=\"image\" itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/ImageObject\"  ><div class='avia-image-container-inner'><div class='avia-image-overlay-wrap'><img decoding=\"async\" class='wp-image-38660 avia-img-lazy-loading-not-38660 avia_image' src=\"https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/04.datamodel.independent.datasets-300x149.png\" alt='' title='04.datamodel.independent.datasets' height=\"149\" width=\"300\"  itemprop=\"thumbnailUrl\" srcset=\"https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/04.datamodel.independent.datasets-300x149.png 300w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/04.datamodel.independent.datasets-1030x510.png 1030w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/04.datamodel.independent.datasets-768x381.png 768w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/04.datamodel.independent.datasets-1536x761.png 1536w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/04.datamodel.independent.datasets-1500x743.png 1500w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/04.datamodel.independent.datasets-705x349.png 705w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/04.datamodel.independent.datasets.png 1802w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/div><\/div><\/div>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><p style=\"text-align: center;\"><em>Star model transformed into independent datasets<\/em><\/p>\n<\/div><\/section>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><h2>Related datasets<\/h2>\n<p>In some cases, several datasets can share the same business logic and, as a result, contain common information.<\/p>\n<p>For example, an <strong>Events<\/strong> dataset may have a related <strong>Actions<\/strong> dataset, where an event has one or more associated actions.<\/p>\n<\/div><\/section>\n<div  class='avia-image-container  av-styling-    avia-align-center '  itemprop=\"image\" itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/ImageObject\"  ><div class='avia-image-container-inner'><div class='avia-image-overlay-wrap'><img decoding=\"async\" class='wp-image-38664 avia-img-lazy-loading-not-38664 avia_image' src=\"https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/05.datamodel.dataset.common.features-300x165.png\" alt='' title='05.datamodel.dataset.common.features' height=\"165\" width=\"300\"  itemprop=\"thumbnailUrl\" srcset=\"https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/05.datamodel.dataset.common.features-300x165.png 300w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/05.datamodel.dataset.common.features-1030x567.png 1030w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/05.datamodel.dataset.common.features-768x423.png 768w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/05.datamodel.dataset.common.features-1536x846.png 1536w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/05.datamodel.dataset.common.features-1500x826.png 1500w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/05.datamodel.dataset.common.features-705x388.png 705w, https:\/\/developers.ila.cegid.com\/wp-content\/uploads\/05.datamodel.dataset.common.features.png 1865w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/div><\/div><\/div>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><p><em>Relationship between two entities with common fields<\/em><\/p>\n<\/div><\/section>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><p>When two datasets contain common information, the shared fields can be identified in two ways:<\/p>\n<ul>\n<li>By assigning the <strong>same identifier<\/strong> to the <strong>same field<\/strong> in each dataset where it appears;<\/li>\n<li>By setting up a <strong>relationship or field mapping<\/strong> between different datasets in the dashboard where they are used.<\/li>\n<\/ul>\n<\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2254,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","tags":[],"post-type":[],"categoria-vision":[1075],"class_list":["post-39164","vision","type-vision","status-publish","format-standard","hentry","categoria-vision-data-model"],"_links":{"self":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/vision\/39164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/vision"}],"about":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/types\/vision"}],"author":[{"embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/users\/2254"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/comments?post=39164"}],"version-history":[{"count":0,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/vision\/39164\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/media?parent=39164"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/tags?post=39164"},{"taxonomy":"post-type","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/post-type?post=39164"},{"taxonomy":"categoria-vision","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/categoria-vision?post=39164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}