<?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 Previous 3 Months and Not Last 3 Months in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-3-Months-and-Not-Last-3-Months/m-p/3106753#M109537</link>
    <description>&lt;P&gt;Hi everyone, I need help in getting a date filter for previous 3 months. for&lt;BR /&gt;example whatever data I am showing will show from 12/1/2022 - 2/28/2023&lt;/P&gt;&lt;P&gt;I have been able to achieve calculation for separate 3 months ago each, for example&lt;BR /&gt;1 Month Ago = IF ( DATEDIFF('Vulns'[publishedOn], TODAY(), MONTH ) = 1, "Yes", "No" )&lt;BR /&gt;2 Month Ago = IF ( DATEDIFF('Vulns'[publishedOn], TODAY(), MONTH ) = 1, "Yes", "No" )&lt;BR /&gt;3 Month Ago = IF ( DATEDIFF('Vulns'[publishedOn], TODAY(), MONTH ) = 1, "Yes", "No" )&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now, my goal now is to have the combination of 3 months now where if the date falls within last three months(Feb,January and December) I can be able to click yes in the filter I will use. Please help.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 22:58:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-01T22:58:08Z</dc:date>
    <item>
      <title>Previous 3 Months and Not Last 3 Months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-3-Months-and-Not-Last-3-Months/m-p/3106753#M109537</link>
      <description>&lt;P&gt;Hi everyone, I need help in getting a date filter for previous 3 months. for&lt;BR /&gt;example whatever data I am showing will show from 12/1/2022 - 2/28/2023&lt;/P&gt;&lt;P&gt;I have been able to achieve calculation for separate 3 months ago each, for example&lt;BR /&gt;1 Month Ago = IF ( DATEDIFF('Vulns'[publishedOn], TODAY(), MONTH ) = 1, "Yes", "No" )&lt;BR /&gt;2 Month Ago = IF ( DATEDIFF('Vulns'[publishedOn], TODAY(), MONTH ) = 1, "Yes", "No" )&lt;BR /&gt;3 Month Ago = IF ( DATEDIFF('Vulns'[publishedOn], TODAY(), MONTH ) = 1, "Yes", "No" )&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now, my goal now is to have the combination of 3 months now where if the date falls within last three months(Feb,January and December) I can be able to click yes in the filter I will use. Please help.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 22:58:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-3-Months-and-Not-Last-3-Months/m-p/3106753#M109537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-01T22:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Previous 3 Months and Not Last 3 Months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-3-Months-and-Not-Last-3-Months/m-p/3106783#M109541</link>
      <description>&lt;P&gt;hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try to add a new calculated column like:&lt;/P&gt;&lt;DIV&gt;Last3Month=&lt;/DIV&gt;&lt;DIV&gt;IF(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;[publishedOn]&amp;lt;EDATE(TODAY(), -3),&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;"No", "Yes"&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Mar 2023 23:57:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-3-Months-and-Not-Last-3-Months/m-p/3106783#M109541</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-01T23:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Previous 3 Months and Not Last 3 Months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-3-Months-and-Not-Last-3-Months/m-p/3107070#M109574</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;, it worked perfectly.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 04:19:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-3-Months-and-Not-Last-3-Months/m-p/3107070#M109574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-02T04:19:32Z</dc:date>
    </item>
  </channel>
</rss>

