<?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 Match values in a column with itself in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488759#M28558</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with few columns. I want match fields in one column to match with itself and generate output. I can do it easily in Access by creating a copy of table and joining the respective fields to get the output. How can i do this in Power BI with the help of Dax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 04:21:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-12T04:21:15Z</dc:date>
    <item>
      <title>Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488759#M28558</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with few columns. I want match fields in one column to match with itself and generate output. I can do it easily in Access by creating a copy of table and joining the respective fields to get the output. How can i do this in Power BI with the help of Dax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 04:21:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488759#M28558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-12T04:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488779#M28562</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;try this in a calculated column&lt;/P&gt;&lt;P&gt;= &lt;SPAN&gt;CONCATENATEX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;FILTER(Table,Table[Filed1]=EARLIER(Table[Filed1])),Table.[Filed2],",")&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 04:45:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488779#M28562</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2020-11-12T04:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488807#M28564</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , you can use earlier. If you can give example what you want. We can help better &lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 05:09:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488807#M28564</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-11-12T05:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488809#M28566</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="264353" data-lia-user-login="wdx223_Daniel" class="lia-mention lia-mention-user"&gt;wdx223_Daniel&lt;/a&gt;&amp;nbsp;wdx223&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Thanks for your reply. PLease see below screen shot. I want to match the 3 fields and add a column in one of the the tables and update it with Yes or No.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 05:10:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488809#M28566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-12T05:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488811#M28567</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;Amit,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Thanks for your reply. PLease see below screen shot. I want to match the 3 fields and add a column in one of the the tables and update it with Yes or No.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 05:12:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488811#M28567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-12T05:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488815#M28568</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , Something like this &lt;/P&gt;
&lt;P&gt;if(countx(filter(Table, [merchant_id] =earlier([merchant_id]) &amp;amp;&amp;amp; [Day] =earlier([Day]) &amp;amp;&amp;amp; [user_account_id] = earlier([user_account_id])),[id])+0 &amp;gt;1,"Yes","No")&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 05:21:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488815#M28568</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-11-12T05:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488832#M28569</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;: It doesn't seems to work. The two tables in the screenshot are identical tables. I just created a copy of one of the tables.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes/No is based on where:&lt;/P&gt;&lt;P&gt;Merchant_Number = Merchant_Number(from 2nd table)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;date = date(from 2nd table)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;account_user_id = account_user_id(from 2nd table)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 05:48:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488832#M28569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-12T05:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488851#M28570</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , new column in table 2 &lt;/P&gt;
&lt;P&gt;if(countx(filter(Table, Table[merchant_id] =(Table2[merchant_id]) &amp;amp;&amp;amp; Table[Day] =(Table2[Day]) &amp;amp;&amp;amp; Table[user_account_id] = (Table2[user_account_id])),Table[id])+0 &amp;gt;1,"Yes","No")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer the way to move value from one table to another &lt;A href="https://www.youtube.com/watch?v=czNHt7UXIe8" target="_blank"&gt;https://www.youtube.com/watch?v=czNHt7UXIe8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 06:01:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488851#M28570</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-11-12T06:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488937#M28572</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;in DAX, no need to duplicate the table, just add a calculated column in the original one. the code might be&lt;/P&gt;&lt;P&gt;=COUNTROWS(&lt;SPAN&gt;FILTER(Table,Table[Filed1]=EARLIER(Table[Filed1])&amp;amp;&amp;amp;Table[Filed2]=EARLIER(Table[Filed2])&amp;amp;&amp;amp;Table[Filed1]=EARLIER(Table[Filed2])))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 06:41:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1488937#M28572</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2020-11-12T06:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1491517#M28674</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;: Can you help me in understanding the purpose of&amp;nbsp;&lt;SPAN&gt;Table[id])+0 &amp;gt;1? The id is just some random nos.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 02:01:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1491517#M28674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-13T02:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1494884#M28814</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The formula will count the no of rows. I want to add a condition that when all the 3 fields macthed are matched then it will update the column to yes otherwise no.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2020 23:48:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1494884#M28814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-15T23:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1494914#M28816</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;confused why this code did not work.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=IF(COUNTROWS(&lt;/SPAN&gt;&lt;SPAN&gt;FILTER(Table,Table[Filed1]=EARLIER(Table[Filed1])&amp;amp;&amp;amp;Table[Filed2]=EARLIER(Table[Filed2])&amp;amp;&amp;amp;Table[Filed3]=EARLIER(Table[Filed3]))),"Yes","No")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;could you show the snapshot?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 00:36:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1494914#M28816</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2020-11-16T00:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1506231#M29205</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="264353" data-lia-user-login="wdx223_Daniel" class="lia-mention lia-mention-user"&gt;wdx223_Daniel&lt;/a&gt;&amp;nbsp;Apologies, couldn't reply earlier as I was away. I tried using the above code but it is taking too much time and power bi runs out of memory as I have 3 millions rows. Is there any other way around to solve this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 02:55:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1506231#M29205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-20T02:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Match values in a column with itself</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1507893#M29243</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure there is. Use Power Query.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 16:36:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Match-values-in-a-column-with-itself/m-p/1507893#M29243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-20T16:36:54Z</dc:date>
    </item>
  </channel>
</rss>

