<?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 Calculation to get remediated value using month differences in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-to-get-remediated-value-using-month-differences/m-p/3306693#M123509</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to be abel to caluclate the below month on month using DAX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;((July Total Vulns + Aug New Vulns) - Aug Total Vulns) = Aug Remediations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a file that takes a load in at the start of each month (LoadDate)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then check to see if this [Vulnerabilitity ID] is new or was present in the previous month using the following calculation&amp;nbsp; which will mark it as new or old.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;New at LoadDate = if
(CALCULATE(COUNTROWS('Rapid 7 Sample'),FILTER('Rapid 7 Sample','Rapid 7 Sample'[Vulnerability ID] = EARLIER('Rapid 7 Sample'[Vulnerability ID])
&amp;amp;&amp;amp; ('Rapid 7 Sample'[LoadDate])=EARLIER('Rapid 7 Sample'[Last date of previous month])))&amp;gt;0,"Old","New")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate the below but have it ongoing month on month&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total Vulns = Old + New for that month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e. in Feb&amp;nbsp; --- ((Jan Total Vulns + Feb New Vulns) - Feb Total Vulns) = Feb Remediations&lt;/P&gt;&lt;P&gt;i.e. in Mar&amp;nbsp; --- ((Feb Total Vulns + Mar New Vulns) - Mar Total Vulns) = Mar Remediations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;((Month -1 Total Vulns + Month New Vulns) - Month Total Vulns) = Month Remediations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or guidance would be greatly appricated. Thanks!!&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 17:23:54 GMT</pubDate>
    <dc:creator>amd567</dc:creator>
    <dc:date>2023-06-28T17:23:54Z</dc:date>
    <item>
      <title>Calculation to get remediated value using month differences</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-to-get-remediated-value-using-month-differences/m-p/3306693#M123509</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to be abel to caluclate the below month on month using DAX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;((July Total Vulns + Aug New Vulns) - Aug Total Vulns) = Aug Remediations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a file that takes a load in at the start of each month (LoadDate)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then check to see if this [Vulnerabilitity ID] is new or was present in the previous month using the following calculation&amp;nbsp; which will mark it as new or old.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;New at LoadDate = if
(CALCULATE(COUNTROWS('Rapid 7 Sample'),FILTER('Rapid 7 Sample','Rapid 7 Sample'[Vulnerability ID] = EARLIER('Rapid 7 Sample'[Vulnerability ID])
&amp;amp;&amp;amp; ('Rapid 7 Sample'[LoadDate])=EARLIER('Rapid 7 Sample'[Last date of previous month])))&amp;gt;0,"Old","New")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate the below but have it ongoing month on month&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total Vulns = Old + New for that month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e. in Feb&amp;nbsp; --- ((Jan Total Vulns + Feb New Vulns) - Feb Total Vulns) = Feb Remediations&lt;/P&gt;&lt;P&gt;i.e. in Mar&amp;nbsp; --- ((Feb Total Vulns + Mar New Vulns) - Mar Total Vulns) = Mar Remediations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;((Month -1 Total Vulns + Month New Vulns) - Month Total Vulns) = Month Remediations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or guidance would be greatly appricated. Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 17:23:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-to-get-remediated-value-using-month-differences/m-p/3306693#M123509</guid>
      <dc:creator>amd567</dc:creator>
      <dc:date>2023-06-28T17:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation to get remediated value using month differences</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-to-get-remediated-value-using-month-differences/m-p/3309412#M123655</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="382426" data-lia-user-login="amd567" class="lia-mention lia-mention-user"&gt;amd567&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?&lt;/P&gt;
&lt;P&gt;Thanks for your efforts &amp;amp; time in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_Binbin Yu&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 05:31:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-to-get-remediated-value-using-month-differences/m-p/3309412#M123655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-30T05:31:48Z</dc:date>
    </item>
  </channel>
</rss>

