<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Relations &amp;amp; models in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2670591#M79625</link>
    <description>&lt;P&gt;hi again&lt;/P&gt;&lt;P&gt;in my model i have customer table which is related to sales table&lt;/P&gt;&lt;P&gt;also i have product table related to sales table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now when i create a matrix with customer ID &amp;amp; product, i get the products for each customers &amp;amp; sales for each customer by product,&amp;nbsp; how is that? as customer &amp;amp; products are not related , to my knowledge it should not work&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;link to my file&lt;/P&gt;&lt;P&gt;&lt;A href="https://catallah-my.sharepoint.com/:u:/g/personal/chahineatallah_catallah_onmicrosoft_com/ESJ6nEkGn8ZAg0KFk76RFSMBXYaGByXeEAwwTdm9dICrtA?e=UC7gKJ" target="_self"&gt;https://catallah-my.sharepoint.com/:u:/g/personal/chahineatallah_catallah_onmicrosoft_com/ESJ6nEkGn8ZAg0KFk76RFSMBXYaGByXeEAwwTdm9dICrtA?e=UC7gKJ&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jul 2022 12:45:51 GMT</pubDate>
    <dc:creator>chahineatallah</dc:creator>
    <dc:date>2022-07-30T12:45:51Z</dc:date>
    <item>
      <title>Relations &amp; models</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2656813#M78579</link>
      <description>&lt;P&gt;Hello Everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wanted to ask you, i have a relation between sales &amp;amp; store (1 to many) &amp;amp; product to sales (1 to many)&lt;/P&gt;&lt;P&gt;my question, how to make it to display only products available in certain store, for example if i choose store 3,&amp;nbsp; i want it to display only products of store 3, should i do a new table for that or is there some tip for that? thanks&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 08:23:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2656813#M78579</guid>
      <dc:creator>chahineatallah</dc:creator>
      <dc:date>2022-07-23T08:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Relations &amp; models</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2656828#M78584</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="258801" data-lia-user-login="chahineatallah" class="lia-mention lia-mention-user"&gt;chahineatallah&lt;/a&gt;&amp;nbsp;you have few options to do that.&lt;BR /&gt;The wrong one will be to use bi directional filters.&lt;BR /&gt;The right one will be to create a help measure for that.&lt;BR /&gt;Here is a tutorial that explains how to do that:&lt;BR /&gt;&lt;A href="https://www.sqlbi.com/tv/syncing-slicers-in-power-bi/" target="_blank"&gt;https://www.sqlbi.com/tv/syncing-slicers-in-power-bi/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.spartabi.com" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.spartabi.com" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="https://www.linkedin.com/company/spartabi" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt; &amp;nbsp;&amp;nbsp;&lt;A href="https://www.facebook.com/SpartaBI" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Data-Stories-Gallery/Contoso-by-SpartaBI/m-p/2449543" target="_blank" rel="noopener"&gt;&lt;FONT size="4" color="#0000EE"&gt;Showcase Report – Contoso By SpartaBI&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 09:45:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2656828#M78584</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-07-23T09:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Relations &amp; models</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2656834#M78585</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your question correctly, however, I tried to create a sample pbix file like the below.&lt;/P&gt;
&lt;P&gt;One way to do is, insert a Sales total measure into the Filters pane and select the condtion = "is not blank".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 09:53:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2656834#M78585</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-07-23T09:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Relations &amp; models</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2657287#M78630</link>
      <description>&lt;P&gt;hi yes this what i want, but why in my model i have blank in store&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so as summary , i have a model with store lookup,&amp;nbsp; product lookup, and sales&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have also created a store parameter (just for training purposes), when i choose my parameter as store 3, i want it to show me only products in that store &amp;amp; its sales, this is link to my file, dont know why i couldnt attach&lt;/P&gt;&lt;P&gt;&lt;A href="https://mailaub-my.sharepoint.com/:u:/g/personal/saa70_mail_aub_edu/EdP-Xrp-sJ1MjFvL82J2nqIBC1rCHtHNGPGyi1Ra1RlbYw?e=d4JVRA" target="_blank"&gt;maven roasters pbcommunity.pbix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 05:09:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2657287#M78630</guid>
      <dc:creator>chahineatallah</dc:creator>
      <dc:date>2022-07-24T05:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Relations &amp; models</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2657289#M78631</link>
      <description>&lt;P&gt;Thanks will check it out&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 05:13:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2657289#M78631</guid>
      <dc:creator>chahineatallah</dc:creator>
      <dc:date>2022-07-24T05:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Relations &amp; models</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2657299#M78632</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Sorry that it is quite difficult for me to understand your data model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Store Lookup table: only has store_id = 5&lt;/P&gt;
&lt;P&gt;Sales by Store table: it has store_id = 3,5,8&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think, you cannot show store 3 and 8 by using store lookup table. It is correct that it only shows sotre 5, and rest of stores are shwon as blank, because only store 5 information exists.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 06:37:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2657299#M78632</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-07-24T06:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Relations &amp; models</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2661347#M78915</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="258801" data-lia-user-login="chahineatallah" class="lia-mention lia-mention-user"&gt;chahineatallah&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked the PBIX file you shared and found that you selected the "store id" in the "Store Lookup" table, which only contains the number 5.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;In “Food Inventory”, the “store id” contains 3.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you can change the table and then you will get what you want: display only products of store 3.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;This is the PBIX file, you can directly to view it for understanding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Community Support Team&amp;nbsp;&lt;STRONG&gt;Selina&amp;nbsp;zhu&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 08:53:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2661347#M78915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-26T08:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Relations &amp; models</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2663669#M79067</link>
      <description>&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 03:41:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2663669#M79067</guid>
      <dc:creator>chahineatallah</dc:creator>
      <dc:date>2022-07-27T03:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Relations &amp; models</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2670591#M79625</link>
      <description>&lt;P&gt;hi again&lt;/P&gt;&lt;P&gt;in my model i have customer table which is related to sales table&lt;/P&gt;&lt;P&gt;also i have product table related to sales table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now when i create a matrix with customer ID &amp;amp; product, i get the products for each customers &amp;amp; sales for each customer by product,&amp;nbsp; how is that? as customer &amp;amp; products are not related , to my knowledge it should not work&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;link to my file&lt;/P&gt;&lt;P&gt;&lt;A href="https://catallah-my.sharepoint.com/:u:/g/personal/chahineatallah_catallah_onmicrosoft_com/ESJ6nEkGn8ZAg0KFk76RFSMBXYaGByXeEAwwTdm9dICrtA?e=UC7gKJ" target="_self"&gt;https://catallah-my.sharepoint.com/:u:/g/personal/chahineatallah_catallah_onmicrosoft_com/ESJ6nEkGn8ZAg0KFk76RFSMBXYaGByXeEAwwTdm9dICrtA?e=UC7gKJ&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 12:45:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relations-amp-models/m-p/2670591#M79625</guid>
      <dc:creator>chahineatallah</dc:creator>
      <dc:date>2022-07-30T12:45:51Z</dc:date>
    </item>
  </channel>
</rss>

