<?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: count no.of same values in a given column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-no-of-same-values-in-a-given-column/m-p/1576536#M31468</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculate(count(Table[Values]), allexcept(Table,Table[Values]))&lt;/P&gt;</description>
    <pubDate>Thu, 31 Dec 2020 14:42:05 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-12-31T14:42:05Z</dc:date>
    <item>
      <title>count no.of same values in a given column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-no-of-same-values-in-a-given-column/m-p/1576519#M31465</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need a solution to calculate simple logic using Dax. My table consists of only one columns, which contains some values in it. I need to create another column which represents the count of same value in the first column.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Values&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Count&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the above example, A is presented 3 times in the values column, so i need to put count 3 in all the rows which contains A. Like that B is presented 2 times in the values column, therefore i need to put count 2 in all the rows which contains B ans so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 14:26:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-no-of-same-values-in-a-given-column/m-p/1576519#M31465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-31T14:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: count no.of same values in a given column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-no-of-same-values-in-a-given-column/m-p/1576533#M31467</link>
      <description>&lt;P&gt;Try this...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Playing:=
	COUNTROWS(
		FILTER(
			Table2,
			Table2[Values] = SELECTEDVALUE(Table2[Values])
		)
	)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 31 Dec 2020 14:39:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-no-of-same-values-in-a-given-column/m-p/1576533#M31467</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2020-12-31T14:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: count no.of same values in a given column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-no-of-same-values-in-a-given-column/m-p/1576536#M31468</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculate(count(Table[Values]), allexcept(Table,Table[Values]))&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 14:42:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-no-of-same-values-in-a-given-column/m-p/1576536#M31468</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-12-31T14:42:05Z</dc:date>
    </item>
  </channel>
</rss>

