<?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: Power Query - Getting value from matrix in another table in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/Power-Query-Getting-value-from-matrix-in-another-table/m-p/3344967#M108398</link>
    <description>&lt;P&gt;Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Jul 2023 22:13:24 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-07-22T22:13:24Z</dc:date>
    <item>
      <title>Power Query - Getting value from matrix in another table</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Power-Query-Getting-value-from-matrix-in-another-table/m-p/3344805#M108386</link>
      <description>&lt;P&gt;I'm looking for some help please with this scenario which is too complex for me to resolve with my power query knowledge (in excel I would use Index/Match formula to achive it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table1 I have 2 columns:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Date of which record was created&lt;/LI&gt;&lt;LI&gt;Country&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Table2 I have the below matrix:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First Column -&amp;gt; Date of which record was created&lt;/LI&gt;&lt;LI&gt;Column Header -&amp;gt; all the possible countries&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a function that will allow me to get into Table1 a new column containing the value corrisponding to the Date/Country match?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Example:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;if&amp;nbsp;Date of which record was created = 24/07/2023 &amp;amp; Country = Lu - Luxemburg -&amp;gt; FW23 soft launch&lt;BR /&gt;if&amp;nbsp;Date of which record was created = 24/07/2023 &amp;amp; Country = Be - Belgium-&amp;gt; SS23 W3&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2023 14:46:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Power-Query-Getting-value-from-matrix-in-another-table/m-p/3344805#M108386</guid>
      <dc:creator>Alice2222</dc:creator>
      <dc:date>2023-07-22T14:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Power Query - Getting value from matrix in another table</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Power-Query-Getting-value-from-matrix-in-another-table/m-p/3344967#M108398</link>
      <description>&lt;P&gt;Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2023 22:13:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Power-Query-Getting-value-from-matrix-in-another-table/m-p/3344967#M108398</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-07-22T22:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Power Query - Getting value from matrix in another table</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Power-Query-Getting-value-from-matrix-in-another-table/m-p/3348167#M108519</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="592872" data-lia-user-login="Alice2222" class="lia-mention lia-mention-user"&gt;Alice2222&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;According to your description, here's my solution.&lt;/P&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Table(2):&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;1.Add a custom column in Table:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let a=[Country Key] in
Table.SelectColumns(Table.SelectRows(#"Table (2)",(x)=&amp;gt;x[Date of Which Record Was Created]=[Date of Which Record Was Created]),{a})&lt;/LI-CODE&gt;
&lt;P&gt;2.Expand the new added column.&lt;/P&gt;
&lt;P&gt;3.Add another custom column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;List.Max({[#"Custom.FR-France"],[#"Custom.DE-Germany"],[#"Custom.BE-Belglum"]})&lt;/LI-CODE&gt;
&lt;P&gt;4.Remove other unneeded columns, get the correct result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I attach my sample below for your reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Community Support Team_yanjiang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 07:29:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Power-Query-Getting-value-from-matrix-in-another-table/m-p/3348167#M108519</guid>
      <dc:creator>v-yanjiang-msft</dc:creator>
      <dc:date>2023-07-25T07:29:13Z</dc:date>
    </item>
  </channel>
</rss>

