<?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: Get the second tuesday of the next Month from today in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-second-tuesday-of-the-next-Month-from-today/m-p/3022288#M102894</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="446034" data-lia-user-login="Neandril" class="lia-mention lia-mention-user"&gt;Neandril&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here I suggest you to try this code to create a calculated column or a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New =
VAR _NextMonthFirstDay =
    EOMONTH ( TODAY (), 0 ) + 1
VAR _WeekdayOfFirstDay =
    WEEKDAY ( _NextMonthFirstDay, 2 )
RETURN
    IF (
        _WeekdayOfFirstDay &amp;gt; 2,
        _NextMonthFirstDay - _WeekdayOfFirstDay + 16,
        _NextMonthFirstDay - _WeekdayOfFirstDay + 9
    )&lt;/LI-CODE&gt;
&lt;P&gt;Here I have a test on a Date table, it works.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 06:03:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-16T06:03:39Z</dc:date>
    <item>
      <title>Get the second tuesday of the next Month from today</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-second-tuesday-of-the-next-Month-from-today/m-p/3019327#M102660</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to retrieve the next second tuesday of the next month from today. How can I achieve this in DAX please ?&lt;/P&gt;&lt;P&gt;For example, next 2nd tuesday is the 14th on February.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's in advance&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 13:17:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-second-tuesday-of-the-next-Month-from-today/m-p/3019327#M102660</guid>
      <dc:creator>Neandril</dc:creator>
      <dc:date>2023-01-13T13:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get the second tuesday of the next Month from today</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-second-tuesday-of-the-next-Month-from-today/m-p/3019370#M102664</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="446034" data-lia-user-login="Neandril" class="lia-mention lia-mention-user"&gt;Neandril&lt;/a&gt; , Create a new column or measure as per need &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New =var _nx = EOMONTH(TODAY(),0)+1
return _nx -WEEKDAY(_nx,2) +16&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 13 Jan 2023 13:36:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-second-tuesday-of-the-next-Month-from-today/m-p/3019370#M102664</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-01-13T13:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get the second tuesday of the next Month from today</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-second-tuesday-of-the-next-Month-from-today/m-p/3019421#M102671</link>
      <description>&lt;P&gt;Thank's for this.&lt;/P&gt;&lt;P&gt;However, it "partially" works. On some months, it returns incorrect values (I created a calendar table for test purpose). Last November, it should be the 8th, but this formula returns the 15th.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 14:00:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-second-tuesday-of-the-next-Month-from-today/m-p/3019421#M102671</guid>
      <dc:creator>Neandril</dc:creator>
      <dc:date>2023-01-13T14:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get the second tuesday of the next Month from today</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-second-tuesday-of-the-next-Month-from-today/m-p/3022288#M102894</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="446034" data-lia-user-login="Neandril" class="lia-mention lia-mention-user"&gt;Neandril&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here I suggest you to try this code to create a calculated column or a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New =
VAR _NextMonthFirstDay =
    EOMONTH ( TODAY (), 0 ) + 1
VAR _WeekdayOfFirstDay =
    WEEKDAY ( _NextMonthFirstDay, 2 )
RETURN
    IF (
        _WeekdayOfFirstDay &amp;gt; 2,
        _NextMonthFirstDay - _WeekdayOfFirstDay + 16,
        _NextMonthFirstDay - _WeekdayOfFirstDay + 9
    )&lt;/LI-CODE&gt;
&lt;P&gt;Here I have a test on a Date table, it works.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 06:03:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-second-tuesday-of-the-next-Month-from-today/m-p/3022288#M102894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-16T06:03:39Z</dc:date>
    </item>
  </channel>
</rss>

