<?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: Distinct count of duplication  in cards in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3700283#M143904</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="624325" data-lia-user-login="prajaktakeni11" class="lia-mention lia-mention-user"&gt;prajaktakeni11&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Failing to understand what you are trying to achieve in the table for the moment, you can use excel to describe the results you expect to get. I have got Distinct Applicatoon and Distinct Services in my card, do you mean it doesn't work in your pbix file because not sure what other data you have in your power bi, can you share the pbix file without no sensitive data, the data table, and the logic to achieve your desired effect Description.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yang&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 05:19:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-02-15T05:19:46Z</dc:date>
    <item>
      <title>Distinct count of duplication  in cards</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3696080#M143735</link>
      <description>&lt;P&gt;Hello ,&amp;nbsp;&lt;BR /&gt;sharing 2 columns of my data table , I am showing &lt;STRONG&gt;applicationwise&amp;nbsp; duplication of "Service Column" , &lt;/STRONG&gt;but to show on cards i want to show distinct values as in&lt;STRONG&gt; Disctict application = 4 , distinct service name = 18&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Distinct Service Count =&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;COUNTAX(FILTER(SUMMARIZE('Analysis Report','Analysis Report'[ApplicationName],'Analysis Report'[ServiceName],"Total",COUNT('Analysis Report'[serviceName])),[Total]=2),[Total])&lt;BR /&gt;&lt;/STRONG&gt;I tried using summarize function it is working for Serive name but not for application&amp;nbsp;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;Please help , Thank you in advance&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 10:07:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3696080#M143735</guid>
      <dc:creator>prajaktakeni11</dc:creator>
      <dc:date>2024-02-13T10:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count of duplication  in cards</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3698357#M143844</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="624325" data-lia-user-login="prajaktakeni11" class="lia-mention lia-mention-user"&gt;prajaktakeni11&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on your description, I have created many measures to achieve the effect you are looking for. Following picture shows the effect of the display.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Distinct application =

CALCULATE (

    DISTINCTCOUNT ( 'Analysis Report'[ApplicationName] ),

    ALL ( 'Analysis Report'[ApplicationName] ),

    ALL ( 'Analysis Report'[Services] )

)

Distinct Service =

CALCULATE (

    DISTINCTCOUNT ( 'Analysis Report'[Services] ),

    ALL ( 'Analysis Report'[ApplicationName] ),

    ALL ( 'Analysis Report'[Services] )

)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not work, could you please share some sample data without sensitive information and expected output.&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;How to provide sample data in the Power BI Forum - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;to&lt;/STRONG&gt; help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to get your questions answered quickly&lt;/A&gt;&amp;nbsp;--&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;&amp;nbsp;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 09:06:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3698357#M143844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-14T09:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count of duplication  in cards</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3698462#M143850</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;I have used DISTINCTCOUNT Function which counts the&lt;SPAN&gt;&amp;nbsp;number of distinct values in&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;column&lt;/EM&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 10:02:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3698462#M143850</guid>
      <dc:creator>Hema_Gupta</dc:creator>
      <dc:date>2024-02-14T10:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count of duplication  in cards</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3698808#M143859</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you for your reply , But this is not working in my case it is giving me Total of All the application however I want to show ...... Applicationwise Duplicated Services (in tables) and Distinct Applicatoon and Distinct Services (in cards)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 12:44:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3698808#M143859</guid>
      <dc:creator>prajaktakeni11</dc:creator>
      <dc:date>2024-02-14T12:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count of duplication  in cards</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3700283#M143904</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="624325" data-lia-user-login="prajaktakeni11" class="lia-mention lia-mention-user"&gt;prajaktakeni11&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Failing to understand what you are trying to achieve in the table for the moment, you can use excel to describe the results you expect to get. I have got Distinct Applicatoon and Distinct Services in my card, do you mean it doesn't work in your pbix file because not sure what other data you have in your power bi, can you share the pbix file without no sensitive data, the data table, and the logic to achieve your desired effect Description.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yang&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 05:19:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-of-duplication-in-cards/m-p/3700283#M143904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-15T05:19:46Z</dc:date>
    </item>
  </channel>
</rss>

