<?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: Duplicates of 'Art nr' and....! in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2565658#M73097</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Absolutely, here comes. I have 'bolded' the two articles that are duplicated but has different Warehouses. That's the thing with my file, there are thousands of rows.&lt;BR /&gt;Therefore, I want in my Power BI, to find all the duplicates and see which/how many are written on Warehouse A and how many on B.&lt;/P&gt;&lt;P class="lia-align-center"&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;U&gt;&lt;STRONG&gt;Art Nr&lt;/STRONG&gt;&lt;/U&gt;&lt;/TD&gt;&lt;TD&gt;&lt;U&gt;&lt;STRONG&gt;Warehouse&lt;/STRONG&gt;&lt;/U&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;4768&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4452&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;6325&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD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;TR&gt;&lt;TD&gt;2563&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4561&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;6325&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1637&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;4768&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2022 06:47:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-06-08T06:47:12Z</dc:date>
    <item>
      <title>Duplicates of 'Art nr' and....!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2564204#M73021</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I need your expertise on this specific matter which I am not entirely sure myself how to solve right now.&amp;nbsp;&lt;BR /&gt;I have a column with 'Article Numbers' (we are talking thousands of them) then I have another column 'Warehouse' which states which warehouse the article is connected to. Worth noting is that we have 2 warehouses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I first want to check for whether there are duplicates in 'Article nr' and then a formula (I guess?) that checks whether the duplicates considers which Warehouse it is connected to.&lt;BR /&gt;More specifically, because, if there is a duplicate for an article, one of the duplicates could be written on one of the Warehouse and the other on the other warehouse, if you see what I mean.&lt;BR /&gt;For ex;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Article nr: '123456'&amp;nbsp;&lt;BR /&gt;Warehouse: 'A', 'B'.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If there are two Art nr of '123456' existing, it could be that one of them is written on Warehouse A and the other one on Warehouse B. Whereareas I only want it to display '123456' for one of the warehouses.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;My issue now then is how I go on solving this.&lt;BR /&gt;I was first thinking of removing duplicates in 'Power Query' but as the 'Art nr' could be written on either 'A' OR 'B', something tells me that, that's not how to solve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help me in this.&lt;/P&gt;&lt;P&gt;Many thanks!!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 14:16:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2564204#M73021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-07T14:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicates of 'Art nr' and....!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2564410#M73026</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I like this type of problems. Would you please create some dummy sample data and share it along with the expected results? Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 15:01:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2564410#M73026</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-07T15:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicates of 'Art nr' and....!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2565658#M73097</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Absolutely, here comes. I have 'bolded' the two articles that are duplicated but has different Warehouses. That's the thing with my file, there are thousands of rows.&lt;BR /&gt;Therefore, I want in my Power BI, to find all the duplicates and see which/how many are written on Warehouse A and how many on B.&lt;/P&gt;&lt;P class="lia-align-center"&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;U&gt;&lt;STRONG&gt;Art Nr&lt;/STRONG&gt;&lt;/U&gt;&lt;/TD&gt;&lt;TD&gt;&lt;U&gt;&lt;STRONG&gt;Warehouse&lt;/STRONG&gt;&lt;/U&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;4768&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4452&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;6325&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;9562&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/T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;TR&gt;&lt;TD&gt;&lt;STRONG&gt;6325&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1637&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;4768&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 06:47:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2565658#M73097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-08T06:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicates of 'Art nr' and....!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2565801#M73102</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. What is the expected result based on same sample data?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 07:35:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2565801#M73102</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-08T07:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicates of 'Art nr' and....!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2566458#M73145</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To display the duplicates and which warehouse they belong to.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 11:52:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2566458#M73145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-08T11:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicates of 'Art nr' and....!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2566811#M73156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Apologies for the late reply. I got destracted with some other business. If I correctly understand then this is a simple requirement. Just create a matrix visual with Art No on rows and Warehouse on columns and this measure on values&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Duplicate = 
SUMX ( 
    VALUES ( Warehouses[Art Nr] ),
    COUNTROWS ( VALUES ( Warehouses[Warehouse] ) )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the filter pane do the following&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 14:14:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2566811#M73156</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-08T14:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicates of 'Art nr' and....!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2568477#M73258</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;No worries. Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Do you add the measure to the matrix? And if so, is it possible to delete the duplicates? (as I just like we did know first only want see how many duplicates there are and then delete each duplicate for either Warehouse A or B as it's only necessary for the 'Art nr' to be written on of the Warehouses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 08:48:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2568477#M73258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-09T08:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicates of 'Art nr' and....!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2568694#M73270</link>
      <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You can just create a new table as follows&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Warehouses No Duplicates = 
SUMMARIZE ( Warehouses, Warehouses[Art Nr], "Warehouse", MAX ( Warehouses[Warehouse] ) )&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Jun 2022 09:23:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2568694#M73270</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-09T09:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicates of 'Art nr' and....!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2574061#M73633</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Do you drag the measure to the table or? And does the measure takes the duplicates into consideration. If not how can I delete those?&lt;BR /&gt;&lt;BR /&gt;Many thanks again.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 06:40:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2574061#M73633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-13T06:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicates of 'Art nr' and....!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2574214#M73639</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please let me know if you still have any question&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:26:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-of-Art-nr-and/m-p/2574214#M73639</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-13T07:26:15Z</dc:date>
    </item>
  </channel>
</rss>

