<?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 Sum of Customers for multiple values in same column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Customers-for-multiple-values-in-same-column/m-p/1616227#M32570</link>
    <description>&lt;P&gt;Hello, I have 2 requirements from the below sample data:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement 1:&lt;/STRONG&gt; I want to get the distinct count of customers, who has Y/N? &lt;STRONG&gt;equals Y and N&lt;/STRONG&gt;. In the below sample data, I should get customer distinct count is 2 (Cust.Name= XYZ and ANF)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement 2:&lt;/STRONG&gt; I want to get the sum of the distinct customers,&amp;nbsp;who have Y/N? &lt;STRONG&gt;equals Y and N&lt;/STRONG&gt;. In the below sample data, I should get a sum of distinct customers of XYZ and ANF for Y and N = 610 (123+344+66+77) and also I should get the total sum of Y, who is equals to Y &amp;amp; N, expected answer is = 347 (123+344)&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Cust.Name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Y/N?&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;XYZ&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ANF&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;344&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;JUF&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;222&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;KIF&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;JUS&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;55&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;KFF&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;7676&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;LSF&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;XYZ&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;66&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ANF&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;77&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SRE&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;88&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Fri, 22 Jan 2021 08:39:19 GMT</pubDate>
    <dc:creator>ManjunathaEP</dc:creator>
    <dc:date>2021-01-22T08:39:19Z</dc:date>
    <item>
      <title>Sum of Customers for multiple values in same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Customers-for-multiple-values-in-same-column/m-p/1616227#M32570</link>
      <description>&lt;P&gt;Hello, I have 2 requirements from the below sample data:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement 1:&lt;/STRONG&gt; I want to get the distinct count of customers, who has Y/N? &lt;STRONG&gt;equals Y and N&lt;/STRONG&gt;. In the below sample data, I should get customer distinct count is 2 (Cust.Name= XYZ and ANF)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement 2:&lt;/STRONG&gt; I want to get the sum of the distinct customers,&amp;nbsp;who have Y/N? &lt;STRONG&gt;equals Y and N&lt;/STRONG&gt;. In the below sample data, I should get a sum of distinct customers of XYZ and ANF for Y and N = 610 (123+344+66+77) and also I should get the total sum of Y, who is equals to Y &amp;amp; N, expected answer is = 347 (123+344)&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Cust.Name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Y/N?&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;XYZ&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ANF&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;344&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;JUF&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;222&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;KIF&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;JUS&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;55&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;KFF&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;7676&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;LSF&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;XYZ&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;66&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ANF&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;77&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SRE&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;88&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 22 Jan 2021 08:39:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Customers-for-multiple-values-in-same-column/m-p/1616227#M32570</guid>
      <dc:creator>ManjunathaEP</dc:creator>
      <dc:date>2021-01-22T08:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Customers for multiple values in same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Customers-for-multiple-values-in-same-column/m-p/1616509#M32576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="174065" data-lia-user-login="ManjunathaEP" class="lia-mention lia-mention-user"&gt;ManjunathaEP&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure if I understood correctly the third requirement. For me the result would be 467 (123+344).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 11:20:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Customers-for-multiple-values-in-same-column/m-p/1616509#M32576</guid>
      <dc:creator>Payeras_BI</dc:creator>
      <dc:date>2021-01-22T11:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Customers for multiple values in same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Customers-for-multiple-values-in-same-column/m-p/1690818#M34770</link>
      <description>&lt;P&gt;Hi, In the above example, I would like to get the count of the only Y, who is not Y and N.&lt;/P&gt;&lt;P&gt;Example: Customer Name: Total count of customers is 6 (ABC, JUF, KIF, JUS, KFF and LSF) who are not part of Y and N. Please help on this and thank you in advance&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 01:38:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Customers-for-multiple-values-in-same-column/m-p/1690818#M34770</guid>
      <dc:creator>ManjunathaEP</dc:creator>
      <dc:date>2021-02-26T01:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Customers for multiple values in same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Customers-for-multiple-values-in-same-column/m-p/1691642#M34781</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="174065" data-lia-user-login="ManjunathaEP" class="lia-mention lia-mention-user"&gt;ManjunathaEP&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The same way as in your previous Requirement 1 but, in this case, switching &amp;gt; by =.&lt;/P&gt;
&lt;P&gt;BTW the result is 7.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 09:26:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Customers-for-multiple-values-in-same-column/m-p/1691642#M34781</guid>
      <dc:creator>Payeras_BI</dc:creator>
      <dc:date>2021-02-26T09:26:20Z</dc:date>
    </item>
  </channel>
</rss>

