<?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: First day of month in a date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-day-of-month-in-a-date/m-p/2483051#M68054</link>
    <description>&lt;P&gt;Hello! Thank you for quick respond. What "[Measure]" means exactly ?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 11:21:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-28T11:21:19Z</dc:date>
    <item>
      <title>First day of month in a date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-day-of-month-in-a-date/m-p/2482670#M68029</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to find an earlierst date in a date column but groupped&amp;nbsp; by year and month? Is there any simple formula for this?&amp;nbsp;&lt;BR /&gt;Example below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;* Left table is a final one. On a right side you can find a source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is to create a matrix so I think, first step would be to create a "Y axis" measure and then "Values" measure taking into account date must be the same as Y axis ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be grateful for help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 09:12:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-day-of-month-in-a-date/m-p/2482670#M68029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-28T09:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: First day of month in a date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-day-of-month-in-a-date/m-p/2482937#M68044</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calculate(firstnonblankvalue('Date'[Date], [Measure]), filter(allselected('Date'), 'Date'[Month Year] = max( 'Date'[Month Year]) ) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 10:36:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-day-of-month-in-a-date/m-p/2482937#M68044</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-04-28T10:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: First day of month in a date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-day-of-month-in-a-date/m-p/2483051#M68054</link>
      <description>&lt;P&gt;Hello! Thank you for quick respond. What "[Measure]" means exactly ?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 11:21:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-day-of-month-in-a-date/m-p/2483051#M68054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-28T11:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: First day of month in a date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-day-of-month-in-a-date/m-p/2490414#M68549</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;Maybe you can try this method.&lt;/P&gt;
&lt;P&gt;1 create a measure.&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Measure = &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MIN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[Year Month]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Year Month]&lt;/SPAN&gt;&lt;SPAN&gt;))) =&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;2 put this measure in fiilter pane and set it show items is 1.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;
&lt;P&gt;Pbix in the end you can refer.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&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;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 May 2022 08:35:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-day-of-month-in-a-date/m-p/2490414#M68549</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-05-03T08:35:23Z</dc:date>
    </item>
  </channel>
</rss>

