<?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: Need Help: Running Totals Do Not Filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-Running-Totals-Do-Not-Filter/m-p/2451515#M65993</link>
    <description>&lt;P&gt;Hi ,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am so glad that you have solved your issue . Please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 07:47:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-12T07:47:18Z</dc:date>
    <item>
      <title>Need Help: Running Totals Do Not Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-Running-Totals-Do-Not-Filter/m-p/2446926#M65718</link>
      <description>&lt;P&gt;I need some assistance. My Daily Total column doesn't account for selected values in my slicer. When a item is selected the totals do not recalculate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone assist?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Daily Total = 
var fdate = MIN([activity_dt])
var ldate = MAX([activity_dt])
var rowdate= [activity_dt]
var finalrange = IF(DATEDIFF(fdate, rowdate, DAY) &amp;lt; 7, DATEDIFF(fdate, rowdate, DAY), 7)
var FilterTable = FILTER(Sheet1, [activity_dt] = rowdate)// &amp;gt;= rowdate-finalrange &amp;amp;&amp;amp; [activity_dt] &amp;lt;= rowdate)
return
    CALCULATE(SUM([Gross_adds]), Filtertable)&lt;/LI-CODE&gt;&lt;P&gt;The output here is as followed:&lt;/P&gt;&lt;P&gt;Daily Total: Is a running total of all categories and does not update regardless of what you select in the slicer.&lt;/P&gt;&lt;P&gt;Correct Daily Total: Is what I would like to see when I select 4 of those categories&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 22:25:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-Running-Totals-Do-Not-Filter/m-p/2446926#M65718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-08T22:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help: Running Totals Do Not Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-Running-Totals-Do-Not-Filter/m-p/2448199#M65793</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Looking at your DAX, I have a few questions .&lt;/P&gt;
&lt;P&gt;(1)I don't quite understand the meaning of &lt;STRONG&gt;rowdate&lt;/STRONG&gt;, when you select multiple, this value will show null value. So, what are you getting this value for ?&lt;/P&gt;
&lt;P&gt;(2)If the value of &lt;STRONG&gt;finalrange&lt;/STRONG&gt; is greater than or equal to 7 , how did you count the sum of &lt;STRONG&gt;[Gross_adds]&lt;/STRONG&gt; ?&lt;/P&gt;
&lt;P&gt;From the correct daily totals you provided , it seems to be the sequential addition of the values you selected . So I am confused and hope you can give a detailed explanation .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 03:33:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-Running-Totals-Do-Not-Filter/m-p/2448199#M65793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-11T03:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help: Running Totals Do Not Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-Running-Totals-Do-Not-Filter/m-p/2449733#M65887</link>
      <description>&lt;P&gt;No worries. I figured it out yesterday. The updates should have been made in my 7 Day Running column (not shared) instead of the Daily Totals. In that code, the rowdate and finalrange is applied to where its less confusing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;7 Day running = 
var fdate = MIN([activity_dt])
var ldate = MAX([activity_dt])
var rowdate= [activity_dt]
var service = [service]
var finalrange = IF(DATEDIFF(fdate, rowdate, DAY) &amp;lt; 7, DATEDIFF(fdate, rowdate, DAY), 7)
var FilterTable = FILTER(Sheet1, [activity_dt] &amp;gt;= rowdate-finalrange &amp;amp;&amp;amp; [activity_dt] &amp;lt;= rowdate &amp;amp;&amp;amp; [service] = service)
var datatotals =   CALCULATE(SUM([Gross_adds]), Filtertable)
var results = if(finalrange &amp;lt;=0 ,  datatotals, datatotals/( finalrange+1))
return
  results&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 13:23:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-Running-Totals-Do-Not-Filter/m-p/2449733#M65887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-11T13:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help: Running Totals Do Not Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-Running-Totals-Do-Not-Filter/m-p/2451515#M65993</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am so glad that you have solved your issue . Please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 07:47:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-Running-Totals-Do-Not-Filter/m-p/2451515#M65993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-12T07:47:18Z</dc:date>
    </item>
  </channel>
</rss>

