<?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 Cross Join Issue in AAS Tabular Model in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Cross-Join-Issue-in-AAS-Tabular-Model/m-p/2834669#M39193</link>
    <description>&lt;P&gt;I am a newbie to the world of AAS and using the same as a source in Power Bi. I have multiple tables, a couple of dimension tables and one fact table.&lt;/P&gt;&lt;P&gt;The fact table has 2 keys &lt;STRONG&gt;retailerkey&lt;/STRONG&gt; and &lt;STRONG&gt;retailerproductkey&lt;/STRONG&gt;. The dimension tables &lt;STRONG&gt;retailerdim&lt;/STRONG&gt; has retailerkey (PK) and retailerproductkey (FK). The other dimension table is &lt;STRONG&gt;retailerproductdim&lt;/STRONG&gt; and has the retailerproductkey (PK) and retailerkey (FK) and a few other details related to the products sold by the retailer such as &lt;STRONG&gt;SKUID&lt;/STRONG&gt; and &lt;STRONG&gt;SKUname&lt;/STRONG&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The relationship is as below&lt;/P&gt;&lt;P&gt;Retailerdim.retailerkey to salesfact.retailerkey AND&lt;/P&gt;&lt;P&gt;retailerproductdim.retailerproductkey with salesfact.retailerproductkey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a couple of other dimension tables with their respective dimension keys and each of these keys are present in the &lt;STRONG&gt;salesfact&lt;/STRONG&gt; table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The seller key in the seller table is mapped to the seller key in the salesfact table. The category key in the category table is mapped to the category key in the salesfact table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when I extract this name colums from the respective dimension tables into the powerBI report, I end up getting across join where for a single sku name, I either get multiple brands or&lt;/P&gt;&lt;P&gt;Multiple categories map to the same SKU name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a process by which I can avoid this cross join within AAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2022 00:28:44 GMT</pubDate>
    <dc:creator>nottyheadedboss</dc:creator>
    <dc:date>2022-10-12T00:28:44Z</dc:date>
    <item>
      <title>Cross Join Issue in AAS Tabular Model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cross-Join-Issue-in-AAS-Tabular-Model/m-p/2834669#M39193</link>
      <description>&lt;P&gt;I am a newbie to the world of AAS and using the same as a source in Power Bi. I have multiple tables, a couple of dimension tables and one fact table.&lt;/P&gt;&lt;P&gt;The fact table has 2 keys &lt;STRONG&gt;retailerkey&lt;/STRONG&gt; and &lt;STRONG&gt;retailerproductkey&lt;/STRONG&gt;. The dimension tables &lt;STRONG&gt;retailerdim&lt;/STRONG&gt; has retailerkey (PK) and retailerproductkey (FK). The other dimension table is &lt;STRONG&gt;retailerproductdim&lt;/STRONG&gt; and has the retailerproductkey (PK) and retailerkey (FK) and a few other details related to the products sold by the retailer such as &lt;STRONG&gt;SKUID&lt;/STRONG&gt; and &lt;STRONG&gt;SKUname&lt;/STRONG&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The relationship is as below&lt;/P&gt;&lt;P&gt;Retailerdim.retailerkey to salesfact.retailerkey AND&lt;/P&gt;&lt;P&gt;retailerproductdim.retailerproductkey with salesfact.retailerproductkey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a couple of other dimension tables with their respective dimension keys and each of these keys are present in the &lt;STRONG&gt;salesfact&lt;/STRONG&gt; table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The seller key in the seller table is mapped to the seller key in the salesfact table. The category key in the category table is mapped to the category key in the salesfact table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when I extract this name colums from the respective dimension tables into the powerBI report, I end up getting across join where for a single sku name, I either get multiple brands or&lt;/P&gt;&lt;P&gt;Multiple categories map to the same SKU name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a process by which I can avoid this cross join within AAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 00:28:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cross-Join-Issue-in-AAS-Tabular-Model/m-p/2834669#M39193</guid>
      <dc:creator>nottyheadedboss</dc:creator>
      <dc:date>2022-10-12T00:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Join Issue in AAS Tabular Model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cross-Join-Issue-in-AAS-Tabular-Model/m-p/2836054#M39204</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/454910"&gt;@nottyheadedboss&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The problem seems to be caused by these created relationships... You can refer the following links to try to solve the problem...&lt;/P&gt;
&lt;DIV class=""&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Duplicates-on-table-due-to-relationship-model/td-p/1196185" target="_self"&gt;Duplicates on table due to relationship model&lt;/A&gt;
&lt;P&gt;&lt;A href="https://curbal.com/curbal-learning-portal/beginners-guide-to-relationships-in-power-bi" target="_self"&gt;Relationships in Power BI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can provide the following info, later we will make troubleshooting and check if can give you a solution....&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Which connection mode you are using when you connect to AAS in Power BI Desktop?&lt;/LI&gt;
&lt;LI&gt;The screenshot of the relationships created among the tables&lt;/LI&gt;
&lt;LI&gt;Some sample data(&lt;EM&gt;&lt;EM&gt;&lt;STRONG&gt;exclude sensitive data) &lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;in the tables.&amp;nbsp;&lt;FONT style="font-family: inherit;" color="#FF0000"&gt;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;&lt;FONT color="#000000"&gt;if you can share a&amp;nbsp;&lt;FONT style="font-family: inherit;"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;simplified&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;pbix file. You can refer the following link to upload the file to the community. Thank you.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FDesktop%2FHow-to-upload-PBI-in-Community%2Fm-p%2F1672886&amp;amp;data=04%7C01%7Cv-yiruan%40microsoft.com%7C4f580813734d4a8355b008da16f6e91a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637847547341062885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=YJvujige2YITXKbKED9JieQm5LBdf%2F3IYPM4ggdiijQ%3D&amp;amp;reserved=0" target="_blank" rel="noopener nofollow noreferrer"&gt;How to upload PBI in Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Oct 2022 07:50:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cross-Join-Issue-in-AAS-Tabular-Model/m-p/2836054#M39204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-12T07:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Join Issue in AAS Tabular Model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cross-Join-Issue-in-AAS-Tabular-Model/m-p/2850082#M39321</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/454910"&gt;@nottyheadedboss&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Whether your problem has been resolved? If yes, could you please mark the helpful post as &lt;STRONG&gt;&lt;SPAN&gt;Answered&lt;/SPAN&gt;&lt;/STRONG&gt;? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 01:44:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cross-Join-Issue-in-AAS-Tabular-Model/m-p/2850082#M39321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-19T01:44:42Z</dc:date>
    </item>
  </channel>
</rss>

