<?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: Find values that are on the many side of a relationship but not on the &amp;quot;one&amp;quot; side in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4285224#M170090</link>
    <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="848602" data-lia-user-login="Jodownunder_" class="lia-mention lia-mention-user"&gt;Jodownunder_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. plot a table visual with table2[order] column, do not aggregate.&lt;/P&gt;
&lt;P&gt;2. pull table2[order] to the filter pane of the table visual and select blank.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then you shall see all the orders kissing in table1.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 05:23:32 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2024-11-15T05:23:32Z</dc:date>
    <item>
      <title>Find values that are on the many side of a relationship but not on the "one" side</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4284972#M170074</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I feel like this is an easy question but I've been going around in circles so thought I'd try the brains trust.&lt;BR /&gt;I have 2 tables with a one to many relationship.&lt;BR /&gt;In table 1 its one order per line but in table 2 there could be several lines with the same order number depending on how many different products are on the order.&amp;nbsp;&lt;BR /&gt;Table 1 (one side) Orders from one system&lt;BR /&gt;Table 2 (many side) All orders in a production system&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Employees can also enter orders manually directly into production system (table 2) so I'm trying to find the DAX to see if there are any current orders in table 2 that are not in table 1. I can look in table 1 for orders not in table 2 but not the other way around.&amp;nbsp;&lt;BR /&gt;Any help apreciated.&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 02:13:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4284972#M170074</guid>
      <dc:creator>Jodownunder_</dc:creator>
      <dc:date>2024-11-15T02:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Find values that are on the many side of a relationship but not on the "one" side</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4285004#M170077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="848602" data-lia-user-login="Jodownunder_" class="lia-mention lia-mention-user"&gt;Jodownunder_&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd try to make a demo based on your description. Please try below column:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;In_Table1 = 
IF( Table2[OrderID] IN VALUES(Table1[OrderID]), "Yes", "No")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please provide a dummy file sample if the demo situation doesn't work for you. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Joyce&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 02:33:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4285004#M170077</guid>
      <dc:creator>isjoycewang</dc:creator>
      <dc:date>2024-11-15T02:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Find values that are on the many side of a relationship but not on the "one" side</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4285021#M170078</link>
      <description>&lt;P&gt;Thanks but that doesn't work - it just shows all the ones in table 2 saying "Yes" that have a match but doens't show any with "no". And I know there are some!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 02:44:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4285021#M170078</guid>
      <dc:creator>Jodownunder_</dc:creator>
      <dc:date>2024-11-15T02:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Find values that are on the many side of a relationship but not on the "one" side</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4285224#M170090</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="848602" data-lia-user-login="Jodownunder_" class="lia-mention lia-mention-user"&gt;Jodownunder_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. plot a table visual with table2[order] column, do not aggregate.&lt;/P&gt;
&lt;P&gt;2. pull table2[order] to the filter pane of the table visual and select blank.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then you shall see all the orders kissing in table1.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 05:23:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4285224#M170090</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-11-15T05:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Find values that are on the many side of a relationship but not on the "one" side</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4285238#M170091</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="848602" data-lia-user-login="Jodownunder_" class="lia-mention lia-mention-user"&gt;Jodownunder_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try below dax to add a calculated column in table 2 .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NotInTable1 =&lt;BR /&gt;IF(&lt;BR /&gt;ISBLANK(&lt;BR /&gt;LOOKUPVALUE(&lt;BR /&gt;Table1[OrderID],&lt;BR /&gt;Table1[OrderID],&lt;BR /&gt;Table2[OrderID]&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;TRUE,&lt;BR /&gt;FALSE&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively you can create a measure as well :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OrdersNotInTable1 =&lt;BR /&gt;COUNTROWS(&lt;BR /&gt;FILTER(&lt;BR /&gt;Table2,&lt;BR /&gt;ISBLANK(&lt;BR /&gt;LOOKUPVALUE(&lt;BR /&gt;Table1[OrderID],&lt;BR /&gt;Table1[OrderID],&lt;BR /&gt;Table2[OrderID]&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your query ? Mark this as solution so that other members can find this quickly. Kudos are appreciated.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 05:34:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4285238#M170091</guid>
      <dc:creator>divyed</dc:creator>
      <dc:date>2024-11-15T05:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Find values that are on the many side of a relationship but not on the "one" side</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4306833#M171019</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="848602" data-lia-user-login="Jodownunder_" class="lia-mention lia-mention-user"&gt;Jodownunder_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I create two tables as you mentioned.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then I create a new table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table = 
EXCEPT(
    DISTINCT('Table2'[OrderID]),
    DISTINCT('Table1'[OrderID])
)&lt;/LI-CODE&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;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 03:09:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-values-that-are-on-the-many-side-of-a-relationship-but-not/m-p/4306833#M171019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-29T03:09:48Z</dc:date>
    </item>
  </channel>
</rss>

