<?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 MAX DAY PER MONTH WITH A CONDITIONAL in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-DAY-PER-MONTH-WITH-A-CONDITIONAL/m-p/3187646#M115470</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for read me, i have a trouble, i need a add a column, that shows the max of the workday (column b) by month, but also have t condition working (columE).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&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;</description>
    <pubDate>Fri, 14 Apr 2023 04:29:17 GMT</pubDate>
    <dc:creator>CESARPULIDOGDL</dc:creator>
    <dc:date>2023-04-14T04:29:17Z</dc:date>
    <item>
      <title>MAX DAY PER MONTH WITH A CONDITIONAL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-DAY-PER-MONTH-WITH-A-CONDITIONAL/m-p/3187646#M115470</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for read me, i have a trouble, i need a add a column, that shows the max of the workday (column b) by month, but also have t condition working (columE).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&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;</description>
      <pubDate>Fri, 14 Apr 2023 04:29:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-DAY-PER-MONTH-WITH-A-CONDITIONAL/m-p/3187646#M115470</guid>
      <dc:creator>CESARPULIDOGDL</dc:creator>
      <dc:date>2023-04-14T04:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: MAX DAY PER MONTH WITH A CONDITIONAL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-DAY-PER-MONTH-WITH-A-CONDITIONAL/m-p/3187753#M115479</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="247498" data-lia-user-login="CESARPULIDOGDL" class="lia-mention lia-mention-user"&gt;CESARPULIDOGDL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Column = 
MAXX(
    FILTER(
        TableName,
        FORMAT(TableName[Fecha], "yyyymm")=FORMAT(EARLIER(TableName[Fecha]), "yyyymm")
        &amp;amp;&amp;amp;TableName[IsWorkingday]="working"
    ),
    DAY(TableName[Fecha])
)

or

Column2 = 
MAXX(
    FILTER(
        TableName,
        EOMONTH(TableName[Fecha],0)=EOMONTH(EARLIER(TableName[Fecha]),0)
        &amp;amp;&amp;amp;TableName[IsWorkingday]="working"
    ),
    DAY(TableName[Fecha])
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;it makes more sense to do with a measure.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 10:40:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-DAY-PER-MONTH-WITH-A-CONDITIONAL/m-p/3187753#M115479</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-04-14T10:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: MAX DAY PER MONTH WITH A CONDITIONAL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-DAY-PER-MONTH-WITH-A-CONDITIONAL/m-p/3192363#M115812</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp; thank you, its works..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 22:58:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-DAY-PER-MONTH-WITH-A-CONDITIONAL/m-p/3192363#M115812</guid>
      <dc:creator>CESARPULIDOGDL</dc:creator>
      <dc:date>2023-04-17T22:58:31Z</dc:date>
    </item>
  </channel>
</rss>

