<?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: Take the max value of a summarize column by ID in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-the-max-value-of-a-summarize-column-by-ID/m-p/2015850#M44846</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column =
  VAR __WorkerID = [worker id]
  VAR __Week = [week]
  VAR __Max = MAXX(FILTER('Table',[worker id] = __WorkerID &amp;amp;&amp;amp; [week] = __Week),[Cumulative hours for week])
RETURN
  IF([Cumulative hours for week] = __Max,__Max - 40, BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2021 18:03:37 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2021-08-13T18:03:37Z</dc:date>
    <item>
      <title>Take the max value of a summarize column by ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-the-max-value-of-a-summarize-column-by-ID/m-p/2015663#M44838</link>
      <description>&lt;P&gt;hi, have a little issue with a formula im trying of get the max value of a summarize column is for propourses of OT but the formula is taking all values over 40 instead just the max value how i can fix it here mi example table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 15:38:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-the-max-value-of-a-summarize-column-by-ID/m-p/2015663#M44838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-13T15:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Take the max value of a summarize column by ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-the-max-value-of-a-summarize-column-by-ID/m-p/2015668#M44839</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Use MAXX to get the max of all the values and then use that to compare with the current value.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 15:42:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-the-max-value-of-a-summarize-column-by-ID/m-p/2015668#M44839</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2021-08-13T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Take the max value of a summarize column by ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-the-max-value-of-a-summarize-column-by-ID/m-p/2015719#M44840</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;&amp;nbsp;how i can do that the maxx need a expresion wich is not resulting in what i want because i want whe max of my cumulative by the worker id by the week i need to apply the filter first&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;this formula is giving me the correct number but is takin all values over 40 i just want the max value over 40&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 16:16:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-the-max-value-of-a-summarize-column-by-ID/m-p/2015719#M44840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-13T16:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Take the max value of a summarize column by ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-the-max-value-of-a-summarize-column-by-ID/m-p/2015850#M44846</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column =
  VAR __WorkerID = [worker id]
  VAR __Week = [week]
  VAR __Max = MAXX(FILTER('Table',[worker id] = __WorkerID &amp;amp;&amp;amp; [week] = __Week),[Cumulative hours for week])
RETURN
  IF([Cumulative hours for week] = __Max,__Max - 40, BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 18:03:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-the-max-value-of-a-summarize-column-by-ID/m-p/2015850#M44846</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2021-08-13T18:03:37Z</dc:date>
    </item>
  </channel>
</rss>

