<?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: Dax Table Summarize using Lookup in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3813063#M149131</link>
    <description>&lt;P&gt;Hi, Thanks so much for your reply, I was trying to understand summarize and add columns better as I was half-way there but will look at understanding what you did here next week. Thanks again&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2024 09:31:18 GMT</pubDate>
    <dc:creator>NMOORE</dc:creator>
    <dc:date>2024-04-05T09:31:18Z</dc:date>
    <item>
      <title>Dax Table Summarize using Lookup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3812008#M149082</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to summarize a table keeping the corresponding values/Dates from a neighbouring column after an expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the example shows I'm hoping to summarize the animals, calculate the earlisest (min) Analysis Date, and keep it's neighbouring FInalise Date.&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;Appreciate any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 21:27:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3812008#M149082</guid>
      <dc:creator>NMOORE</dc:creator>
      <dc:date>2024-04-04T21:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Table Summarize using Lookup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3812034#M149085</link>
      <description>&lt;LI-CODE lang="csharp"&gt;IDEAL_Backtest_Details = 
ADDCOLUMNS( 
    SUMMARIZE(Backtest_Details, 
              Backtest_Details[Animals], 
              "Analysis Date",  min(Backtest_Details[Analysis Date])
    )

    , "Final Date", 
            LOOKUPVALUE(Backtest_Details[Final Date], 
                  Backtest_Details[Animals], [Animals],
                  Backtest_Details[Analysis Date],  [Analysis Date])
 )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;something like this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IP:&amp;nbsp;Backtest_Details&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OP:&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>Thu, 04 Apr 2024 21:58:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3812034#M149085</guid>
      <dc:creator>sevenhills</dc:creator>
      <dc:date>2024-04-04T21:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Table Summarize using Lookup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3812059#M149088</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="470203" data-lia-user-login="NMOORE" class="lia-mention lia-mention-user"&gt;NMOORE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you're looking for a calculated table solution, you may try&lt;/P&gt;
&lt;P&gt;NewTable =&lt;BR /&gt;GENERATE (&lt;BR /&gt;VALUES ( 'Table'[Animals] ),&lt;BR /&gt;CALCULATETABLE (&lt;BR /&gt;TOPN (&lt;BR /&gt;1,&lt;BR /&gt;SELECTCOLUMNS (&lt;BR /&gt;'Table',&lt;BR /&gt;"Analysis Date", 'Table'[Analysis Date],&lt;BR /&gt;"Finalise Date", 'Table'[Finalise Date]&lt;BR /&gt;),&lt;BR /&gt;'Table'[Analysis Date], ASC&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 22:12:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3812059#M149088</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2024-04-04T22:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Table Summarize using Lookup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3812079#M149094</link>
      <description>&lt;P&gt;No DAX needs to be harmed for this,&amp;nbsp; You can do this entirely in Power Query.&amp;nbsp; Sort by Analysis Date ascending and then deduplicate by Animals.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 22:35:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3812079#M149094</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-04T22:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Table Summarize using Lookup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3812608#M149112</link>
      <description>&lt;P&gt;Yes, easy in Power Query, already accomplished. The question was for DAX&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 05:51:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3812608#M149112</guid>
      <dc:creator>NMOORE</dc:creator>
      <dc:date>2024-04-05T05:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Table Summarize using Lookup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3813063#M149131</link>
      <description>&lt;P&gt;Hi, Thanks so much for your reply, I was trying to understand summarize and add columns better as I was half-way there but will look at understanding what you did here next week. Thanks again&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 09:31:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3813063#M149131</guid>
      <dc:creator>NMOORE</dc:creator>
      <dc:date>2024-04-05T09:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Table Summarize using Lookup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3813065#M149132</link>
      <description>&lt;P&gt;Thanks alot for this, I was playing around with it for a while trying to do exactly this but just couldnt get there. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 09:32:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3813065#M149132</guid>
      <dc:creator>NMOORE</dc:creator>
      <dc:date>2024-04-05T09:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Table Summarize using Lookup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3814085#M149170</link>
      <description>&lt;P&gt;Please mark my reply as solution if you like it and also helps for the folks in future those who refer this thread.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 16:09:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Table-Summarize-using-Lookup/m-p/3814085#M149170</guid>
      <dc:creator>sevenhills</dc:creator>
      <dc:date>2024-04-05T16:09:13Z</dc:date>
    </item>
  </channel>
</rss>

