<?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: Display only first week of month based on week selection in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4643726#M177798</link>
    <description>&lt;P&gt;Hopefully you will be aware that this makes no business sense whatsoever.&amp;nbsp; "First Week of Month" is like nailing pudding to a wall.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. from your selection identify the month&lt;/P&gt;
&lt;P&gt;2. for that month identify the days that fall into the first week&lt;/P&gt;
&lt;P&gt;3. Display the data for that date range.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2025 19:01:21 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2025-04-08T19:01:21Z</dc:date>
    <item>
      <title>Display only first week of month based on week selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4643673#M177797</link>
      <description>&lt;P&gt;Hi experts!&lt;/P&gt;&lt;P&gt;I have a report with a matrix visual and a slicer on top. The slicer contains the week number information.&lt;/P&gt;&lt;P&gt;Now, if I select a specific week I would like only to see the actual information for week 1 of the given month.&lt;/P&gt;&lt;P&gt;For instance&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If I select week 3, then I want only to see the week 1 from January&lt;/LI&gt;&lt;LI&gt;If I select 14, then I want only to see first week of April&lt;/LI&gt;&lt;LI&gt;etc&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;How is that possible?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 18:15:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4643673#M177797</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2025-04-08T18:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display only first week of month based on week selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4643726#M177798</link>
      <description>&lt;P&gt;Hopefully you will be aware that this makes no business sense whatsoever.&amp;nbsp; "First Week of Month" is like nailing pudding to a wall.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. from your selection identify the month&lt;/P&gt;
&lt;P&gt;2. for that month identify the days that fall into the first week&lt;/P&gt;
&lt;P&gt;3. Display the data for that date range.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 19:01:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4643726#M177798</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-04-08T19:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Display only first week of month based on week selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4643939#M177808</link>
      <description>&lt;P&gt;I would approach it this way, assuming you have a date table connected to your fact table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Add a column for Week of the Year and Week of the Month to you date or calendar table&lt;/P&gt;&lt;P&gt;m in power query:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  #"Added WeekNumOfYear" = Table.AddColumn(#"PreviousStep", "WeekNumOfYear", each Date.WeekOfYear([Date]), type text),
  #"Added WeekNumOfMonth" = Table.AddColumn(#"Added WeekNumOfYear", "WeekNumOfMonth",  each Date.WeekOfYear([Date]), type text),
#"Added WeekNumOfYearMonth" = Table.AddColumn( #"Added WeekNumOfMonth", "WeekNumOfYearMonth",  each [WeekNumOfYear] &amp;amp; "-" &amp;amp; [WeekNumOfMonth] )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Create a calculated table with Dax that would contain the mapping from Year's week number to the first week of the month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;WeekTable2025 = 
ADDCOLUMNS(
    DISTINCT(
        SELECTCOLUMNS(
            FILTER(
                'Date',
                YEAR('Date'[Date]) = 2025
            ),
            "WeekNum", WEEKNUM('Date'[Date], 2)  -- 2 = Monday as first day
        )
    ),
    "WeekNum-1", FORMAT([WeekNum], "0") &amp;amp; "-1"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Create relationship between the WeekTable2025 [WeekNum-1] &amp;nbsp;and your Date Table [WeekNumofYearMonth]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Add the&amp;nbsp;WeekTable2025 [WeekNum] field to your slicer.&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;Hope that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jewel&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 22:10:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4643939#M177808</guid>
      <dc:creator>jewel_at</dc:creator>
      <dc:date>2025-04-08T22:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Display only first week of month based on week selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4651392#M178044</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;Chaithra E.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 11:53:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4651392#M178044</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-04-14T11:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Display only first week of month based on week selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4662683#M178553</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Hi, As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;Chaithra E.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 09:17:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4662683#M178553</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-04-22T09:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Display only first week of month based on week selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4673950#M179005</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;Chaithra E.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 06:18:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-first-week-of-month-based-on-week-selection/m-p/4673950#M179005</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-04-30T06:18:43Z</dc:date>
    </item>
  </channel>
</rss>

