<?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: Distinctcount based on values in another column of same table – DAX for measure? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-based-on-values-in-another-column-of-same-table/m-p/3267325#M120978</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="457699" data-lia-user-login="Meraki_jeet" class="lia-mention lia-mention-user"&gt;Meraki_jeet&lt;/a&gt;&amp;nbsp;your measure for distinctcount should be something like:&amp;nbsp;&lt;SPAN&gt;DISTINCTCOUNT(Table[ColumnName]), so as I understand from your example it should be&amp;nbsp;DISTINCTCOUNT(YourTableName[resource_name]), as&amp;nbsp;resource_name is only column with 2 distinct value. i hope this help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 04 Jun 2023 20:46:23 GMT</pubDate>
    <dc:creator>some_bih</dc:creator>
    <dc:date>2023-06-04T20:46:23Z</dc:date>
    <item>
      <title>Distinctcount based on values in another column of same table – DAX for measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-based-on-values-in-another-column-of-same-table/m-p/3265429#M120872</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I am new to Power BI. Could you please help me with below?&amp;nbsp; So below is my simplified table&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;resource_name&amp;nbsp; |&amp;nbsp; scan_date&amp;nbsp; &amp;nbsp; &amp;nbsp;| Scan_time&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;server selected |&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ABS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 06-06-2023&amp;nbsp; &amp;nbsp; &amp;nbsp;1:00:00 AM&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SQL&lt;BR /&gt;&amp;nbsp; &amp;nbsp;BCS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 06-06-2023&amp;nbsp; &amp;nbsp; &amp;nbsp;1:00:00 AM&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SQL&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ADB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 08-06-2023&amp;nbsp; &amp;nbsp; &amp;nbsp;8:00:00 AM&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Oracle&lt;BR /&gt;&lt;BR /&gt;So here i need to find out the concurrency issue. As above you can see for resource_name "ABS" &amp;amp; "BCS" the scan_date, scan_time and server_selected are same. So in this scenario i have to highlight this and expecting a output like below either as measure or calculated column.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;output required:&lt;/STRONG&gt;&lt;BR /&gt;Scan_date&amp;nbsp; &amp;nbsp; &amp;nbsp;| Concurrent issue |&lt;BR /&gt;06-06-2023&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So I have to take count of distinct resource_name which have all same details&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 10:17:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-based-on-values-in-another-column-of-same-table/m-p/3265429#M120872</guid>
      <dc:creator>Meraki_jeet</dc:creator>
      <dc:date>2023-06-02T10:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Distinctcount based on values in another column of same table – DAX for measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-based-on-values-in-another-column-of-same-table/m-p/3267325#M120978</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="457699" data-lia-user-login="Meraki_jeet" class="lia-mention lia-mention-user"&gt;Meraki_jeet&lt;/a&gt;&amp;nbsp;your measure for distinctcount should be something like:&amp;nbsp;&lt;SPAN&gt;DISTINCTCOUNT(Table[ColumnName]), so as I understand from your example it should be&amp;nbsp;DISTINCTCOUNT(YourTableName[resource_name]), as&amp;nbsp;resource_name is only column with 2 distinct value. i hope this help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2023 20:46:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-based-on-values-in-another-column-of-same-table/m-p/3267325#M120978</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-06-04T20:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Distinctcount based on values in another column of same table – DAX for measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-based-on-values-in-another-column-of-same-table/m-p/3268060#M121031</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;, Thanks alot! I was able to get the above requirement with below formula,&lt;BR /&gt;&lt;BR /&gt;Calculate(Distinctcount(TableName[resource_name]), ALLEXPECT(TableName, TableName[&lt;SPAN&gt;scan_date],&amp;nbsp;TableName[Scan_time],&amp;nbsp;TableName[server selected]))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 08:39:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-based-on-values-in-another-column-of-same-table/m-p/3268060#M121031</guid>
      <dc:creator>Meraki_jeet</dc:creator>
      <dc:date>2023-06-05T08:39:50Z</dc:date>
    </item>
  </channel>
</rss>

