<?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: Need some help. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2871703#M92696</link>
    <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="463423" data-lia-user-login="Diana_Jardim100" class="lia-mention lia-mention-user"&gt;Diana_Jardim100&lt;/a&gt;&amp;nbsp; i think a summarized table could help&amp;nbsp;&lt;BR /&gt;summary of table = summarize(table,[ID_EMPREGAD], "First Start Date",calculate(firstdate(dat_ini_act_emp)FILTER(table,dat_ini_act_emp = max(dat_ini_act_emp)),"Last day",calculate(lastdate(dat_said_one_hr),FILTER(table,dat_said_one_hr = max(dat_said_one_hr))&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 20:53:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-28T20:53:05Z</dc:date>
    <item>
      <title>Need some help.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2871075#M92641</link>
      <description>&lt;P&gt;Hi everyone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please I need some help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I have a dataset which contains the Headcount of the company by month.&lt;/P&gt;&lt;P&gt;I need to display the total of people that joined and left the company monthly and the total of headcount by month as well.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is there are some people that joined the company as a contractor and then became permanent.&lt;/P&gt;&lt;P&gt;So here I have an example:&lt;/P&gt;&lt;P&gt;First as a contractor then as a permanent.&lt;/P&gt;&lt;P&gt;Row Data&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In order to display the count of people that joined and left the company monthly I need to figure out how to ignore the last date (04/06/2022) and consider the first date (04/06/2021)&lt;/P&gt;&lt;P&gt;Another thing, I also need to take into account &amp;nbsp;that in this particular case &amp;nbsp;they didn’t leave the company so I also can’t count this in leavers.&lt;/P&gt;&lt;P&gt;On the other hand, the are some people that have actually left so I will need to consider the newer date and &amp;nbsp;discard the oldest. &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;And finally, I don’t know how to sum the total of the previous month with the current month to have the total of headcount.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 14:03:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2871075#M92641</guid>
      <dc:creator>Diana_Jardim100</dc:creator>
      <dc:date>2022-10-28T14:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2871703#M92696</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="463423" data-lia-user-login="Diana_Jardim100" class="lia-mention lia-mention-user"&gt;Diana_Jardim100&lt;/a&gt;&amp;nbsp; i think a summarized table could help&amp;nbsp;&lt;BR /&gt;summary of table = summarize(table,[ID_EMPREGAD], "First Start Date",calculate(firstdate(dat_ini_act_emp)FILTER(table,dat_ini_act_emp = max(dat_ini_act_emp)),"Last day",calculate(lastdate(dat_said_one_hr),FILTER(table,dat_said_one_hr = max(dat_said_one_hr))&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 20:53:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2871703#M92696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-28T20:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2873880#M92826</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="463423" data-lia-user-login="Diana_Jardim100" class="lia-mention lia-mention-user"&gt;Diana_Jardim100&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after&amp;nbsp;&lt;STRONG&gt;removing sensitive data.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer to:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7Cv-jianboli%40microsoft.com%7Ca7ce12be0f454896a61208da8034281b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637963258750159993%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=orVyE0%2FImc2MEFUqXtCveK0uf33594f67ZDxb8ybuNI%3D&amp;amp;reserved=0" target="_blank"&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C01%7Cv-jianboli%40microsoft.com%7Ca7ce12be0f454896a61208da8034281b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637963258750159993%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=XocTq9o6TjxbxJqTak20E3kKp7q5HxKTNZef7xESMV0%3D&amp;amp;reserved=0" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 06:10:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2873880#M92826</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2022-10-31T06:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874388#M92856</link>
      <description>&lt;P&gt;First Many thanks.&lt;/P&gt;&lt;P&gt;I'm almost there&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know what I'm doing wrong but it has return this message.&lt;/P&gt;&lt;P&gt;The True/False expression does not specify a column. Each True/False expressions used as a table filter expression must refer to exactly one column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Summary = &lt;/SPAN&gt;&lt;SPAN&gt;SUMMARIZE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[ID_EMPREGAD]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"First Start Date"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FIRSTDATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_INI_ACT_EMP]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_INI_ACT_EMP]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_INI_ACT_EMP]&lt;/SPAN&gt;&lt;SPAN&gt;)), &lt;/SPAN&gt;&lt;SPAN&gt;"Last day"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;LASTDATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_SAID]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_SAID]&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;SPAN&gt;max&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_SAID]&lt;/SPAN&gt;&lt;SPAN&gt;)))))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 10:01:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874388#M92856</guid>
      <dc:creator>Diana_Jardim100</dc:creator>
      <dc:date>2022-10-31T10:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874413#M92858</link>
      <description>&lt;P&gt;Ok please try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Summary =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SUMMARIZE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[ID_EMPREGAD]&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"First Start Date"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FIRSTDATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_INI_ACT_EMP]&lt;/SPAN&gt;&lt;SPAN&gt;),T&lt;/SPAN&gt;&lt;SPAN&gt;otalActivosSaidas[DAT_INI_ACT_EMP]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_INI_ACT_EMP]&lt;/SPAN&gt;&lt;SPAN&gt;),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Last day"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;LASTDATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_SAID]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_SAID]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&lt;/SPAN&gt;&lt;SPAN&gt;max&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TotalActivosSaidas[DAT_SAID]&lt;/SPAN&gt;&lt;SPAN&gt;))))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 10:19:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874413#M92858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-31T10:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874440#M92859</link>
      <description>&lt;P&gt;same error&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 10:36:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874440#M92859</guid>
      <dc:creator>Diana_Jardim100</dc:creator>
      <dc:date>2022-10-31T10:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874445#M92860</link>
      <description>&lt;P&gt;Do you mind sharing some sample data to help you?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 10:40:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874445#M92860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-31T10:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874527#M92867</link>
      <description>&lt;P&gt;&lt;A href="https://docs.google.com/spreadsheets/d/1sgWmbjgKJvVmUCT4nTIUm-_NbHryPWakT0JiYFGWGC8/edit?usp=sharing" target="_blank"&gt;https://docs.google.com/spreadsheets/d/1sgWmbjgKJvVmUCT4nTIUm-_NbHryPWakT0JiYFGWGC8/edit?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 11:41:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874527#M92867</guid>
      <dc:creator>Diana_Jardim100</dc:creator>
      <dc:date>2022-10-31T11:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874797#M92883</link>
      <description>&lt;P&gt;&lt;A href="https://docs.google.com/spreadsheets/d/1sgWmbjgKJvVmUCT4nTIUm-_NbHryPWakT0JiYFGWGC8/edit#gid=0" target="_blank"&gt;https://docs.google.com/spreadsheets/d/1sgWmbjgKJvVmUCT4nTIUm-_NbHryPWakT0JiYFGWGC8/edit#gid=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 14:15:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2874797#M92883</guid>
      <dc:creator>Diana_Jardim100</dc:creator>
      <dc:date>2022-10-31T14:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2875098#M92890</link>
      <description>&lt;P&gt;is this the result you desire?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Summary = SUMMARIZE(ALL(Diana),Diana[ID_EMPLOYEE],"Start Date",CALCULATE(MIN(Diana[INITIAL_DATE])),"End Date",CALCULATE(MAX(Diana[END_DATE])))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:41:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-help/m-p/2875098#M92890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-31T16:41:31Z</dc:date>
    </item>
  </channel>
</rss>

