<?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 sum all invoices in the first year after won opportunity in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2274248#M55434</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="350379" data-lia-user-login="torstew" class="lia-mention lia-mention-user"&gt;torstew&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you post sample data as text and expected output?&lt;BR /&gt;Not enough information to go on;&lt;BR /&gt;&lt;BR /&gt;please see this post regarding How to Get Your Question Answered Quickly:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;The most important parts are:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;BR /&gt;4. Relation between your tables&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Appreciate your Kudos!!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;LinkedIn:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank"&gt;www.linkedin.com/in/vahid-dm/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jan 2022 22:26:42 GMT</pubDate>
    <dc:creator>VahidDM</dc:creator>
    <dc:date>2022-01-09T22:26:42Z</dc:date>
    <item>
      <title>How to sum all invoices in the first year after won opportunity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2273961#M55415</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to PowerBi and DAX. I would like to some all invoices in the year following the close down of an opportunity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very simply, if the opportunity was closed and won on 31 December 2021, I would like to sum the value of all invoices raised before and including 30 December 2022.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a simple formula for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 11:30:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2273961#M55415</guid>
      <dc:creator>torstew</dc:creator>
      <dc:date>2022-01-09T11:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum all invoices in the first year after won opportunity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2273994#M55416</link>
      <description>&lt;P&gt;Sure we can help with that! Can you supply a demo file without sensistive information?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 12:34:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2273994#M55416</guid>
      <dc:creator>bcdobbs</dc:creator>
      <dc:date>2022-01-09T12:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum all invoices in the first year after won opportunity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2274248#M55434</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="350379" data-lia-user-login="torstew" class="lia-mention lia-mention-user"&gt;torstew&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you post sample data as text and expected output?&lt;BR /&gt;Not enough information to go on;&lt;BR /&gt;&lt;BR /&gt;please see this post regarding How to Get Your Question Answered Quickly:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;The most important parts are:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;BR /&gt;4. Relation between your tables&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Appreciate your Kudos!!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;LinkedIn:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank"&gt;www.linkedin.com/in/vahid-dm/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 22:26:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2274248#M55434</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2022-01-09T22:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum all invoices in the first year after won opportunity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2279250#M55710</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="350379" data-lia-user-login="torstew" class="lia-mention lia-mention-user"&gt;torstew&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;According to your description, I create a sample.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you want to sum the invoices between 2021/12/31 and 2022/12/30, here's my solution, create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
CALCULATE (
    SUM ( 'Table'[Invoice] ),
    FILTER (
        ALL ( 'Table' ),
        'Table'[Date] &amp;gt; DATE ( 2021, 12, 31 )
            &amp;amp;&amp;amp; 'Table'[Date] &amp;lt;= DATE ( 2022, 12, 30 )
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;Get the result.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;More reference of the&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/dax/calculate-function-dax" target="_blank"&gt;calculate-function&lt;/A&gt;,&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/dax/filter-function-dax" target="_blank"&gt;filter-function&lt;/A&gt;,&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/dax/date-function-dax" target="_blank"&gt;date-function&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I attach my sample below for reference.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ kalyj&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 10:08:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2279250#M55710</guid>
      <dc:creator>v-yanjiang-msft</dc:creator>
      <dc:date>2022-01-12T10:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum all invoices in the first year after won opportunity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2285643#M56052</link>
      <description>&lt;P&gt;Thanks for sharing this.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 02:17:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2285643#M56052</guid>
      <dc:creator>torstew</dc:creator>
      <dc:date>2022-01-17T02:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum all invoices in the first year after won opportunity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2285645#M56053</link>
      <description>&lt;P&gt;Thanks. I will ask if the requester can provide more details on this topic.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 02:18:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-sum-all-invoices-in-the-first-year-after-won-opportunity/m-p/2285645#M56053</guid>
      <dc:creator>torstew</dc:creator>
      <dc:date>2022-01-17T02:18:02Z</dc:date>
    </item>
  </channel>
</rss>

