<?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: How to calculate this using measure only? (sample file attached) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995857#M155230</link>
    <description>&lt;P&gt;I can try to add this view:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The (test) is Your measures. If I move the date slider it should resemble the tables with the measure without the (test)&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2024 10:13:25 GMT</pubDate>
    <dc:creator>Bokazoit</dc:creator>
    <dc:date>2024-06-17T10:13:25Z</dc:date>
    <item>
      <title>How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995656#M155208</link>
      <description>&lt;P&gt;I have this data:&lt;BR /&gt;Please use the sample file to see the effect of the dateslider.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="Samplefile" href="https://drive.google.com/file/d/1SlKQobvylDYylkmB5YO2UOZ8CxK_HrpL/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1SlKQobvylDYylkmB5YO2UOZ8CxK_HrpL/view?usp=sharing&lt;/A&gt;&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;&lt;BR /&gt;The joins are as shown:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In my example I created a column called FirstSubscription which is the first date when then bought the Category = "subscription"&lt;BR /&gt;&lt;BR /&gt;So for customer 123 it is 30. june 2023 and 456 it is 12. january 2023.&lt;BR /&gt;&lt;BR /&gt;I then sum all categories that were bought before that time respectively after that date with the category "Subscription" included. That gives me these results:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using these measures:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SumAmountAfter = 

    CALCULATE(
        SUM(Tabel[Amount]),
        USERELATIONSHIP(DimDato[Date],Tabel[FirstSubscription]),
        Tabel[DatoKeyStoettePeriode] &amp;gt;= Tabel[FirstSubscription]
    )&lt;/LI-CODE&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;LI-CODE lang="markup"&gt;SumAmountBefore = 

    CALCULATE(
        SUM(Tabel[Amount]),
        USERELATIONSHIP(DimDato[Date],Tabel[FirstSubscription]),
        Tabel[FirstSubscription] &amp;gt;= Tabel[DatoKeyStoettePeriode]
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My real table consists of 7 mio. lines and I would prefer to avoid adding a column with the FirstSubscription date that is in my sample file.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So my question is, can I do this without having the column FirstSubscription and instead calculate for each customer the&amp;nbsp;FirstSubscription date and use it in my measures above?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 10:35:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995656#M155208</guid>
      <dc:creator>Bokazoit</dc:creator>
      <dc:date>2024-06-17T10:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995711#M155209</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6923" data-lia-user-login="Bokazoit" class="lia-mention lia-mention-user"&gt;Bokazoit&lt;/a&gt;&amp;nbsp;- you can try to create calculate the FirstSubscription date dynamically within your measures. using MINX function to find the first subscription date for each customer as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create below measure for SumAmountAfter&lt;/P&gt;&lt;P&gt;SumAmountAfter =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(Tabel[Amount]),&lt;BR /&gt;Tabel[DatoKeyStoettePeriode] &amp;gt;=&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MINX(&lt;BR /&gt;FILTER(&lt;BR /&gt;Tabel,&lt;BR /&gt;Tabel[Category] = "subscription"&lt;BR /&gt;),&lt;BR /&gt;Tabel[DatoKeyStoettePeriode]&lt;BR /&gt;),&lt;BR /&gt;ALLEXCEPT(Tabel, Tabel[CustomerID])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create another measure for sumamount before:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SumAmountBefore =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(Tabel[Amount]),&lt;BR /&gt;Tabel[DatoKeyStoettePeriode] &amp;lt;=&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MINX(&lt;BR /&gt;FILTER(&lt;BR /&gt;Tabel,&lt;BR /&gt;Tabel[Category] = "subscription"&lt;BR /&gt;),&lt;BR /&gt;Tabel[DatoKeyStoettePeriode]&lt;BR /&gt;),&lt;BR /&gt;ALLEXCEPT(Tabel, Tabel[CustomerID])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try the above measures for both after and before with category= subscription condition and lets see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 09:06:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995711#M155209</guid>
      <dc:creator>rajendraongole1</dc:creator>
      <dc:date>2024-06-17T09:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995728#M155210</link>
      <description>&lt;P&gt;Could You try it in my samplefile? Your suggestion gave an error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 09:14:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995728#M155210</guid>
      <dc:creator>Bokazoit</dc:creator>
      <dc:date>2024-06-17T09:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995744#M155211</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6923" data-lia-user-login="Bokazoit" class="lia-mention lia-mention-user"&gt;Bokazoit&lt;/a&gt;&amp;nbsp;- try the below logic, it is working snapshot for your refereence.&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you try below one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SumAmountAfter =&lt;BR /&gt;VAR FirstSubscriptionDate =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MINX(&lt;BR /&gt;FILTER(&lt;BR /&gt;Tabel,&lt;BR /&gt;Tabel[Category] = "subscription"&lt;BR /&gt;),&lt;BR /&gt;Tabel[DatoKeyStoettePeriode]&lt;BR /&gt;),&lt;BR /&gt;ALLEXCEPT(Tabel, Tabel[CustomerID])&lt;BR /&gt;)&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(Tabel[Amount]),&lt;BR /&gt;Tabel[DatoKeyStoettePeriode] &amp;gt;= FirstSubscriptionDate&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SumAmountBefore measure 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SumAmountBefore =&lt;BR /&gt;VAR FirstSubscriptionDate =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MINX(&lt;BR /&gt;FILTER(&lt;BR /&gt;Tabel,&lt;BR /&gt;Tabel[Category] = "subscription"&lt;BR /&gt;),&lt;BR /&gt;Tabel[DatoKeyStoettePeriode]&lt;BR /&gt;),&lt;BR /&gt;ALLEXCEPT(Tabel, Tabel[CustomerID])&lt;BR /&gt;)&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(Tabel[Amount]),&lt;BR /&gt;Tabel[DatoKeyStoettePeriode] &amp;lt;= FirstSubscriptionDate&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 09:28:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995744#M155211</guid>
      <dc:creator>rajendraongole1</dc:creator>
      <dc:date>2024-06-17T09:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995760#M155212</link>
      <description>&lt;P&gt;Tx for trying, but the result is not correct:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;It is missing the subscription that should say 2, and when I move the date slider it does not count correctly. Have You tried using my samplefile?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 09:29:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995760#M155212</guid>
      <dc:creator>Bokazoit</dc:creator>
      <dc:date>2024-06-17T09:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995781#M155213</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6923" data-lia-user-login="Bokazoit" class="lia-mention lia-mention-user"&gt;Bokazoit&lt;/a&gt;&amp;nbsp;-- Can you please check the below snapshot&amp;nbsp; added to that concatenation pipeline with subscription.&amp;nbsp;&lt;/P&gt;&lt;P&gt;try below measure:&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;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SumAmountAfter = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; FirstSubscriptionDate = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;MINX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tabel,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tabel[Category] = &lt;/SPAN&gt;&lt;SPAN&gt;"subscription"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tabel[DatoKeyStoettePeriode]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;(Tabel, Tabel[Customer])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(Tabel[Amount]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tabel,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tabel[DatoKeyStoettePeriode] &amp;gt;= FirstSubscriptionDate || Tabel[Category] = &lt;/SPAN&gt;&lt;SPAN&gt;"subscription"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure:2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SumAmountBefore = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; FirstSubscriptionDate = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;MINX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tabel,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tabel[Category] = &lt;/SPAN&gt;&lt;SPAN&gt;"subscription"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tabel[DatoKeyStoettePeriode]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;(Tabel, Tabel[Customer])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(Tabel[Amount]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tabel,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tabel[DatoKeyStoettePeriode] &amp;lt;= FirstSubscriptionDate &amp;amp;&amp;amp; Tabel[Category] &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;"subscription"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;BR /&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jun 2024 09:37:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995781#M155213</guid>
      <dc:creator>rajendraongole1</dc:creator>
      <dc:date>2024-06-17T09:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995820#M155225</link>
      <description>&lt;P&gt;Sorry I need it to add subscription too&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 09:57:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995820#M155225</guid>
      <dc:creator>Bokazoit</dc:creator>
      <dc:date>2024-06-17T09:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995828#M155226</link>
      <description>&lt;P&gt;It needs to look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Your result is test and the correct is without the test&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 10:00:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995828#M155226</guid>
      <dc:creator>Bokazoit</dc:creator>
      <dc:date>2024-06-17T10:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995857#M155230</link>
      <description>&lt;P&gt;I can try to add this view:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The (test) is Your measures. If I move the date slider it should resemble the tables with the measure without the (test)&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 10:13:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995857#M155230</guid>
      <dc:creator>Bokazoit</dc:creator>
      <dc:date>2024-06-17T10:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995899#M155238</link>
      <description>&lt;P&gt;Up, I would really like this to work&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_frowning_face:"&gt;🙁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 10:35:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/3995899#M155238</guid>
      <dc:creator>Bokazoit</dc:creator>
      <dc:date>2024-06-17T10:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate this using measure only? (sample file attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/4005957#M156804</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6923" data-lia-user-login="Bokazoit" class="lia-mention lia-mention-user"&gt;Bokazoit&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Have you tried to add a variable table with summarize function and add the custom fields with your calculation formula to get the count of records in the virtual table. &lt;BR /&gt;After these steps, you can use iterator function to summary this variable table.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_self"&gt;Measure Totals, The Final Word &lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 01:46:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-this-using-measure-only-sample-file-attached/m-p/4005957#M156804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-24T01:46:39Z</dc:date>
    </item>
  </channel>
</rss>

