<?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: Struggling with a Group By and Max Calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Struggling-with-a-Group-By-and-Max-Calculation/m-p/3060292#M105712</link>
    <description>&lt;P&gt;This did it - thanks again&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;- you're a rockstar&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 12:48:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-02-03T12:48:34Z</dc:date>
    <item>
      <title>Struggling with a Group By and Max Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Struggling-with-a-Group-By-and-Max-Calculation/m-p/3059502#M105646</link>
      <description>&lt;P&gt;I feel like I'm missing something obvious.&lt;/P&gt;&lt;P&gt;I'd like to retrieve the "ISSUE_KEY" field where the "Business Signoff" field matches the person identified in the "CURRENT_ASSIGNEE_NAME" field, shown below as "Desired result":&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Here's my current DAX for this calculated column:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Business Signoff v3 =
IF(
    NOT(ISBLANK(Issues[Business Signoff])),
CALCULATE(
    MAX(Issues[ISSUE_KEY]),
    FILTER(Issues,
    Issues[PROJECT_KEY] = "CHM"
    &amp;amp;&amp;amp; Issues[FixVersion] = EARLIER(Issues[FixVersion])
))
)&lt;/LI-CODE&gt;&lt;P&gt;As you can see, this is all happening within a single table. But I'm struggling to get the grouping right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried adding Issues[Business Signoff] = EARLIER(Issues[Business Signoff]) and same with CURRENT_ASSIGNEE_NAME, but was unsuccessful on both fronts.&lt;/P&gt;&lt;P&gt;Could just be that it's late and I've been staring at this for hours. But if someone's able to call this one out, it'd be hugely helpful. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 04:15:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Struggling-with-a-Group-By-and-Max-Calculation/m-p/3059502#M105646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-03T04:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with a Group By and Max Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Struggling-with-a-Group-By-and-Max-Calculation/m-p/3059535#M105647</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Business Signoff v3 =
VAR BusinessSignoff = Issues[Business Signoff]
VAR CurrentVerionTable =
    CALCULATETABLE ( Issues, ALLEXCEPT ( Issues, Issues[FixVersion] ) )
VAR FilteredTable =
    FILTER (
        CurrentVerionTable,
        Issues[PROJECT_KEY] = "CHM"
            &amp;amp;&amp;amp; Issues[CURRENT_ASSIGNEE_NAME] = BusinessSignoff
    )
RETURN
    IF (
        NOT ISBLANK ( Issues[Business Signoff] ),
        MAXX ( FilteredTable, Issues[ISSUE_KEY] )
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 03 Feb 2023 05:09:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Struggling-with-a-Group-By-and-Max-Calculation/m-p/3059535#M105647</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-03T05:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with a Group By and Max Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Struggling-with-a-Group-By-and-Max-Calculation/m-p/3060292#M105712</link>
      <description>&lt;P&gt;This did it - thanks again&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;- you're a rockstar&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 12:48:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Struggling-with-a-Group-By-and-Max-Calculation/m-p/3060292#M105712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-03T12:48:34Z</dc:date>
    </item>
  </channel>
</rss>

