<?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 Many to Many - No Duplicates? in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/2296359#M831778</link>
    <description>&lt;P&gt;Hey all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with a new data set that comes from Excel. It has one column for SKUs as a unique identifier. I am trying to link it to a second dataset that has SKUs but not as a unique identifier (One:Many relationship).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Power BI is insisting I can only do a Many:Many. I have removed all blank rows in Power Query, removed any rows where SKU is blank in the first data set in Power Query, and I have checked in both Excel and Power Query for duplicates - everything I've tried says there are no duplicate SKUs. Some might have duplicate values in other columns, but as best I can tell without going line by line, there are no duplicates in the unique identifier. Any ideas on why this would happen and what I can do about it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 21:31:32 GMT</pubDate>
    <dc:creator>Thigs</dc:creator>
    <dc:date>2022-01-21T21:31:32Z</dc:date>
    <item>
      <title>Many to Many - No Duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/2296359#M831778</link>
      <description>&lt;P&gt;Hey all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with a new data set that comes from Excel. It has one column for SKUs as a unique identifier. I am trying to link it to a second dataset that has SKUs but not as a unique identifier (One:Many relationship).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Power BI is insisting I can only do a Many:Many. I have removed all blank rows in Power Query, removed any rows where SKU is blank in the first data set in Power Query, and I have checked in both Excel and Power Query for duplicates - everything I've tried says there are no duplicate SKUs. Some might have duplicate values in other columns, but as best I can tell without going line by line, there are no duplicates in the unique identifier. Any ideas on why this would happen and what I can do about it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 21:31:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/2296359#M831778</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-01-21T21:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many - No Duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/2296407#M831794</link>
      <description>&lt;P&gt;Bear in mind that duplicates in the query editor and duplicates in the model aren't exactly the same since M is case-sensitive and DAX is not. Is it possible that you have some SKUs that differ only by case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try clean, trim, and upper case and then remove nulls and remove duplicates on the SKU column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;Text.Upper(Text.Trim(Text.Clean([SKU])))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 23:26:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/2296407#M831794</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-01-21T23:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many - No Duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/2298611#M832445</link>
      <description>&lt;P&gt;Hi! Thanks for the tip - unfortunately, no, this can't be the problem, as all the SKUs are numeric only, which can't have case sensitivity.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 13:24:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/2298611#M832445</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-01-24T13:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many - No Duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/2302759#M833591</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="337817" data-lia-user-login="Thigs" class="lia-mention lia-mention-user"&gt;Thigs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you check the data type of SKU in two Queries. Is the data type in both queries a numeric type? Is there set to text type? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please Group By the SKU to check the number of SKU.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If there still some errors, please provide a relevant screenshot so that we can identify the issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Community Support Team _ Polly&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 09:58:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/2302759#M833591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-26T09:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many - No Duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3070687#M1042352</link>
      <description>&lt;P&gt;I had the same issue and this worked for me, thanks a lot for the explanation!!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 02:18:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3070687#M1042352</guid>
      <dc:creator>jaadame</dc:creator>
      <dc:date>2023-02-09T02:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many - No Duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3646427#M1193381</link>
      <description>&lt;P&gt;I would try to first change the data types to text ( since they are an id of sorts i usually make all my id's text so there is no issues with accidentally combining the values as a value)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;After that do trim then make sure you remove duplicates after the trim step in power query so trim would be on top.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 17:10:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3646427#M1193381</guid>
      <dc:creator>Morrit</dc:creator>
      <dc:date>2024-01-18T17:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many - No Duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3810932#M1232722</link>
      <description>&lt;P&gt;For me, it was caused by a blank value in the column that is used for connection. Even every record was unique including this blank value.&lt;/P&gt;&lt;P&gt;Try use remove empty and then reconnect&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 13:01:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3810932#M1232722</guid>
      <dc:creator>DanIvanek</dc:creator>
      <dc:date>2024-04-04T13:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many - No Duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3810957#M1232727</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="337817" data-lia-user-login="Thigs" class="lia-mention lia-mention-user"&gt;Thigs&lt;/a&gt;, try to do the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Load your data to PowerBI&lt;/LI&gt;
&lt;LI&gt;go to "Table view", select the table you need and look at column profile&lt;img /&gt;&lt;/LI&gt;
&lt;LI&gt;Do you have the same value in number of rows for "Table" and SKU "column"? If not, create a table visual with 2 columns: SKU and Count SKU, then sort it in descending order by SKU number to find the duplicate&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If it doesn't help, please send us some statistic of your both dimensional and fact tables as well as details of the column you use as a key (like in the screenshot above).&lt;BR /&gt;&lt;BR /&gt;Could it be that you have any other relationship in your data model that doesn't allow you to create one-to-many relationship?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 13:11:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3810957#M1232727</guid>
      <dc:creator>Sergii24</dc:creator>
      <dc:date>2024-04-04T13:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many - No Duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3859476#M1244176</link>
      <description>&lt;P&gt;Thank you Alexis, I couldn't figure it out!&amp;nbsp; Yes, it was due to M being case-sensitive and DAX not, and your solution worked perfectly.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 13:25:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3859476#M1244176</guid>
      <dc:creator>ASTownsend</dc:creator>
      <dc:date>2024-04-22T13:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many - No Duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3880369#M1249135</link>
      <description>&lt;P&gt;I had the same issue. i removed nulls, then clean, then trim, and then made it all lowercase, and them removed duplicates and it worked!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 18:08:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Many-to-Many-No-Duplicates/m-p/3880369#M1249135</guid>
      <dc:creator>jaylyn</dc:creator>
      <dc:date>2024-04-30T18:08:57Z</dc:date>
    </item>
  </channel>
</rss>

