<?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 Help - Look up latest value from another tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help-Look-up-latest-value-from-another-tables/m-p/3461499#M132037</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="626949" data-lia-user-login="alexgoh" class="lia-mention lia-mention-user"&gt;alexgoh&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;To get the latest comment you may try (calculated column in TableA)&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Latest Comment =
MAXX (
    TOPN ( 1, FILTER ( TableB, TableB[ID] = TableA[ID] ), TableB[Date] ),
    TableB[Comment]
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;To get the correct % try using CALCULATE - ALL ( 'Tab;e'[Mutual Consensus] ) at the denominator&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 11:01:53 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-10-05T11:01:53Z</dc:date>
    <item>
      <title>DAX Help - Look up latest value from another tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help-Look-up-latest-value-from-another-tables/m-p/3461453#M132033</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have two problem and would like to seek for expert help on what dax should I used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;when I try to look up the latest value from one tables to anothers. Illustration as below:&amp;nbsp;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;I have two tables, Table A store all the ID (which is unique field) and Table B store all the comment/value with ID and date.&lt;BR /&gt;I wanted to lookup / link the value to show only latest comment. Have tried to use lookup dax but it got error whereby multiple value returned ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Question: Any dax i can use to achieve above ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;I have a chart on to show the count of item in my dataset by date.&amp;nbsp;&lt;BR /&gt;However, I would like to show in %, please refer to pic 2.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Picture 1&amp;nbsp;&lt;BR /&gt;&lt;img /&gt;&lt;P&gt;&lt;BR /&gt;Picture 2&amp;nbsp;&lt;BR /&gt;However, the % of grant total seem off. What I want to achive is % / Total by each date.&lt;BR /&gt;Each date, the % should be 100%.&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&lt;BR /&gt;Question: Any dax/chart I can use to achive to show the % over each date ?&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 10:32:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help-Look-up-latest-value-from-another-tables/m-p/3461453#M132033</guid>
      <dc:creator>alexgoh</dc:creator>
      <dc:date>2023-10-05T10:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Help - Look up latest value from another tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help-Look-up-latest-value-from-another-tables/m-p/3461497#M132036</link>
      <description>&lt;P&gt;Hi, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="626949" data-lia-user-login="alexgoh" class="lia-mention lia-mention-user"&gt;alexgoh&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try with treats function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create measure&lt;/P&gt;&lt;P&gt;Comment= calculate ('tableb'[comment], treats ('tablea'[Id], 'tableb'[I'd]&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 11:01:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help-Look-up-latest-value-from-another-tables/m-p/3461497#M132036</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2023-10-05T11:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Help - Look up latest value from another tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help-Look-up-latest-value-from-another-tables/m-p/3461499#M132037</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="626949" data-lia-user-login="alexgoh" class="lia-mention lia-mention-user"&gt;alexgoh&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;To get the latest comment you may try (calculated column in TableA)&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Latest Comment =
MAXX (
    TOPN ( 1, FILTER ( TableB, TableB[ID] = TableA[ID] ), TableB[Date] ),
    TableB[Comment]
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;To get the correct % try using CALCULATE - ALL ( 'Tab;e'[Mutual Consensus] ) at the denominator&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 11:01:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help-Look-up-latest-value-from-another-tables/m-p/3461499#M132037</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-10-05T11:01:53Z</dc:date>
    </item>
  </channel>
</rss>

