<?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: Get latest data from another table one to many in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-latest-data-from-another-table-one-to-many/m-p/2769379#M86135</link>
    <description>&lt;P&gt;Try to make a New Column using the following measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Column = CALCULATE(MAX('Table1'[Value]),FILTER('Table1','Table1'[Index]='Table2'[Column1]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 07:22:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-15T07:22:52Z</dc:date>
    <item>
      <title>Get latest data from another table one to many</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-latest-data-from-another-table-one-to-many/m-p/2769321#M86128</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My data looks like below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is one table. I have another table with relationship between index&amp;nbsp; and index (one to many). I want to&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Index&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;140&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;How to get this Value column? It have to be calculated as calculated column due to filtering this data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 07:02:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-latest-data-from-another-table-one-to-many/m-p/2769321#M86128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-15T07:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get latest data from another table one to many</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-latest-data-from-another-table-one-to-many/m-p/2769379#M86135</link>
      <description>&lt;P&gt;Try to make a New Column using the following measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Column = CALCULATE(MAX('Table1'[Value]),FILTER('Table1','Table1'[Index]='Table2'[Column1]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 07:22:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-latest-data-from-another-table-one-to-many/m-p/2769379#M86135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-15T07:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get latest data from another table one to many</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-latest-data-from-another-table-one-to-many/m-p/2772865#M86389</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Value =
MAXX(FILTER(ALL(Table1),
'Table1'[Index]='Table2'[Index]&amp;amp;&amp;amp;
'Table1'[Date]=MAXX(FILTER(ALL(Table1),'Table1'[Index]=EARLIER('Table1'[Index])),[Date])
),[Value])&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:50:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-latest-data-from-another-table-one-to-many/m-p/2772865#M86389</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-16T08:50:29Z</dc:date>
    </item>
  </channel>
</rss>

