<?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: Acumulative difference between dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Acumulative-difference-between-dates/m-p/1909202#M41247</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , when your effective date is today then it should work for the range filtered for 2021 on this date. Hope filter is on effective date not approval date&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;check do you need date table and userelationship&lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi" target="_blank"&gt;https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jun 2021 14:21:40 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-06-18T14:21:40Z</dc:date>
    <item>
      <title>Acumulative difference between dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Acumulative-difference-between-dates/m-p/1909134#M41244</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have three fields of date, one field is date create, date approval and effective&amp;nbsp;date (when is not approve we considering&amp;nbsp;today day)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EFFECTIVE DATE = IF (BLANK (DATE APPROVAL), TODAY(), DATE APPROVAL)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We create a column with diferrence date in days:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DIF = DATEDIFF(DATE CREATE, EFFECTIVE DATE, DAY)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want analyse average DIF for example, year 2021 (01.01.2021 to 03.31.2021) but we have a problem beacuse the records thath do not have approval don´t appear in the analysis, beacause effective date is Today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we analyse the measure by moth considerin the accumlates up today´s date?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 13:32:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Acumulative-difference-between-dates/m-p/1909134#M41244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-18T13:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Acumulative difference between dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Acumulative-difference-between-dates/m-p/1909202#M41247</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , when your effective date is today then it should work for the range filtered for 2021 on this date. Hope filter is on effective date not approval date&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;check do you need date table and userelationship&lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi" target="_blank"&gt;https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 14:21:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Acumulative-difference-between-dates/m-p/1909202#M41247</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-06-18T14:21:40Z</dc:date>
    </item>
  </channel>
</rss>

