<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:georss="http://www.georss.org/georss"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
><channel><title>Data Model &#8211; DataVeld</title> <atom:link href="http://dataveld.com/tag/data-model/feed/" rel="self" type="application/rss+xml" /><link>https://dataveld.com</link> <description>A Microsoft Data Experience Blog</description> <lastBuildDate>Thu, 18 Jun 2020 05:53:56 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod> hourly </sy:updatePeriod> <sy:updateFrequency> 1 </sy:updateFrequency> <generator>https://wordpress.org/?v=5.3.26</generator><image> <url>https://i0.wp.com/dataveld.com/wp-content/uploads/2016/10/cropped-cropped-dataveld23.png?fit=32%2C32&#038;ssl=1</url><title>Data Model &#8211; DataVeld</title><link>https://dataveld.com</link> <width>32</width> <height>32</height> </image> <site
xmlns="com-wordpress:feed-additions:1">143031883</site> <item><title>Four Core Differences Between the Tableau and Power BI Data Models</title><link>https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/</link> <comments>https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/#comments</comments> <pubDate>Thu, 18 Jun 2020 05:34:54 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Power BI]]></category> <category><![CDATA[Tableau]]></category> <category><![CDATA[Data Model]]></category><guid
isPermaLink="false">https://dataveld.com/?p=8502</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">4</span> <span
class="rt-label rt-postfix">minutes</span></span> Tableau recently released a logical data model in version 2020.2, while a similar semantic layer has been core to Microsoft Power BI since its inception. Power BI&#8217;s &#8220;tabular&#8221; model has a shared lineage across Microsoft products that predates Power BI...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/">Four Core Differences Between the Tableau and Power BI Data Models</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">4</span> <span
class="rt-label rt-postfix">minutes</span></span><p>Tableau recently released a <a
rel="noreferrer noopener" aria-label="logical data model (opens in a new tab)" href="https://help.tableau.com/v2020.2/pro/desktop/en-us/datasource_datamodel.htm" target="_blank">logical data model</a> in version 2020.2, while a similar semantic layer has been core to Microsoft Power BI since its inception. Power BI&#8217;s &#8220;tabular&#8221; model has a shared lineage across Microsoft products that predates Power BI itself (Power Pivot for Excel and Analysis Services have the same engine as Power BI).</p><p>Here is the same simple model defined in both Tableau (top) and Power BI (bottom):</p><figure
class="wp-block-image size-large"><img
data-attachment-id="8506" data-permalink="https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/tableau-data-model/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Data-Model.png?fit=763%2C262&amp;ssl=1" data-orig-size="763,262" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tableau-Data-Model" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Data-Model.png?fit=300%2C103&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Data-Model.png?fit=640%2C220&amp;ssl=1" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Data-Model.png?w=640&#038;ssl=1" alt="" class="wp-image-8506" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Data-Model.png?w=763&amp;ssl=1 763w, https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Data-Model.png?resize=300%2C103&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></figure><figure
class="wp-block-image size-large"><img
data-attachment-id="8507" data-permalink="https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/power-bi-data-model/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Data-Model.png?fit=723%2C333&amp;ssl=1" data-orig-size="723,333" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power-BI-Data-Model" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Data-Model.png?fit=300%2C138&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Data-Model.png?fit=640%2C295&amp;ssl=1" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Data-Model.png?w=640&#038;ssl=1" alt="" class="wp-image-8507" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Data-Model.png?w=723&amp;ssl=1 723w, https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Data-Model.png?resize=300%2C138&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></figure><p>Prior to 2020.2, Tableau had a physical data model that allowed joins between tables. This layer is still present, and it is similar to Power BI&#8217;s <em>merge</em> capability within Power Query to join multiple tables into a single table.</p><p>With the introduction of the logical model in Tableau 2020.2, a single logical table may consist of one or more physical tables. Two or more logical tables may be related to each other. This approach shares many similarities with Microsoft&#8217;s tabular model, but there are currently some core differences that may impact how you approach data modeling in one tool versus another. It&#8217;s not always going to be a straightforward scenario to apply knowledge of how to build a data model in one product to building it in the other.</p><p>NOTE: This post considers some core differences between Tableau and Power BI modeling as of June 2020. It does not go into detail on announced roadmap features such as Power BI&#8217;s enhanced <a
rel="noreferrer noopener" aria-label="composite models (opens in a new tab)" href="https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave1/business-intelligence/composite-models-over-power-bi-azure-analysis-services-datasets" target="_blank">composite models</a> coming later in 2020, which will allow scenarios like combining a &#8220;live connection&#8221; composite model with additional data sources, or even multiple live connection models.</p><p>While not exhaustive, here are four core differences between the logical data modeling experience between Tableau and Power BI:</p><h2>1) Multiple Fact Tables</h2><p>While this may only be a sign of Tableau&#8217;s fledgling modeling capabilities, the logical model strangely does not support multiple fact tables joined to more than a single dimension.</p><p>In Power BI, it&#8217;s common to build data models with multiple fact tables that may relate to multiple dimensions like so:</p><figure
class="wp-block-image size-large"><img
data-attachment-id="8508" data-permalink="https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/simple-multiple-fact-table-data-model/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Simple-Multiple-Fact-Table-Data-Model.png?fit=777%2C473&amp;ssl=1" data-orig-size="777,473" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Simple-Multiple-Fact-Table-Data-Model" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Simple-Multiple-Fact-Table-Data-Model.png?fit=300%2C183&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Simple-Multiple-Fact-Table-Data-Model.png?fit=640%2C390&amp;ssl=1" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Simple-Multiple-Fact-Table-Data-Model.png?w=640&#038;ssl=1" alt="" class="wp-image-8508" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Simple-Multiple-Fact-Table-Data-Model.png?w=777&amp;ssl=1 777w, https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Simple-Multiple-Fact-Table-Data-Model.png?resize=300%2C183&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2020/06/Simple-Multiple-Fact-Table-Data-Model.png?resize=768%2C468&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></figure><p>I&#8217;m not sure how valuable a setup like this is (it&#8217;s not):</p><figure
class="wp-block-image size-large"><img
data-attachment-id="8509" data-permalink="https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/tableau-multiple-fact-tables/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fact-Tables.png?fit=1095%2C285&amp;ssl=1" data-orig-size="1095,285" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tableau-Multiple-Fact-Tables" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fact-Tables.png?fit=300%2C78&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fact-Tables.png?fit=640%2C167&amp;ssl=1" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fact-Tables.png?fit=700%2C183&amp;ssl=1" alt="" class="wp-image-8509" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fact-Tables.png?w=1095&amp;ssl=1 1095w, https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fact-Tables.png?resize=300%2C78&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fact-Tables.png?resize=1024%2C267&amp;ssl=1 1024w, https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fact-Tables.png?resize=768%2C200&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" /></figure><p>Tableau&#8217;s docs have an &#8220;<a
rel="noreferrer noopener" aria-label="unsupported models (opens in a new tab)" href="https://help.tableau.com/v2020.2/pro/desktop/en-us/datasource_datamodel.htm" target="_blank">unsupported models</a>&#8221; section that offers possible workarounds such as merging fact tables together in physical tables. That&#8217;s not ideal but may sometimes work. This suggestion in the docs to possibly crossjoin dimensions should be avoided though: &#8220;Alternatively, you might be able to cross-join Date and Customer to create a single dimension table&#8221;. Out of love and consideration for anyone who needs to use or maintain your model, please don&#8217;t crossjoin all your dimensions. Hopefully Tableau supports more robust data models with multiple fact tables in a future version soon.<br></p><h2>2) Defining Relationships with Multiple Fields</h2><p>Tableau allows data modelers to define relationships on multiple fields. Power BI&#8217;s tabular model only allows relationships defined by a single field (and that will not change anytime soon).</p><figure
class="wp-block-image size-large"><img
data-attachment-id="8503" data-permalink="https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/tableau-multiple-fields-define-relationships/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fields-Define-Relationships.png?fit=906%2C472&amp;ssl=1" data-orig-size="906,472" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tableau-Multiple-Fields-Define-Relationships" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fields-Define-Relationships.png?fit=300%2C156&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fields-Define-Relationships.png?fit=640%2C333&amp;ssl=1" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fields-Define-Relationships.png?w=640&#038;ssl=1" alt="" class="wp-image-8503" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fields-Define-Relationships.png?w=906&amp;ssl=1 906w, https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fields-Define-Relationships.png?resize=300%2C156&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Tableau-Multiple-Fields-Define-Relationships.png?resize=768%2C400&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></figure><p>In Power BI, if a relationship needs to be defined on multiple fields, that composite key must be built manually as a workaround by <a
rel="noreferrer noopener" aria-label="concatenating the fields together (opens in a new tab)" href="https://docs.microsoft.com/en-us/analysis-services/tabular-models/relationships-ssas-tabular?view=asallproducts-allversions#composite-keys-and-lookup-columns" target="_blank">concatenating the fields together</a>. For example, if you need to create a geography relationship based on country and state, you end up manufacturing a composite key with values like &#8220;USAMichigan&#8221; instead of relating on the Country field and State field separately.</p><p>Modelers who have been working with Microsoft&#8217;s tabular engine might not like it (that&#8217;s an understatement), but we&#8217;re used to it. It&#8217;s refreshing to see Tableau offer a convenient alternative. If anyone starts in Tableau and then needs to build a model in Power BI, enforced single key relationships might lead to some confusion.<br></p><h2>3) Active and Inactive Relationships</h2><p>Both Tableau and Power BI allow a single active relationship between tables. In addition, Power BI allows multiple <em>inactive</em> relationships between the same tables. Measures defined using DAX can utilize these inactive relationships and override the default active relationship when needed&#8211;which is not often.</p><p>A common scenario is multiple dates in a fact table. In Power BI, more often than not, you will see role-playing dimensions setup with multiple date dimensions instead of measures using inactive relationships (dotted line in the screenshot below). They are there if needed though while Tableau does not allow multiple relationships between tables.</p><figure
class="wp-block-image size-large"><img
data-attachment-id="8504" data-permalink="https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/power-bi-inactive-relationships/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Inactive-Relationships.png?fit=737%2C640&amp;ssl=1" data-orig-size="737,640" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power-BI-Inactive-Relationships" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Inactive-Relationships.png?fit=300%2C261&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Inactive-Relationships.png?fit=640%2C556&amp;ssl=1" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Inactive-Relationships.png?w=640&#038;ssl=1" alt="" class="wp-image-8504" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Inactive-Relationships.png?w=737&amp;ssl=1 737w, https://i2.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Inactive-Relationships.png?resize=300%2C261&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></figure><h2>4) Bi-directional Relationships</h2><p>In a one to many relationship, Power BI allows filters between the one side to the many (single direction) and also from the many side to one (both directions). Outside of special cases, using bi-directional relationships is generally discouraged in Power BI as they may provide unintended results if you have more than one fact table in the model with common dimensions. There are <a
rel="noreferrer noopener" aria-label="occasional benefits (opens in a new tab)" href="https://www.kasperonbi.com/power-bi-desktop-dynamic-security-cheat-sheet/" target="_blank">occasional benefits</a> to setting relationship direction to BOTH though on a limited basis.</p><figure
class="wp-block-image size-large"><img
data-attachment-id="8505" data-permalink="https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/power-bi-bidirectional-relationships/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Bidirectional-Relationships.png?fit=408%2C113&amp;ssl=1" data-orig-size="408,113" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power-BI-Bidirectional-Relationships" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Bidirectional-Relationships.png?fit=300%2C83&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Bidirectional-Relationships.png?fit=408%2C113&amp;ssl=1" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Bidirectional-Relationships.png?w=640&#038;ssl=1" alt="" class="wp-image-8505" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Bidirectional-Relationships.png?w=408&amp;ssl=1 408w, https://i1.wp.com/dataveld.com/wp-content/uploads/2020/06/Power-BI-Bidirectional-Relationships.png?resize=300%2C83&amp;ssl=1 300w" sizes="(max-width: 408px) 100vw, 408px" data-recalc-dims="1" /></figure><p>The post <a
rel="nofollow" href="https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/">Four Core Differences Between the Tableau and Power BI Data Models</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2020/06/18/four-core-differences-between-the-tableau-and-power-bi-data-models/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">8502</post-id> </item> </channel> </rss>