<?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: DAX SUM ACTIVE Records Between Start Date and End Date with Selected Date on Line Graph in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3314630#M123986</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total Prospects = 
SUMX (
    VALUES ( 'Dates'[End of Week] ),
    COUNTROWS (
        FILTER (
            'Prospects',
            'Prospects'[Date Added] &amp;lt;= 'Dates'[End of Week]
                &amp;amp;&amp;amp; COALESCE ( Prospects[Date Closed], TODAY () ) &amp;gt;= 'Dates'[End of Week]
       )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I amend the above to calculate only for the last 7 days?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 14:10:33 GMT</pubDate>
    <dc:creator>derekmac</dc:creator>
    <dc:date>2023-07-04T14:10:33Z</dc:date>
    <item>
      <title>DAX SUM ACTIVE Records Between Start Date and End Date with Selected Date on Line Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3293224#M122629</link>
      <description>&lt;LI-CODE lang="markup"&gt;EmployeeID	Start Date	End Date
1	        01/01/2021	31/12/2021
2	        01/01/2022	31/03/2023
3	        01/08/2023	
4	        01/01/2023	
5	        01/03/2023	31/08/2023&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the above scenario I want plot the Total Record Count on a Line Graph that shows me the ongoing Active Records taking into account the Date on the X-Axis and taking into account the Start and End Date of the Employee.&lt;BR /&gt;Any help or pointers appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 12:41:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3293224#M122629</guid>
      <dc:creator>derekmac</dc:creator>
      <dc:date>2023-06-20T12:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: DAX SUM ACTIVE Records Between Start Date and End Date with Selected Date on Line Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3293267#M122634</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="459517" data-lia-user-login="derekmac" class="lia-mention lia-mention-user"&gt;derekmac&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You need to have a disconnected date table. Your count measure would be:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Count =
SUMX (
    VALUES ( 'Date'[Date] ),
    COUNTROWS (
        FILTER (
            'Table',
            'Table'[Start Date] &amp;lt;= 'Date'[Date]
                &amp;amp;&amp;amp; COALESCE ( 'Table'[End Date], TODAY () ) &amp;gt;= 'Date'[Date]
        )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 12:58:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3293267#M122634</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-20T12:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: DAX SUM ACTIVE Records Between Start Date and End Date with Selected Date on Line Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3293307#M122637</link>
      <description>&lt;P&gt;I don't understand that&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 13:15:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3293307#M122637</guid>
      <dc:creator>derekmac</dc:creator>
      <dc:date>2023-06-20T13:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: DAX SUM ACTIVE Records Between Start Date and End Date with Selected Date on Line Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3293419#M122646</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="459517" data-lia-user-login="derekmac" class="lia-mention lia-mention-user"&gt;derekmac&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Create a date table and keep it disconnected from the main table (no relationships). It should contain all the dates from minimum start date to the maximum end date. Example &lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Date = CALENDAR ( MIN ( 'Table'[Start Date] ), MAX ( 'Table'[End Date] ) )&lt;/LI-CODE&gt;
&lt;P&gt;Place 'Date'[Date] in a table visual along with the count measure&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Count =
SUMX (
    VALUES ( 'Date'[Date] ),
    COUNTROWS (
        FILTER (
            'Table',
            'Table'[Start Date] &amp;lt;= 'Date'[Date]
                &amp;amp;&amp;amp; COALESCE ( 'Table'[End Date], TODAY () ) &amp;gt;= 'Date'[Date]
        )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 14:01:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3293419#M122646</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-20T14:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: DAX SUM ACTIVE Records Between Start Date and End Date with Selected Date on Line Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3294889#M122721</link>
      <description>&lt;P&gt;Target&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I had a 4th Column called Target, how would I change the DAX to sum this column using the disconnected table instead of Counting Rows?&lt;BR /&gt;&lt;BR /&gt;I want to add a target line to my Line Graph too&lt;BR /&gt;&lt;BR /&gt;Thank you so much for you help so far, I have not come across this technique before, it is quite advanced for me!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 07:57:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3294889#M122721</guid>
      <dc:creator>derekmac</dc:creator>
      <dc:date>2023-06-21T07:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: DAX SUM ACTIVE Records Between Start Date and End Date with Selected Date on Line Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3294911#M122722</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="459517" data-lia-user-login="derekmac" class="lia-mention lia-mention-user"&gt;derekmac&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Count =
SUMX (
    VALUES ( 'Date'[Date] ),
    SUMX (
        FILTER (
            'Table',
            'Table'[Start Date] &amp;lt;= 'Date'[Date]
                &amp;amp;&amp;amp; COALESCE ( 'Table'[End Date], TODAY () ) &amp;gt;= 'Date'[Date]
        ),
        'Table'[Target]
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 21 Jun 2023 08:04:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3294911#M122722</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-21T08:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: DAX SUM ACTIVE Records Between Start Date and End Date with Selected Date on Line Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3295152#M122737</link>
      <description>&lt;P&gt;Thank you so much&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 09:38:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3295152#M122737</guid>
      <dc:creator>derekmac</dc:creator>
      <dc:date>2023-06-21T09:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: DAX SUM ACTIVE Records Between Start Date and End Date with Selected Date on Line Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3314630#M123986</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total Prospects = 
SUMX (
    VALUES ( 'Dates'[End of Week] ),
    COUNTROWS (
        FILTER (
            'Prospects',
            'Prospects'[Date Added] &amp;lt;= 'Dates'[End of Week]
                &amp;amp;&amp;amp; COALESCE ( Prospects[Date Closed], TODAY () ) &amp;gt;= 'Dates'[End of Week]
       )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I amend the above to calculate only for the last 7 days?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 14:10:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3314630#M123986</guid>
      <dc:creator>derekmac</dc:creator>
      <dc:date>2023-07-04T14:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: DAX SUM ACTIVE Records Between Start Date and End Date with Selected Date on Line Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3314928#M124017</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="459517" data-lia-user-login="derekmac" class="lia-mention lia-mention-user"&gt;derekmac&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please clarify with some screenshots&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 17:14:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-SUM-ACTIVE-Records-Between-Start-Date-and-End-Date-with/m-p/3314928#M124017</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-04T17:14:32Z</dc:date>
    </item>
  </channel>
</rss>

