<?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 Running Total returns wrong value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150476#M49541</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to figure out the running total quick measures. I've added in the base as the sum of couriers and the field as the start date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see below, the running totals aren't correct. Could you let me know what I've done wrong please? I'm trying to calculcate how many couriers there are per month in each quarter &amp;amp; year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&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;</description>
    <pubDate>Fri, 22 Oct 2021 13:34:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-10-22T13:34:00Z</dc:date>
    <item>
      <title>Running Total returns wrong value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150476#M49541</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to figure out the running total quick measures. I've added in the base as the sum of couriers and the field as the start date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see below, the running totals aren't correct. Could you let me know what I've done wrong please? I'm trying to calculcate how many couriers there are per month in each quarter &amp;amp; year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&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;</description>
      <pubDate>Fri, 22 Oct 2021 13:34:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150476#M49541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-22T13:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total returns wrong value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150637#M49547</link>
      <description>&lt;P&gt;Are you using Is_created_at in the table? Or different columns? The same formula works like a charm on my end:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 14:41:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150637#M49547</guid>
      <dc:creator>YukiK</dc:creator>
      <dc:date>2021-10-22T14:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total returns wrong value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150642#M49548</link>
      <description>&lt;P&gt;They are columns and not from the table. I wasn't sure how to reference to the column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try your formula, thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 14:43:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150642#M49548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-22T14:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total returns wrong value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150664#M49550</link>
      <description>&lt;P&gt;You'd need to create a relationship between that table and your Sheet1 on Created_at column. And When you create a quick measure, don't place created_at column but instead, place date column that's on the related table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that makes sense&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 14:51:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150664#M49550</guid>
      <dc:creator>YukiK</dc:creator>
      <dc:date>2021-10-22T14:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total returns wrong value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150685#M49551</link>
      <description>&lt;P&gt;Could you send me a screenshot of your relationships please?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 15:06:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150685#M49551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-22T15:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total returns wrong value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150703#M49553</link>
      <description>&lt;P&gt;This is just test tables. Please adjust according to your model. You can drag and drop a column to another column in a different table&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please gives a thumbs up if this is helpful!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 15:10:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150703#M49553</guid>
      <dc:creator>YukiK</dc:creator>
      <dc:date>2021-10-22T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total returns wrong value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150711#M49555</link>
      <description>&lt;P&gt;I wasn't able to do a many to one. I don't quite understand relationships so I think I might have to go and read up on it then figure out how to reference the table in the running total.&amp;nbsp;&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;</description>
      <pubDate>Fri, 22 Oct 2021 15:15:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2150711#M49555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-22T15:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total returns wrong value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2157100#M49846</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You need to create a calendar table with distinct dates, and connect that date column to your current created at date. Then you would use the new calendar date in the filter expression. For example, if you data is from 2020 to 2021, try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Create a calendar table =Calendar(date(2020,11), date(2021,12,31))&lt;BR /&gt;2. Connect the new date table with Created_At.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. create the measure:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Measure = calculate(sum(sheet1[value]), &lt;STRONG&gt;Filter(allselected(calendar table), isonorafter(calendar table[date], max(calendar table[date]), desc))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul Zheng _ Community Support Team&lt;BR /&gt;If this post helps, please Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 05:19:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-returns-wrong-value/m-p/2157100#M49846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-27T05:19:15Z</dc:date>
    </item>
  </channel>
</rss>

