<?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: Dax to sum the total using a relative date with a filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-sum-the-total-using-a-relative-date-with-a-filter/m-p/1621733#M32727</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;this was not a solution. The orig request is adding a date filter in as well. was that an oversight in trying to help or were you just adding what you know for part of it?&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2021 18:05:15 GMT</pubDate>
    <dc:creator>electrobrit</dc:creator>
    <dc:date>2021-01-25T18:05:15Z</dc:date>
    <item>
      <title>Dax to sum the total using a relative date with a filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-sum-the-total-using-a-relative-date-with-a-filter/m-p/1615093#M32512</link>
      <description>&lt;P&gt;This seems kind of simple but I can't get it to work using a relative date filter and another filter.&lt;BR /&gt;I have a table with a close date and status.&amp;nbsp;&lt;BR /&gt;If the status = Closed and close date is in last 2 months, I need to sum the total.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Close_Date&lt;/TD&gt;&lt;TD&gt;Status&lt;/TD&gt;&lt;TD&gt;Total Revenue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;12/31/2020&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&g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021&lt;/TD&gt;&lt;TD&gt;Open&lt;/TD&gt;&lt;TD&gt;$20,600&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, it would be $183, 666&lt;BR /&gt;&lt;BR /&gt;Thank you for your help!&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jan 2021 20:10:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-sum-the-total-using-a-relative-date-with-a-filter/m-p/1615093#M32512</guid>
      <dc:creator>electrobrit</dc:creator>
      <dc:date>2021-01-21T20:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to sum the total using a relative date with a filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-sum-the-total-using-a-relative-date-with-a-filter/m-p/1615106#M32514</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Try the following measure&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Measure = SUMX(FILTER('Table','Table'[Status]="Closed"),'Table'[Total Revenue])&lt;BR /&gt;&lt;BR /&gt;Ensure you replace "Table" with your table name.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jan 2021 20:24:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-sum-the-total-using-a-relative-date-with-a-filter/m-p/1615106#M32514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T20:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to sum the total using a relative date with a filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-sum-the-total-using-a-relative-date-with-a-filter/m-p/1615133#M32518</link>
      <description>&lt;P&gt;Thank you, but the part that is missing is adding to that a relative date filter (close date in the last 2 months), how do I add that part into what you have provided?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 20:43:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-sum-the-total-using-a-relative-date-with-a-filter/m-p/1615133#M32518</guid>
      <dc:creator>electrobrit</dc:creator>
      <dc:date>2021-01-21T20:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to sum the total using a relative date with a filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-sum-the-total-using-a-relative-date-with-a-filter/m-p/1621733#M32727</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;this was not a solution. The orig request is adding a date filter in as well. was that an oversight in trying to help or were you just adding what you know for part of it?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 18:05:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-sum-the-total-using-a-relative-date-with-a-filter/m-p/1621733#M32727</guid>
      <dc:creator>electrobrit</dc:creator>
      <dc:date>2021-01-25T18:05:15Z</dc:date>
    </item>
  </channel>
</rss>

