<?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 Getting Values by MAXIMUM Alphabatic Letter for Distinct Records in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2610956#M75729</link>
    <description>&lt;P&gt;Hi All,&lt;BR /&gt;Good day..!&lt;BR /&gt;May I ask how can I get the values for "For Resubmit" Column by below conditions&lt;BR /&gt;&lt;BR /&gt;My Data Table as below&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;&lt;P&gt;&lt;BR /&gt;1. Consider only Latest Revision (Lastest Alphbatical Letter) for each RFA No.&lt;BR /&gt;2. If Engineer Response of those records are "Data Incomplete" or "Rejected" then need to count as 1 in "For Resubmit" Column&lt;BR /&gt;&lt;BR /&gt;As per above table I can get values for these records only&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Noted:&lt;BR /&gt;I have used below DAX Function to get Maximum Revision number&lt;BR /&gt;= UNICHAR(MAXX(DISTINCT('RFA'[Rfa No]),MAX(UNICODE('RFA'[Revision])))&lt;BR /&gt;I need to find how can I apply Specific Values in "Engineer response" column to find "Resubmit" Values&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;BR /&gt;&lt;BR /&gt;Rifdhy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 05:23:50 GMT</pubDate>
    <dc:creator>rifdhyh</dc:creator>
    <dc:date>2022-06-30T05:23:50Z</dc:date>
    <item>
      <title>Getting Values by MAXIMUM Alphabatic Letter for Distinct Records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2610956#M75729</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;Good day..!&lt;BR /&gt;May I ask how can I get the values for "For Resubmit" Column by below conditions&lt;BR /&gt;&lt;BR /&gt;My Data Table as below&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;&lt;P&gt;&lt;BR /&gt;1. Consider only Latest Revision (Lastest Alphbatical Letter) for each RFA No.&lt;BR /&gt;2. If Engineer Response of those records are "Data Incomplete" or "Rejected" then need to count as 1 in "For Resubmit" Column&lt;BR /&gt;&lt;BR /&gt;As per above table I can get values for these records only&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Noted:&lt;BR /&gt;I have used below DAX Function to get Maximum Revision number&lt;BR /&gt;= UNICHAR(MAXX(DISTINCT('RFA'[Rfa No]),MAX(UNICODE('RFA'[Revision])))&lt;BR /&gt;I need to find how can I apply Specific Values in "Engineer response" column to find "Resubmit" Values&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;BR /&gt;&lt;BR /&gt;Rifdhy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 05:23:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2610956#M75729</guid>
      <dc:creator>rifdhyh</dc:creator>
      <dc:date>2022-06-30T05:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Values by MAXIMUM Alphabatic Letter for Distinct Records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2611115#M75738</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="284442" data-lia-user-login="rifdhyh" class="lia-mention lia-mention-user"&gt;rifdhyh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't fully understand the rest of the conditions (I believe you can handle this part) however, for the last revision you can use&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Maximum Revision number =
MAXX (
    CALCULATETABLE ( 'RFA', ALLEXCEPT ( 'RFA', 'RFA'[Rfa No] ) ),
    'RFA'[Revision]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 06:34:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2611115#M75738</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-30T06:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Values by MAXIMUM Alphabatic Letter for Distinct Records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2611341#M75757</link>
      <description>&lt;P&gt;Hi dear ,&lt;BR /&gt;Thanks for your comment,&lt;BR /&gt;Simply I need to get&lt;BR /&gt;Sum for&amp;nbsp; "For Resubmit" column,&lt;BR /&gt;by fiter latest revision for each RFAs if only Engineer Response is "Data Incomplete" or "Reject"&lt;BR /&gt;&lt;BR /&gt;In above table ony RFA No. "&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;BIA-RFA-AW-TSC-MT-21-0271&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;gives latest revision (A) as requested , so only for this RFA should count 1&lt;BR /&gt;&lt;BR /&gt;I need the DAX code for this, Hope you undestood&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your reply,&lt;BR /&gt;&lt;BR /&gt;Rifdhy&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 07:56:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2611341#M75757</guid>
      <dc:creator>rifdhyh</dc:creator>
      <dc:date>2022-06-30T07:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Values by MAXIMUM Alphabatic Letter for Distinct Records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2611439#M75762</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="284442" data-lia-user-login="rifdhyh" class="lia-mention lia-mention-user"&gt;rifdhyh&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Her eis the sample file with the solution&amp;nbsp;&lt;A href="https://we.tl/t-83VSAA2vug" target="_blank"&gt;https://we.tl/t-83VSAA2vug&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;For Resubmit = 
VAR CurrentRevision =
    RFA[Revision]
VAR CurrentResponse =
    RFA[Engineers Response]
VAR CurrentRFATable = 
    CALCULATETABLE ( RFA, ALLEXCEPT ( RFA, RFA[RFA No] ) )
VAR LatestRevision =
    MAXX ( CurrentRFATable, RFA[Revision] )
RETURN
    IF ( 
        CurrentRevision = LatestRevision 
            &amp;amp;&amp;amp; CurrentResponse IN { "Data Incomplete, please resubmit", "Rejected" },
        1
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 30 Jun 2022 08:31:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2611439#M75762</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-30T08:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Values by MAXIMUM Alphabatic Letter for Distinct Records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2614160#M75888</link>
      <description>&lt;P&gt;Dear &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; ,&lt;BR /&gt;This DAX Worked properly..&lt;BR /&gt;Thanks a lot for you kind response&lt;BR /&gt;May Allah bless you...!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 11:58:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-Values-by-MAXIMUM-Alphabatic-Letter-for-Distinct-Records/m-p/2614160#M75888</guid>
      <dc:creator>rifdhyh</dc:creator>
      <dc:date>2022-07-01T11:58:19Z</dc:date>
    </item>
  </channel>
</rss>

