<?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 filter without affecting running total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-without-affecting-running-total/m-p/1932013#M41967</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Delta = VAR _total=SUM('Query' [2022] - SUM('Query'[2021]) RETURN IF(_total&amp;gt;10000000||_total&amp;lt;-10000000,_total)&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 02:43:58 GMT</pubDate>
    <dc:creator>wdx223_Daniel</dc:creator>
    <dc:date>2021-07-01T02:43:58Z</dc:date>
    <item>
      <title>How to filter without affecting running total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-without-affecting-running-total/m-p/1931865#M41962</link>
      <description>&lt;P&gt;Hello! I have a column that has a variety of values. I would like to "filter" out the values that are less than 10,000,000 OR greater than -10,000,000. However, I do not want to affect the total at the bottom. I've noticed that with the filter pane, when I add this as a filter, it also affects the running total :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current DAX code for this column is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Delta = SUM('Query' [2022] - SUM('Query'[2021])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any straightforward way to edit this statement to filter based on the criteria above without affecting the total at the bottom?&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;For example, what I would like to show are these values in a table format. Instead of the 149,702,494 total, I would like to show the 198,450,703 in the picture above:&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;</description>
      <pubDate>Wed, 30 Jun 2021 23:42:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-without-affecting-running-total/m-p/1931865#M41962</guid>
      <dc:creator>alexpork</dc:creator>
      <dc:date>2021-06-30T23:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter without affecting running total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-without-affecting-running-total/m-p/1932013#M41967</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Delta = VAR _total=SUM('Query' [2022] - SUM('Query'[2021]) RETURN IF(_total&amp;gt;10000000||_total&amp;lt;-10000000,_total)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 02:43:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-without-affecting-running-total/m-p/1932013#M41967</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2021-07-01T02:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter without affecting running total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-without-affecting-running-total/m-p/1933655#M42018</link>
      <description>&lt;P&gt;Hello! Thank you for the response.&lt;BR /&gt;&lt;BR /&gt;I tried running this statement but it is mentioning in the RETURN IF statement that the parameter is not in the correct type.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 16:19:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-without-affecting-running-total/m-p/1933655#M42018</guid>
      <dc:creator>alexpork</dc:creator>
      <dc:date>2021-07-01T16:19:37Z</dc:date>
    </item>
  </channel>
</rss>

