<?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 Freeze results from the historical data in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Freeze-results-from-the-historical-data/m-p/1874858#M40220</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really need to your help to find a solution, I am kind a fresh with PBI so I dont even know if this is possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have sets of data, files are placed in the Sharepoint and every month new file is added.&amp;nbsp; I added a whole folder as my source in PBI because files have the same layouts every month. This is a short example of the data sets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Task&amp;nbsp; &amp;nbsp; &amp;nbsp; Employee&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Check Start Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Check End Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; &amp;nbsp;David Gahan&amp;nbsp; &amp;nbsp; 01/04/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 05/04/2021&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; Marc Almond&amp;nbsp; &amp;nbsp; &amp;nbsp;03/04/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;07/04/2021&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; &amp;nbsp;Alan Wilder&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;06/04/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08/04/2021&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; &amp;nbsp;David Gahan&amp;nbsp; &amp;nbsp; 01/05/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 05/05/2021&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; Marc Almond&amp;nbsp; &amp;nbsp; &amp;nbsp;03/05/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;07/05/2021&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; &amp;nbsp;Alan Wilder&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;06/05/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08/05/2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the other source I have a lists with employes, with an information to which team each employee is belonging to(I created reliationship between these two tabels)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Employee&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Team&lt;/P&gt;&lt;P&gt;David Gahan&amp;nbsp; &amp;nbsp; &amp;nbsp;UK Team&lt;/P&gt;&lt;P&gt;Marc Almond&amp;nbsp; &amp;nbsp; Global Team&lt;/P&gt;&lt;P&gt;Alan Wilder&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;US Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to measure how many "Check" there was in April and May but I need to exclude every "check" whenever it was done by someone from the Global Team. In result in my measure I will have 2 "Check" in April and 2 in May. But it is pretty often that list of employee is updated and for instance Marc Almond in April was in UK team but in May he was moved to Global team.&lt;/P&gt;&lt;P&gt;All what they do is changing the team name in this file so when I refresh the data right now, PBI will exlclude Marc Alomnd from every past months as well.&lt;/P&gt;&lt;P&gt;I refresh this data at the begining of every month. Is there any chance to "freeze" data from the past ? So PBI will only calculate measures with the "new file" ? Maybe there is a different solution to solve this problem ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will appreciate anty help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jun 2021 10:03:40 GMT</pubDate>
    <dc:creator>Niunias</dc:creator>
    <dc:date>2021-06-01T10:03:40Z</dc:date>
    <item>
      <title>Freeze results from the historical data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Freeze-results-from-the-historical-data/m-p/1874858#M40220</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really need to your help to find a solution, I am kind a fresh with PBI so I dont even know if this is possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have sets of data, files are placed in the Sharepoint and every month new file is added.&amp;nbsp; I added a whole folder as my source in PBI because files have the same layouts every month. This is a short example of the data sets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Task&amp;nbsp; &amp;nbsp; &amp;nbsp; Employee&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Check Start Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Check End Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; &amp;nbsp;David Gahan&amp;nbsp; &amp;nbsp; 01/04/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 05/04/2021&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; Marc Almond&amp;nbsp; &amp;nbsp; &amp;nbsp;03/04/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;07/04/2021&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; &amp;nbsp;Alan Wilder&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;06/04/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08/04/2021&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; &amp;nbsp;David Gahan&amp;nbsp; &amp;nbsp; 01/05/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 05/05/2021&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; Marc Almond&amp;nbsp; &amp;nbsp; &amp;nbsp;03/05/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;07/05/2021&lt;/P&gt;&lt;P&gt;Check&amp;nbsp; &amp;nbsp; &amp;nbsp;Alan Wilder&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;06/05/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08/05/2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the other source I have a lists with employes, with an information to which team each employee is belonging to(I created reliationship between these two tabels)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Employee&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Team&lt;/P&gt;&lt;P&gt;David Gahan&amp;nbsp; &amp;nbsp; &amp;nbsp;UK Team&lt;/P&gt;&lt;P&gt;Marc Almond&amp;nbsp; &amp;nbsp; Global Team&lt;/P&gt;&lt;P&gt;Alan Wilder&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;US Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to measure how many "Check" there was in April and May but I need to exclude every "check" whenever it was done by someone from the Global Team. In result in my measure I will have 2 "Check" in April and 2 in May. But it is pretty often that list of employee is updated and for instance Marc Almond in April was in UK team but in May he was moved to Global team.&lt;/P&gt;&lt;P&gt;All what they do is changing the team name in this file so when I refresh the data right now, PBI will exlclude Marc Alomnd from every past months as well.&lt;/P&gt;&lt;P&gt;I refresh this data at the begining of every month. Is there any chance to "freeze" data from the past ? So PBI will only calculate measures with the "new file" ? Maybe there is a different solution to solve this problem ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will appreciate anty help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 10:03:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Freeze-results-from-the-historical-data/m-p/1874858#M40220</guid>
      <dc:creator>Niunias</dc:creator>
      <dc:date>2021-06-01T10:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze results from the historical data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Freeze-results-from-the-historical-data/m-p/1874987#M40227</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="297566" data-lia-user-login="Niunias" class="lia-mention lia-mention-user"&gt;Niunias&lt;/a&gt; , if this is simply based on Check Start Date&amp;nbsp; , you can have slicer for that&lt;/P&gt;
&lt;P&gt;calculate(count(Table[Employee]), filter(Table2, Table2[Team] &amp;lt;&amp;gt; "Global Team"))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if is based on active between start and end, then refer to this blog&amp;nbsp; and use team &amp;lt;&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 11:24:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Freeze-results-from-the-historical-data/m-p/1874987#M40227</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-06-01T11:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze results from the historical data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Freeze-results-from-the-historical-data/m-p/1875174#M40238</link>
      <description>&lt;P&gt;I know how to build measure like this, but the thing is that in one month Marc Almond in employee file is in UK team but in other month Marc Almond in the same employee files is&amp;nbsp; in global team, so when I refresh it, Marc Almond will not be counted in the previous months as well but I would like to keep results from previous months when Marc Almond was not a part of the global team&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 13:14:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Freeze-results-from-the-historical-data/m-p/1875174#M40238</guid>
      <dc:creator>Niunias</dc:creator>
      <dc:date>2021-06-01T13:14:31Z</dc:date>
    </item>
  </channel>
</rss>

