<?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 number of the week in the month, starting on Thursday in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1615078#M32510</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a DCalendar table with a field to identify the day of the week in the month.&lt;BR /&gt;I need her to start counting the week from Thursday.&lt;/P&gt;&lt;P&gt;Example S1 from December 2020 (days 1, 2 and 3) - S2 (from 4 to 10) and so on!&lt;/P&gt;&lt;P&gt;Can anyone help me do the DAX for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 20:03:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-01-21T20:03:29Z</dc:date>
    <item>
      <title>number of the week in the month, starting on Thursday</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1615078#M32510</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a DCalendar table with a field to identify the day of the week in the month.&lt;BR /&gt;I need her to start counting the week from Thursday.&lt;/P&gt;&lt;P&gt;Example S1 from December 2020 (days 1, 2 and 3) - S2 (from 4 to 10) and so on!&lt;/P&gt;&lt;P&gt;Can anyone help me do the DAX for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 20:03:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1615078#M32510</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T20:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: number of the week in the month, starting on Thursday</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1615466#M32542</link>
      <description>&lt;P&gt;hey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;you could add a new column with some nested ifs,&amp;nbsp;&lt;/P&gt;&lt;P&gt;new column = if(weekday(date) = 5, "S2",if(weekday(date) = 6,"S2",... and so on&lt;/P&gt;&lt;P&gt;number 5 of the week its thursday&lt;/P&gt;&lt;P&gt;if this helped or resolve your problem give some kudos and mark as solutions for others to find.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 01:19:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1615466#M32542</guid>
      <dc:creator>StefanoGrimaldi</dc:creator>
      <dc:date>2021-01-22T01:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: number of the week in the month, starting on Thursday</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1615609#M32551</link>
      <description>&lt;P&gt;hello StefanoGrimaldi&lt;/P&gt;&lt;P&gt;Thanks for the feedback, but I didn't understand how to apply it.&lt;BR /&gt;Can you set up an example?&lt;/P&gt;&lt;P&gt;if you put S2 for every number 5 every Thursday will be S2 and that's not what I need.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 03:05:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1615609#M32551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-22T03:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: number of the week in the month, starting on Thursday</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1616104#M32568</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe from your screenshot you want you week to start on Friday (04/12/2020).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Two different options:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Power Query Editor --&amp;gt; Date.WeekOfMonth&lt;/P&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;
&lt;P&gt;&amp;nbsp;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Calculated column in DAX:&lt;/P&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 07:46:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1616104#M32568</guid>
      <dc:creator>Payeras_BI</dc:creator>
      <dc:date>2021-01-22T07:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: number of the week in the month, starting on Thursday</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1616915#M32585</link>
      <description>&lt;P&gt;Dear Payeras_BI&lt;/P&gt;&lt;P&gt;Thank you for your feedback and time in doing the example.&lt;/P&gt;&lt;P&gt;It was just what I needed.&lt;/P&gt;&lt;P&gt;I'm new to powerquery and DAX, I did a lot of research before posting on the forum and was not getting it.&lt;BR /&gt;I will study the commands that you put.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 13:38:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/number-of-the-week-in-the-month-starting-on-Thursday/m-p/1616915#M32585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-22T13:38:25Z</dc:date>
    </item>
  </channel>
</rss>

