<?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: Non Matching values from another table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-Matching-values-from-another-table/m-p/3645033#M141133</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="399872" data-lia-user-login="Tob_P" class="lia-mention lia-mention-user"&gt;Tob_P&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;/P&gt;
&lt;P&gt;You are using LOOKUPVALUE to return an incorrect value because an Opportunity (tober_opportunityid) in the Bidding Con table may have more than one corresponding value, and the result of the Calculation Column will only show one value, so the Calculation Column doesn't know which value to get at this time. So you can refer to the following solution:&lt;/P&gt;
&lt;P&gt;Based on your description, I created two tables and the relationship between them as follows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;1.Create a calculated column in the Opportunity table and write the following formula.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column =

var _select=

SELECTCOLUMNS(FILTER(ALL('Bidding Con'),'Bidding Con'[Opportunity(tober_opportunityid)]=EARLIER('Opportunity'[opportunrityid])),"column",[Value])

return

IF(

    'Opportunity'[Value] in _select,1,0)&lt;/LI-CODE&gt;
&lt;P&gt;2.The result obtained is shown below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If your Current Period does not refer to this, please clarify in a follow-up reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Clara Gong&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 06:05:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-01-18T06:05:47Z</dc:date>
    <item>
      <title>Non Matching values from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-Matching-values-from-another-table/m-p/3643336#M141067</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is my relationship between 2 tables, linked by an ID. The Opportunity table will hold all of the ID values from the Bidding Con table, but also hold a large number of ID values that are not on the Bidding Con table and I want to create a calculated column that will display as either true/false or a 0/1 or 'Has ID'/'Does Not Have ID', those values NOT in the Bidding Con table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried LOOKUPVALUE but that returns an error...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have tried to merge the tables but then that will only return those records/values that match and I have also tried a variety of RELATED solutions such as =IF(ISBLANK(RELATED(...but this will not work I believe due to the nature of the relationship between the two tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone recommend a potential solution please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 10:37:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-Matching-values-from-another-table/m-p/3643336#M141067</guid>
      <dc:creator>Tob_P</dc:creator>
      <dc:date>2024-01-17T10:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Non Matching values from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-Matching-values-from-another-table/m-p/3645033#M141133</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="399872" data-lia-user-login="Tob_P" class="lia-mention lia-mention-user"&gt;Tob_P&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;/P&gt;
&lt;P&gt;You are using LOOKUPVALUE to return an incorrect value because an Opportunity (tober_opportunityid) in the Bidding Con table may have more than one corresponding value, and the result of the Calculation Column will only show one value, so the Calculation Column doesn't know which value to get at this time. So you can refer to the following solution:&lt;/P&gt;
&lt;P&gt;Based on your description, I created two tables and the relationship between them as follows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;1.Create a calculated column in the Opportunity table and write the following formula.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column =

var _select=

SELECTCOLUMNS(FILTER(ALL('Bidding Con'),'Bidding Con'[Opportunity(tober_opportunityid)]=EARLIER('Opportunity'[opportunrityid])),"column",[Value])

return

IF(

    'Opportunity'[Value] in _select,1,0)&lt;/LI-CODE&gt;
&lt;P&gt;2.The result obtained is shown below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If your Current Period does not refer to this, please clarify in a follow-up reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Clara Gong&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 06:05:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-Matching-values-from-another-table/m-p/3645033#M141133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-18T06:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Non Matching values from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-Matching-values-from-another-table/m-p/3645670#M141158</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this - worked perfectly for me.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 10:33:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-Matching-values-from-another-table/m-p/3645670#M141158</guid>
      <dc:creator>Tob_P</dc:creator>
      <dc:date>2024-01-18T10:33:41Z</dc:date>
    </item>
  </channel>
</rss>

