<?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: Create Table only with records that met the conditions in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987135#M100302</link>
    <description>&lt;P&gt;Then the TableC that you show is incorrect? It does NOT show Customer A, document number 12&lt;/P&gt;
&lt;P&gt;What do you mean by "whose sum is less..." ? What sum is that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2022 19:58:15 GMT</pubDate>
    <dc:creator>AlB</dc:creator>
    <dc:date>2022-12-23T19:58:15Z</dc:date>
    <item>
      <title>Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987003#M100286</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have a request that gives me a hard time. I have to create a table with data from 2 tables bringing only the records from Table A that by their sum Amount group are equal or less with the corespondent Amount from Table B. The relationship is Table A (Many) - (One) Table B by the Customer ID.&lt;/P&gt;&lt;P&gt;Here are the 2 tables:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expected result table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Kta&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 18:27:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987003#M100286</guid>
      <dc:creator>kta87</dc:creator>
      <dc:date>2022-12-23T18:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987012#M100287</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="207236" data-lia-user-login="kta87" class="lia-mention lia-mention-user"&gt;kta87&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This looks like something that should be done in Power Query rather than DAX. What is the relationship for??&lt;/P&gt;
&lt;P&gt;Can you please paste tables A and B in text-tabular format here, instead of in screen caps, so that the contents can be copied?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 18:40:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987012#M100287</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-23T18:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987035#M100290</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="207236" data-lia-user-login="kta87" class="lia-mention lia-mention-user"&gt;kta87&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try this:&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;LI-CODE lang="javascript"&gt;Table C = 
FILTER(ADDCOLUMNS('Table A',
    "Compare", 
        VAR CustomerID = 'Table A'[CustomerID]
        var SumOfTableA =
        CALCULATE(SUM('Table A'[Amount]), 'Table A'[CustomerID] = CustomerID)
        VAR SumOfTableB =
        CALCULATE(sum('Table B'[Amount]), 'Table B'[CustomerID] = CustomerID)
        VAR Test =
        IF (SumOfTableA &amp;lt;= SumOfTableB, TRUE(), FALSE())
        return Test
), [Compare] = TRUE())&lt;/LI-CODE&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;Hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jewel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 19:44:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987035#M100290</guid>
      <dc:creator>jewel_at</dc:creator>
      <dc:date>2022-12-23T19:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987036#M100291</link>
      <description>&lt;P&gt;Hi AIB,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Power Query is fine also, if it does the job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Table A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer ID&lt;/TD&gt;&lt;TD&gt;Document Number&lt;/TD&gt;&lt;TD&gt;Amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer A&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer A&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer A&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer B&lt;/TD&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer B&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer B&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer B&lt;/TD&gt;&lt;TD&gt;35&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer B&lt;/TD&gt;&lt;TD&gt;122&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer C&lt;/TD&gt;&lt;TD&gt;145&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer D&lt;/TD&gt;&lt;TD&gt;456&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Table B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer ID&lt;/TD&gt;&lt;TD&gt;Document Number&lt;/TD&gt;&lt;TD&gt;Amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer A&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer B&lt;/TD&gt;&lt;TD&gt;45&lt;/TD&gt;&lt;TD&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer C&lt;/TD&gt;&lt;TD&gt;345&lt;/TD&gt;&lt;TD&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer D&lt;/TD&gt;&lt;TD&gt;1567&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 23 Dec 2022 18:59:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987036#M100291</guid>
      <dc:creator>kta87</dc:creator>
      <dc:date>2022-12-23T18:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987038#M100292</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="207236" data-lia-user-login="kta87" class="lia-mention lia-mention-user"&gt;kta87&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To clarify, why is the third row for Customer A&amp;nbsp; (doc number 12) discarded?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 19:02:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987038#M100292</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-23T19:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987048#M100294</link>
      <description>&lt;P&gt;It's not discarded, it shoud be in the table.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 19:10:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987048#M100294</guid>
      <dc:creator>kta87</dc:creator>
      <dc:date>2022-12-23T19:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987080#M100295</link>
      <description>&lt;P&gt;What do you mean? It is not in your output table TableC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;&lt;BR /&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 19:26:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987080#M100295</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-23T19:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987086#M100296</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="207236" data-lia-user-login="kta87" class="lia-mention lia-mention-user"&gt;kta87&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Place the following M code in a blank query to see the steps.See it all at work in the attached file.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = TableA,
    #"Merged Queries" = Table.NestedJoin(Source, {"Customer ID"}, TableB, {"Customer ID"}, "Table2", JoinKind.LeftOuter),
    #"Expanded Table2" = Table.ExpandTableColumn(#"Merged Queries", "Table2", {"Amount"}, {"Table2.Amount"}),
    #"Added Custom" = Table.AddColumn(#"Expanded Table2", "Cumul", each List.Sum(Table.SelectRows(#"Expanded Table2", (inner)=&amp;gt; [Customer ID]=inner[Customer ID] and [Document Number]&amp;gt;=inner[Document Number])[Amount]), Int64.Type),
    #"Filtered Rows" = Table.SelectRows(#"Added Custom", each ([Cumul] &amp;lt;= [Table2.Amount])),
    #"Removed Columns" = Table.RemoveColumns(#"Filtered Rows",{"Table2.Amount", "Cumul"})
in
    #"Removed Columns"&lt;/LI-CODE&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 19:27:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987086#M100296</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-23T19:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987093#M100297</link>
      <description>&lt;P&gt;Because only the records from Table A whose sum is less than or equal to the value from Table B must be in Table C. For the customer A, document 9 and 10 can be in table C or 10 and 12 also is fine.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 19:33:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987093#M100297</guid>
      <dc:creator>kta87</dc:creator>
      <dc:date>2022-12-23T19:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987135#M100302</link>
      <description>&lt;P&gt;Then the TableC that you show is incorrect? It does NOT show Customer A, document number 12&lt;/P&gt;
&lt;P&gt;What do you mean by "whose sum is less..." ? What sum is that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 19:58:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987135#M100302</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-23T19:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987205#M100309</link>
      <description>&lt;P&gt;So for each customer from Table B must&lt;SPAN&gt;&amp;nbsp;be brought&lt;/SPAN&gt; documents from Table A, but their total amount must not exceed the amount from the Table B.&lt;BR /&gt;Customer A has 30 amount in Table B, so the correct records can be either documents 9 &amp;amp; 10 (12+10 = 22 which is &amp;lt;= 30) or documents 9 &amp;amp; 12 (12+10 = 22 which is &amp;lt;= 30) from Table A. Both variants are correct, the logic must bring only one.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 21:02:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987205#M100309</guid>
      <dc:creator>kta87</dc:creator>
      <dc:date>2022-12-23T21:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987209#M100311</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="207236" data-lia-user-login="kta87" class="lia-mention lia-mention-user"&gt;kta87&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The solution I posted above does exactly that. It keeps the first variant that neets the requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 21:09:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987209#M100311</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-23T21:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table only with records that met the conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987229#M100313</link>
      <description>&lt;P&gt;This is brilliant. Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 22:01:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Table-only-with-records-that-met-the-conditions/m-p/2987229#M100313</guid>
      <dc:creator>kta87</dc:creator>
      <dc:date>2022-12-23T22:01:42Z</dc:date>
    </item>
  </channel>
</rss>

