<?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: Cumulative Running total Dates missing in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-Running-total-Dates-missing/m-p/4264793#M58088</link>
    <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/667049"&gt;@Jayesh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total Defects Measure =
SUMX(
    FILTER(ALL('defect table'),
    'defect table'[creation date]&amp;lt;=MAX('Date dim table'[creation date])),[Total Defects])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Total Open Defects Measure =
SUMX(
    FILTER(ALL('defect table'),
    'defect table'[creation date]&amp;lt;=MAX('Date dim table'[creation date])),[Total Open Defects])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Total Resolved Defects Measure =
var _table1=
ADDCOLUMNS(
    'defect table',"Date",
    MAXX(
        FILTER(ALL('defect table'),
       'defect table'[creation date]&amp;lt;=EARLIER('defect table'[resolution date])),
        [creation date]))
var _table2=
ADDCOLUMNS(
    _table1,"Value",SUMX(FILTER(_table1,[Date]=EARLIER([Date])),[Total Resolved Defects]))
return
SUMX(
    FILTER(_table2,[Date]&amp;lt;=MAX('Date dim table'[creation date])),[Value])&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_0-1730343213298.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1192113i68D1ABDBC494C6BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyangliumsft_0-1730343213298.png" alt="vyangliumsft_0-1730343213298.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2024 02:54:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-10-31T02:54:31Z</dc:date>
    <item>
      <title>Cumulative Running total Dates missing</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-Running-total-Dates-missing/m-p/4264523#M58086</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have one defect table and one Date dim table. The defect table have 2 dates&lt;STRONG&gt; creation date&lt;/STRONG&gt; and &lt;STRONG&gt;resolution date&lt;/STRONG&gt;. I have created 2 relationship between &lt;STRONG&gt;date dim&lt;/STRONG&gt; and defect table with creation date and date dim as active relationship. i am trying to achieve the running total using date dim date and the other two dates, but not getting expected results, please refere the screenshot and help me here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jayesh_0-1730323385125.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1191980iD2264F56FABA1F3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jayesh_0-1730323385125.png" alt="Jayesh_0-1730323385125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 21:23:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-Running-total-Dates-missing/m-p/4264523#M58086</guid>
      <dc:creator>Jayesh</dc:creator>
      <dc:date>2024-10-30T21:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Running total Dates missing</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cumulative-Running-total-Dates-missing/m-p/4264793#M58088</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/667049"&gt;@Jayesh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total Defects Measure =
SUMX(
    FILTER(ALL('defect table'),
    'defect table'[creation date]&amp;lt;=MAX('Date dim table'[creation date])),[Total Defects])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Total Open Defects Measure =
SUMX(
    FILTER(ALL('defect table'),
    'defect table'[creation date]&amp;lt;=MAX('Date dim table'[creation date])),[Total Open Defects])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Total Resolved Defects Measure =
var _table1=
ADDCOLUMNS(
    'defect table',"Date",
    MAXX(
        FILTER(ALL('defect table'),
       'defect table'[creation date]&amp;lt;=EARLIER('defect table'[resolution date])),
        [creation date]))
var _table2=
ADDCOLUMNS(
    _table1,"Value",SUMX(FILTER(_table1,[Date]=EARLIER([Date])),[Total Resolved Defects]))
return
SUMX(
    FILTER(_table2,[Date]&amp;lt;=MAX('Date dim table'[creation date])),[Value])&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_0-1730343213298.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1192113i68D1ABDBC494C6BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyangliumsft_0-1730343213298.png" alt="vyangliumsft_0-1730343213298.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 02:54:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cumulative-Running-total-Dates-missing/m-p/4264793#M58088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-31T02:54:31Z</dc:date>
    </item>
  </channel>
</rss>

