<?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 DAX mesaure / Need help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-mesaure-Need-help/m-p/694816#M654</link>
    <description>&lt;P&gt;Hello, everyone,&lt;BR /&gt;I am creating a DAX measure to calculate a distinct count using (Distinctcount) the number for which the "START" intervention exists and for which at least one "END" intervention exists. You can see the columns below: The columns are from the same table called Table 1. according to this figure, there are a lot of data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center"&gt;&lt;SPAN class="lia-message-image-wrapper"&gt;&lt;IMG src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/165385i5FAA96BFA1A53AFC/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My best regards. Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2019 10:04:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-05-20T10:04:36Z</dc:date>
    <item>
      <title>DAX mesaure / Need help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-mesaure-Need-help/m-p/694816#M654</link>
      <description>&lt;P&gt;Hello, everyone,&lt;BR /&gt;I am creating a DAX measure to calculate a distinct count using (Distinctcount) the number for which the "START" intervention exists and for which at least one "END" intervention exists. You can see the columns below: The columns are from the same table called Table 1. according to this figure, there are a lot of data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center"&gt;&lt;SPAN class="lia-message-image-wrapper"&gt;&lt;IMG src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/165385i5FAA96BFA1A53AFC/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My best regards. Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 10:04:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-mesaure-Need-help/m-p/694816#M654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-20T10:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX mesaure / Need help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-mesaure-Need-help/m-p/3511434#M134746</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I made a solution, you see if my understanding is wrong. What I understand is to find the number of distinct values of column 1 that are common to start and end.&lt;/P&gt;&lt;P&gt;Below is my table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I create a new table to find End and Start common row.&lt;/P&gt;&lt;P&gt;The following DAX might work for you:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
    CALCULATE(
        DISTINCTCOUNT('Table'[Column1]),
        EXCEPT('Table','Table (2)')
    )&lt;/LI-CODE&gt;&lt;P&gt;The final output is shown in the following figure:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Please feel free to let me know if I understand the wrong requirements.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Xianda Tang&lt;/P&gt;&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 08:38:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-mesaure-Need-help/m-p/3511434#M134746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-02T08:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: DAX mesaure / Need help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-mesaure-Need-help/m-p/3512873#M134832</link>
      <description>&lt;P&gt;try something like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Example measure = COUNTROWS(INTERSECT(
	CALCULATETABLE(VALUES('Table 1'[Column 1]), 'Table 1'[Column 2]='Start')
	,CALCULATETABLE(VALUES('Table 1'[Column 1]), 'Table 1'[Column 2]='End')
))&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 02 Nov 2023 18:46:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-mesaure-Need-help/m-p/3512873#M134832</guid>
      <dc:creator>sjoerdvn</dc:creator>
      <dc:date>2023-11-02T18:46:09Z</dc:date>
    </item>
  </channel>
</rss>

