<?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: Datos únicos del año sin incluir datos alcanzados años anteriores in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datos-%C3%BAnicos-del-a%C3%B1o-sin-incluir-datos-alcanzados-a%C3%B1os/m-p/2422266#M64220</link>
    <description>&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going to create an aditional column to identify the first participation date and then create a relationship to exclud the dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 18:27:29 GMT</pubDate>
    <dc:creator>jacob2102</dc:creator>
    <dc:date>2022-03-28T18:27:29Z</dc:date>
    <item>
      <title>Datos únicos del año sin incluir datos alcanzados años anteriores</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datos-%C3%BAnicos-del-a%C3%B1o-sin-incluir-datos-alcanzados-a%C3%B1os/m-p/2417337#M63864</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing a participation analysis, and I would like to obtain 2 different measures:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Number of unique companies involved in the activity, in the selected period.&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;DAX = DISTINCTCOUNTNOBLANK(Participation[Id_Entity] (associated with the date of the activity).&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Number of unique companies involved in the activity in the selected period, and that have not involved in previous periods.&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;&amp;nbsp; DAX = ???&amp;nbsp;(associated with the date of the activity).&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;How can I get the second measure?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The analysis is for four years, and I need to know each selected period the new participating companies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:04:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datos-%C3%BAnicos-del-a%C3%B1o-sin-incluir-datos-alcanzados-a%C3%B1os/m-p/2417337#M63864</guid>
      <dc:creator>jacob2102</dc:creator>
      <dc:date>2022-03-25T09:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Datos únicos del año sin incluir datos alcanzados años anteriores</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datos-%C3%BAnicos-del-a%C3%B1o-sin-incluir-datos-alcanzados-a%C3%B1os/m-p/2417382#M63869</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="170293" data-lia-user-login="jacob2102" class="lia-mention lia-mention-user"&gt;jacob2102&lt;/a&gt; , refer I have used customer ID and Isblank and monthly measures, Same can help you to build&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Customer Retention Part 1:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/ba-p/1361529" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/ba-p/1361529&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:17:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datos-%C3%BAnicos-del-a%C3%B1o-sin-incluir-datos-alcanzados-a%C3%B1os/m-p/2417382#M63869</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-25T09:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Datos únicos del año sin incluir datos alcanzados años anteriores</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datos-%C3%BAnicos-del-a%C3%B1o-sin-incluir-datos-alcanzados-a%C3%B1os/m-p/2422266#M64220</link>
      <description>&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going to create an aditional column to identify the first participation date and then create a relationship to exclud the dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 18:27:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datos-%C3%BAnicos-del-a%C3%B1o-sin-incluir-datos-alcanzados-a%C3%B1os/m-p/2422266#M64220</guid>
      <dc:creator>jacob2102</dc:creator>
      <dc:date>2022-03-28T18:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Datos únicos del año sin incluir datos alcanzados años anteriores</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datos-%C3%BAnicos-del-a%C3%B1o-sin-incluir-datos-alcanzados-a%C3%B1os/m-p/2423504#M64298</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="170293" data-lia-user-login="jacob2102" class="lia-mention lia-mention-user"&gt;jacob2102&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Is your problem solved, you can also try the following:&lt;/P&gt;
&lt;P&gt;I created some data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create calculated table.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag =
var _min=MIN('Date'[Date])
var _max=MAX('Date'[Date])
return
IF(
    MAX('Table'[date])&amp;gt;=_min&amp;amp;&amp;amp;MAX('Table'[date])&amp;lt;=_max,1,0)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Number of participants =
CALCULATE(DISTINCTCOUNT('Table'[companies]),ALLSELECTED('Table'))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Number of non-participants =
var _all=CALCULATE( DISTINCTCOUNT('Table'[companies]),ALL('Table'))
return
_all -[Number of participants]&lt;/LI-CODE&gt;
&lt;P&gt;3. Place [Flag]in Filters, set is=1, apply filter.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;4. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If I have misunderstood your meaning, please provide your desired output and your pbix without privacy information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 08:01:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datos-%C3%BAnicos-del-a%C3%B1o-sin-incluir-datos-alcanzados-a%C3%B1os/m-p/2423504#M64298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-29T08:01:39Z</dc:date>
    </item>
  </channel>
</rss>

