<?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 Can I subtract one filtered value from another? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-subtract-one-filtered-value-from-another/m-p/1097159#M16058</link>
    <description>&lt;P&gt;Every month I import our department spend into Power BI to compare our budget vs actual spend. Obviously I have the budget for the full year, but only have spending data available to-date for actual spend. Each month I filter total budget spend by the YTD months (i.e. at the moment excluding May and June), so that it lines up with our actual spend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I.e -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Budget YTD: $110,000 (May-19 to Apr-20)&lt;/P&gt;&lt;P&gt;Actual spend YTD: $117,000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to subtract the YTD Spend from the filtered YTD Budget (i.e. = -$7,000)? Obviously the filter changes each month.&lt;/P&gt;&lt;P&gt;Not sure if relevant, but our Actuals and Budget are in different sheets with a 1 to many connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any questions let me know as I already typed this out once before getting signed out and having to start again!&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 02:45:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-20T02:45:15Z</dc:date>
    <item>
      <title>Can I subtract one filtered value from another?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-subtract-one-filtered-value-from-another/m-p/1097159#M16058</link>
      <description>&lt;P&gt;Every month I import our department spend into Power BI to compare our budget vs actual spend. Obviously I have the budget for the full year, but only have spending data available to-date for actual spend. Each month I filter total budget spend by the YTD months (i.e. at the moment excluding May and June), so that it lines up with our actual spend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I.e -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Budget YTD: $110,000 (May-19 to Apr-20)&lt;/P&gt;&lt;P&gt;Actual spend YTD: $117,000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to subtract the YTD Spend from the filtered YTD Budget (i.e. = -$7,000)? Obviously the filter changes each month.&lt;/P&gt;&lt;P&gt;Not sure if relevant, but our Actuals and Budget are in different sheets with a 1 to many connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any questions let me know as I already typed this out once before getting signed out and having to start again!&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 02:45:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-subtract-one-filtered-value-from-another/m-p/1097159#M16058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T02:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can I subtract one filtered value from another?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-subtract-one-filtered-value-from-another/m-p/1097251#M16065</link>
      <description>&lt;P&gt;Probably.&amp;nbsp;Please see this post regarding How to Get Your Question Answered Quickly: &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;The most important parts are:&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;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 04:01:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-I-subtract-one-filtered-value-from-another/m-p/1097251#M16065</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-20T04:01:12Z</dc:date>
    </item>
  </channel>
</rss>

