<?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: Based on two column filter conditions , need calculated column DAX expression in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-two-column-filter-conditions-need-calculated-column-DAX/m-p/2540935#M71557</link>
    <description>&lt;P&gt;&amp;nbsp;Thanks &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;It worked for me. you have given a detailed DAX expression, Thanks once again.&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2022 08:44:28 GMT</pubDate>
    <dc:creator>sharath123</dc:creator>
    <dc:date>2022-05-26T08:44:28Z</dc:date>
    <item>
      <title>Based on two column filter conditions , need calculated column DAX expression</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-two-column-filter-conditions-need-calculated-column-DAX/m-p/2540686#M71551</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Here we have Inspected dates as 26th Apr, 28th Apr, 3rd May, 4th May, 12th May, and 13th May (this is the latest date)&lt;BR /&gt;based on the vehicle number &amp;amp; latest date we need to get the max damage intensity value.&lt;BR /&gt;&lt;BR /&gt;I have written dax expression as (calculated column)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;max value of damage intensity = 
calculate(MAX(''Table1[damageIntensity]),ALLEXCEPT(Table1,Table1[Vehicle Number
]),KEEPFILTERS(LASTDATE(Table1[Inspected Date])))&lt;/LI-CODE&gt;&lt;P&gt;But it is giving a different output&amp;nbsp;&lt;BR /&gt;like for 26th Apr&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and for 28th Apr&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;for each different date, it is giving different max damage intensity values. but I need output as max damage intensity value for the latest date (i.e 13th may)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Irrespective of each date, we need the max damage intensity value on the latest date. i.e value 6.&lt;BR /&gt;please help me to write/update my DAX expression.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 07:07:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-two-column-filter-conditions-need-calculated-column-DAX/m-p/2540686#M71551</guid>
      <dc:creator>sharath123</dc:creator>
      <dc:date>2022-05-26T07:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Based on two column filter conditions , need calculated column DAX expression</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-two-column-filter-conditions-need-calculated-column-DAX/m-p/2540769#M71552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="334273" data-lia-user-login="sharath123" class="lia-mention lia-mention-user"&gt;sharath123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can use&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;max value of damage intensity =
VAR VehicleTable =
    CALCULATETABLE ( Table1, ALLEXCEPT ( Table1, Table1[Vehicle Number] ) )
VAR MaxDate =
    MAXX ( VehicleTable, Table1[Inspected Date] )
RETURN
    MAXX (
        FILTER ( VehicleTable, Table1[Inspected Date] = MaxDate ),
        Table1[damageIntensity]
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 26 May 2022 07:43:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-two-column-filter-conditions-need-calculated-column-DAX/m-p/2540769#M71552</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-26T07:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Based on two column filter conditions , need calculated column DAX expression</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-two-column-filter-conditions-need-calculated-column-DAX/m-p/2540935#M71557</link>
      <description>&lt;P&gt;&amp;nbsp;Thanks &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;It worked for me. you have given a detailed DAX expression, Thanks once again.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 08:44:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Based-on-two-column-filter-conditions-need-calculated-column-DAX/m-p/2540935#M71557</guid>
      <dc:creator>sharath123</dc:creator>
      <dc:date>2022-05-26T08:44:28Z</dc:date>
    </item>
  </channel>
</rss>

