<?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: Return rows whose date are in the future based on current month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-rows-whose-date-are-in-the-future-based-on-current-month/m-p/3230852#M118538</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;for caluclated column&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Near Expiry = 
IF(
    MONTH(TODAY()) + 3 &amp;gt;= MONTH('Table'[Expiry Date]),
    "Yes",
    "No"
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;for measure&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Near Expiry Measure = 
IF(
    MONTH(TODAY()) + 3 &amp;gt;= MONTH(MAX('Table'[Expiry Date])),
    "Yes",
    "No"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 12:56:54 GMT</pubDate>
    <dc:creator>eliasayyy</dc:creator>
    <dc:date>2023-05-11T12:56:54Z</dc:date>
    <item>
      <title>Return rows whose date are in the future based on current month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-rows-whose-date-are-in-the-future-based-on-current-month/m-p/3230784#M118533</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table that contains data for different items that have expiration dates.&lt;/P&gt;&lt;P&gt;I would like to be able to filter the table and show rows whose expiration dates are x months into the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, for example, if I'm looking at the table now (in May 2023), I would like to see only rows with expiration dates 3 months into the future (the entirety of August 2023).&lt;/P&gt;&lt;P&gt;If I'm looking at the table in October 2023, I would like to see only rows with expiration dates&amp;nbsp;5 months into the future (the entirety of March 2024).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only the month should be taken into consideration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table looks like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 12:22:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-rows-whose-date-are-in-the-future-based-on-current-month/m-p/3230784#M118533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-11T12:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Return rows whose date are in the future based on current month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-rows-whose-date-are-in-the-future-based-on-current-month/m-p/3230852#M118538</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;for caluclated column&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Near Expiry = 
IF(
    MONTH(TODAY()) + 3 &amp;gt;= MONTH('Table'[Expiry Date]),
    "Yes",
    "No"
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;for measure&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Near Expiry Measure = 
IF(
    MONTH(TODAY()) + 3 &amp;gt;= MONTH(MAX('Table'[Expiry Date])),
    "Yes",
    "No"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 12:56:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-rows-whose-date-are-in-the-future-based-on-current-month/m-p/3230852#M118538</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-05-11T12:56:54Z</dc:date>
    </item>
  </channel>
</rss>

