<?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: Calculate historical data from membership register in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2799303#M88039</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Please clarify your logic when selecting a period rather than selecting a single date. For example if the maximum selected date is after the [To_Date] shall the account be counted as Active or Ended? Same for the minimum selected date compared to [From_Date]. Please consider all cases and advise.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2022 09:23:04 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-09-27T09:23:04Z</dc:date>
    <item>
      <title>Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796500#M87879</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset which contains a lot of information about our members.&lt;BR /&gt;I would like to be able to calculate how many members we had on different dates. For example, how many active members where there in January 2019, 2020, and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a dummy-file to make it easier to understand the data.&lt;BR /&gt;This is the link to the dummy-file: &lt;A href="https://www.dropbox.com/s/hy42wzs7prqcw9y/Dummy-file%20members.pbix?dl=0" target="_blank"&gt;https://www.dropbox.com/s/hy42wzs7prqcw9y/Dummy-file%20members.pbix?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great if there was an ability to just use a date filter/slicer and the exact number on the date you choose would come up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regard&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 13:18:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796500#M87879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-26T13:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796602#M87887</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Please review the file to see if I understood your problem correctly&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 13:43:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796602#M87887</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-09-26T13:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796621#M87888</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;BR /&gt;I think we maybe have misunderstood eachother.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you see the picture below i want to be able to just drag the dates to for example 29.11.2020 as show in the picture at the number of active mebers on that day will show.&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;</description>
      <pubDate>Mon, 26 Sep 2022 13:50:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796621#M87888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-26T13:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796673#M87892</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;In the example you provided, there is no such date, do you want to see in the period "From_date" and "To_date"&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 14:08:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796673#M87892</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-09-26T14:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796690#M87896</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;Sorry if i have been a bit unclear&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;The "from_date" shows when the person joined as a member and the "To_date" shows information about when the perons ended his/her membership. If the person still is a active member the "To_date" will be sat as the date today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i want to be able to go back in time and see how many activ members where there on specific dates.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 14:16:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796690#M87896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-26T14:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796813#M87902</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;, maybe you have some solution for&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 14:48:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2796813#M87902</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-09-26T14:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2797108#M87918</link>
      <description>&lt;P&gt;Extremely busy these days. I'll try to have a look at it tomorrow&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 15:53:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2797108#M87918</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-26T15:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2799303#M88039</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please clarify your logic when selecting a period rather than selecting a single date. For example if the maximum selected date is after the [To_Date] shall the account be counted as Active or Ended? Same for the minimum selected date compared to [From_Date]. Please consider all cases and advise.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 09:23:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2799303#M88039</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-27T09:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2807950#M88708</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/317289" target="_blank" rel="noopener"&gt;@tamerj1&lt;/A&gt;,&lt;BR /&gt;Thank you for your reply!&lt;BR /&gt;&lt;BR /&gt;The " To_Date" updates automatically everyday and shows todays date if the member still has an active account. If the member decided to end its membership yesterday, the "To_date" would not update anymore and be set to 30.09.2022 and the status would change to "Ended"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "From_date" only gives us information about when the member joined and it will not change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Membership&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;From_date&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;To_date&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Active&lt;/TD&gt;&lt;TD&gt;Gold&lt;/TD&gt;&lt;TD&gt;01.01.2022&lt;/TD&gt;&lt;TD&gt;30.09.2022&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Ended&lt;/TD&gt;&lt;TD&gt;Silver&lt;/TD&gt;&lt;TD&gt;01.01.2022&lt;/TD&gt;&lt;TD&gt;01.06.2022&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This table simplify the problem very much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As of today we have one active member, but i want to be able to choose a date this year, for example 01.05.2022 and be able to see that at this time we had 2 active members. Even though the second member in the table does not have an "active" status as of today, he still had it 01.05.2022.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this was&amp;nbsp;clarifying&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 07:09:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2807950#M88708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-30T07:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2808012#M88713</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the clear description. However this was not my question. You are talking about selecting a single date, but what about selecting a period, a week of a month or just random period in the time line slicer?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 07:34:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2808012#M88713</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-30T07:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2808024#M88714</link>
      <description>&lt;P&gt;Sorry i might have misunderstood your question&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The logic behind it is becuase i want to be able to compare how many active members there were for example in 01.05.2021 vs 01.05.2022. I have not found a sloution to go back in time and see how many "activ" members there were on a specific date..&lt;/P&gt;&lt;P&gt;Another usefule reason to do this could be to see the growth, if i can se how many active members we had 01.01.2022 and compare it to how many there are today i could calculate the growth.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 07:44:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2808024#M88714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-30T07:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2808371#M88736</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;not sure if this is what you're looking for&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Count = 
VAR CurrentDate = MAX ( 'Date'[Date] )
RETURN
    COUNTROWS ( 
        FILTER ( 
            Tabell2,
            Tabell2[From_date] &amp;lt;= CurrentDate 
                &amp;amp;&amp;amp; Tabell2[To_date] &amp;gt;= CurrentDate
                &amp;amp;&amp;amp; Tabell2[Status] = "Active"
        )
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:04:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2808371#M88736</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-30T11:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical data from membership register</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2808383#M88738</link>
      <description>&lt;P&gt;&lt;SPAN&gt;That's exactly what I want, thank you legend&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:12:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-historical-data-from-membership-register/m-p/2808383#M88738</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-30T11:12:46Z</dc:date>
    </item>
  </channel>
</rss>

