<?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: Counting Measure Results in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-Measure-Results/m-p/1465682#M27720</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="154054" data-lia-user-login="Nestor_Moreno" class="lia-mention lia-mention-user"&gt;Nestor_Moreno&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Place this measure in the same visual and you'll have the sum at the total row (and 1 or zero in each of the other rows depending on if the employee has or not been with the company for &amp;gt; 90 days)&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New Measure Total V2 =
SUMX (
    DISTINCT ( Reg_Beneficiario_Empleabilidad[ID beneficiario] ),
    ([Dias_Vinculación]&amp;gt; 90) * 1
)&lt;/LI-CODE&gt;
&lt;P&gt;Or you can just place it in a card visual to have the total on it&amp;nbsp;&lt;/P&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>Fri, 30 Oct 2020 10:25:14 GMT</pubDate>
    <dc:creator>AlB</dc:creator>
    <dc:date>2020-10-30T10:25:14Z</dc:date>
    <item>
      <title>Counting Measure Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-Measure-Results/m-p/1461545#M27577</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need count the results of a measure, i try to explain my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have 3 tables:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Reg_Beneficiario_Empleabilidad&lt;/STRONG&gt; (this is a personal information of workers)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Vinculacion&lt;/STRONG&gt; (this is a information about work, when start, where, what he doing, etcc )&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Medidas&lt;/STRONG&gt; (this is a measure table)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;I need to know how many workers stay in the work after 90 days. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In my measure table (Table3), i have 3 measures:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Date to starts to work:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;Fecha_Vinculacion&lt;/STRONG&gt; = MAX(Vinculacion[Fecha_Vinculacion_Ok])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Date to finish to work:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;Fecha_Finalizo_Proceso&lt;/STRONG&gt; = MIN(Reg_Beneficiario_Empleabilidad[Fecha_Finalizo_Proceso_Ok])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Working Days: &lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;Dias_Vinculación&lt;/STRONG&gt; = IF(ISBLANK([Fecha_Finalizo_Proceso]),VALUE(TODAY())-VALUE([Fecha_Vinculacion]),VALUE([Fecha_Finalizo_Proceso])-VALUE([Fecha_Vinculacion]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;I Show this in a table:&lt;/SPAN&gt;&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;Now, my problem is, that i need to know how many workers stay in the work after 90 days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How i can count how many registers are &amp;gt;= to 90 days if this is a measure.&amp;nbsp;&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;Thanks for your valuable help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 16:54:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-Measure-Results/m-p/1461545#M27577</guid>
      <dc:creator>Nestor_Moreno</dc:creator>
      <dc:date>2020-10-28T16:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Measure Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-Measure-Results/m-p/1461963#M27593</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="154054" data-lia-user-login="Nestor_Moreno" class="lia-mention lia-mention-user"&gt;Nestor_Moreno&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this measure that uses the one you already have. Place it in the visual:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New Measure Total =
SUMX (
    DISTINCT ( Reg_Beneficiario_Empleabilidad[ID beneficiario] ),
    [Dias_Vinculación]
)
&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, 28 Oct 2020 22:01:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-Measure-Results/m-p/1461963#M27593</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-10-28T22:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Measure Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-Measure-Results/m-p/1463334#M27644</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer, but how i Could count the workers that have more of 90 days in the work (&lt;STRONG&gt;Dias_Vinculación&lt;/STRONG&gt;)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With your formula are adding up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 12:07:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-Measure-Results/m-p/1463334#M27644</guid>
      <dc:creator>Nestor_Moreno</dc:creator>
      <dc:date>2020-10-29T12:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Measure Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-Measure-Results/m-p/1465682#M27720</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="154054" data-lia-user-login="Nestor_Moreno" class="lia-mention lia-mention-user"&gt;Nestor_Moreno&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Place this measure in the same visual and you'll have the sum at the total row (and 1 or zero in each of the other rows depending on if the employee has or not been with the company for &amp;gt; 90 days)&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New Measure Total V2 =
SUMX (
    DISTINCT ( Reg_Beneficiario_Empleabilidad[ID beneficiario] ),
    ([Dias_Vinculación]&amp;gt; 90) * 1
)&lt;/LI-CODE&gt;
&lt;P&gt;Or you can just place it in a card visual to have the total on it&amp;nbsp;&lt;/P&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>Fri, 30 Oct 2020 10:25:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-Measure-Results/m-p/1465682#M27720</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-10-30T10:25:14Z</dc:date>
    </item>
  </channel>
</rss>

