<?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: Сalculate the number of days in a week for the last month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/%D0%A1alculate-the-number-of-days-in-a-week-for-the-last-month/m-p/3444640#M131002</link>
    <description>&lt;P&gt;Hi, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="615042" data-lia-user-login="ChiragGarg2512" class="lia-mention lia-mention-user"&gt;ChiragGarg2512&lt;/a&gt;&amp;nbsp;&amp;nbsp;This is how it works if there is no date slicer, I incorrectly indicated the essence of the calculation, my task is to show the number of days of the week when choosing the minimum and maximum date in the slicer,&amp;nbsp;the measure should show the number of the past month.&lt;BR /&gt;I managed to write such an event, but for some reason it does not work&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 24 Sep 2023 09:42:36 GMT</pubDate>
    <dc:creator>DimaMD</dc:creator>
    <dc:date>2023-09-24T09:42:36Z</dc:date>
    <item>
      <title>Сalculate the number of days in a week for the last month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/%D0%A1alculate-the-number-of-days-in-a-week-for-the-last-month/m-p/3442990#M130838</link>
      <description>&lt;P&gt;Hello Community&lt;BR /&gt;My task is the following, I have the current month of September, I need to count the number of days of the week (Mondays, Tuesdays, Wednesdays, Thursdays, etc.)&lt;BR /&gt;My calculation measure for the current month is :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DaysInWeek = 
    CALCULATE(
    COUNTROWS('Dates'), 
    'Dates'[Number_month] = MONTH(TODAY()))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I am interested in what will be the measure for calculating these days for the previous month&lt;BR /&gt;When I add -1 to MONTH(TODAY()) -1 it doesn't give me the desired result.&lt;BR /&gt;Help to understand how to calculate it.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 12:20:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/%D0%A1alculate-the-number-of-days-in-a-week-for-the-last-month/m-p/3442990#M130838</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2023-09-22T12:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Сalculate the number of days in a week for the last month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/%D0%A1alculate-the-number-of-days-in-a-week-for-the-last-month/m-p/3443317#M130859</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;, I am unable to understand the issue.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I downloaded the file attachment and the dax was working correctly and giving the number of days in Month(Today()) - 1, i.e., August.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 14:41:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/%D0%A1alculate-the-number-of-days-in-a-week-for-the-last-month/m-p/3443317#M130859</guid>
      <dc:creator>ChiragGarg2512</dc:creator>
      <dc:date>2023-09-22T14:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Сalculate the number of days in a week for the last month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/%D0%A1alculate-the-number-of-days-in-a-week-for-the-last-month/m-p/3444640#M131002</link>
      <description>&lt;P&gt;Hi, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="615042" data-lia-user-login="ChiragGarg2512" class="lia-mention lia-mention-user"&gt;ChiragGarg2512&lt;/a&gt;&amp;nbsp;&amp;nbsp;This is how it works if there is no date slicer, I incorrectly indicated the essence of the calculation, my task is to show the number of days of the week when choosing the minimum and maximum date in the slicer,&amp;nbsp;the measure should show the number of the past month.&lt;BR /&gt;I managed to write such an event, but for some reason it does not work&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2023 09:42:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/%D0%A1alculate-the-number-of-days-in-a-week-for-the-last-month/m-p/3444640#M131002</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2023-09-24T09:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Сalculate the number of days in a week for the last month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/%D0%A1alculate-the-number-of-days-in-a-week-for-the-last-month/m-p/3444677#M131005</link>
      <description>&lt;P&gt;I managed to write a measure that gives me my desired result.&amp;nbsp;I am attaching the file for further reference&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2023 11:08:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/%D0%A1alculate-the-number-of-days-in-a-week-for-the-last-month/m-p/3444677#M131005</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2023-09-24T11:08:31Z</dc:date>
    </item>
  </channel>
</rss>

