<?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: Weeknum - weeks covering 9 days in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020783#M158630</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="769407" data-lia-user-login="Tajkment" class="lia-mention lia-mention-user"&gt;Tajkment&lt;/a&gt;&amp;nbsp;That would depend on what exactly you are trying to achieve. How is it supposed to work? When does your financial year start and end?&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 14:46:22 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2024-07-02T14:46:22Z</dc:date>
    <item>
      <title>Weeknum - weeks covering 9 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020600#M158618</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have been putting together a custom financial year callendar, i have realised that the Weeknum dax is returning the same week number for the range of 9 days, is there a way to fix it?&lt;BR /&gt;&lt;BR /&gt;Example below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any advice&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 13:44:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020600#M158618</guid>
      <dc:creator>Tajkment</dc:creator>
      <dc:date>2024-07-02T13:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Weeknum - weeks covering 9 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020636#M158621</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="769407" data-lia-user-login="Tajkment" class="lia-mention lia-mention-user"&gt;Tajkment&lt;/a&gt;&amp;nbsp;Don't use EDATE? You are using EDATE with a -6. This means that August 29th through 31st will all return a date of February 29th, which is 6 months back from August. Since February doesn't have a 30th or 31st, those will both return 29th of February or last date in February. So, probably not what you want.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 13:57:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020636#M158621</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-07-02T13:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Weeknum - weeks covering 9 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020662#M158622</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;You are 100% right,&amp;nbsp; that is not what i would like,&lt;BR /&gt;&lt;BR /&gt;any advices what should i use instead?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:04:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020662#M158622</guid>
      <dc:creator>Tajkment</dc:creator>
      <dc:date>2024-07-02T14:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Weeknum - weeks covering 9 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020783#M158630</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="769407" data-lia-user-login="Tajkment" class="lia-mention lia-mention-user"&gt;Tajkment&lt;/a&gt;&amp;nbsp;That would depend on what exactly you are trying to achieve. How is it supposed to work? When does your financial year start and end?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:46:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020783#M158630</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-07-02T14:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Weeknum - weeks covering 9 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020829#M158634</link>
      <description>&lt;P&gt;I am looking to generate an financial year callendar, The financial year runs from July to June, so i would get Financial Year,month, quarter, week, the week is starting on Monday,&lt;BR /&gt;&lt;BR /&gt;The end goal is to use this one as a slicer, so the end users will be able to filter the visualisations by year / quarter / month / week&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 15:09:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4020829#M158634</guid>
      <dc:creator>Tajkment</dc:creator>
      <dc:date>2024-07-02T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Weeknum - weeks covering 9 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4021091#M158645</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="769407" data-lia-user-login="Tajkment" class="lia-mention lia-mention-user"&gt;Tajkment&lt;/a&gt;&amp;nbsp;How about this?&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column 3 = 
    VAR __Date = [Date]
    VAR __StartDate = DATE( 2024, 7, 1 )
    VAR __StartDay = WEEKDAY( __StartDate )
    VAR __Result = COUNTROWS( FILTER( 'Calendar', [Date] &amp;lt;= __Date &amp;amp;&amp;amp; [Date] &amp;gt;= __StartDate &amp;amp;&amp;amp; WEEKDAY([Date]) = __StartDay ) )
RETURN
    __Result&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 02 Jul 2024 17:41:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weeknum-weeks-covering-9-days/m-p/4021091#M158645</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-07-02T17:41:19Z</dc:date>
    </item>
  </channel>
</rss>

