<?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 without duplicates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1597150#M32003</link>
    <description>&lt;P&gt;thank you&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_heart_eyes:"&gt;😍&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2021 12:50:23 GMT</pubDate>
    <dc:creator>kheira</dc:creator>
    <dc:date>2021-01-13T12:50:23Z</dc:date>
    <item>
      <title>count without duplicates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1596195#M31991</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;BR /&gt;i have two columns and i want to count how many product id in statmeent without duplicates production with the same id&amp;nbsp;&lt;BR /&gt;how i can do that with dax?&amp;nbsp;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 09:06:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1596195#M31991</guid>
      <dc:creator>kheira</dc:creator>
      <dc:date>2021-01-13T09:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: count without duplicates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1596346#M31992</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="267214" data-lia-user-login="kheira" class="lia-mention lia-mention-user"&gt;kheira&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; Place Statement ID in a table visual&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; Place this measure in the visual&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
DISTINCTCOUNT( Table1[Product ID])
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 09:24:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1596346#M31992</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-01-13T09:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: count without duplicates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1596418#M31995</link>
      <description>&lt;P&gt;thank u&amp;nbsp;&lt;BR /&gt;but i want to add new coulmn dax to get the result .. i tried to do dax :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE( COUNT('Table'[product id]), ALLEXCEPT('Table','Table'[product id])) - CALCULATE( DISTINCTCOUNT('Table'[statment id]), ALLEXCEPT('Table','Table'[statment id]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;but i want&amp;nbsp; the count&amp;nbsp; is 4 in "statment id "=6&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Jan 2021 09:49:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1596418#M31995</guid>
      <dc:creator>kheira</dc:creator>
      <dc:date>2021-01-13T09:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: count without duplicates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1596975#M31999</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="267214" data-lia-user-login="kheira" class="lia-mention lia-mention-user"&gt;kheira&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess you mean a 3 for the statement id 6&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New column =
CALCULATE (
    DISTINCTCOUNT ( Table1[Product ID] ),
    ALLEXCEPT ( Table1, Table1[statement id] )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 11:39:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1596975#M31999</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-01-13T11:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: count without duplicates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1597021#M32000</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="267214" data-lia-user-login="kheira" class="lia-mention lia-mention-user"&gt;kheira&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Count I want = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR StatementCount = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DISTINCTCOUNT('Table'[Satement ID])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR ProductCount = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;COUNT('Table'[Product ID]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ALL('Table'[Product ID])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ProductCount - StatementCount&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Jan 2021 11:51:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1597021#M32000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-13T11:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: count without duplicates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1597150#M32003</link>
      <description>&lt;P&gt;thank you&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_heart_eyes:"&gt;😍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 12:50:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-without-duplicates/m-p/1597150#M32003</guid>
      <dc:creator>kheira</dc:creator>
      <dc:date>2021-01-13T12:50:23Z</dc:date>
    </item>
  </channel>
</rss>

