<?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 Calculated Table with custom filtering in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495525#M133911</link>
    <description>&lt;P&gt;Hello Masters&lt;/P&gt;&lt;P&gt;I am trying to filter my table with DAX and create a new table.&lt;/P&gt;&lt;P&gt;I want to exclude companies from the main table those all factories are Inactive. Below picture; "Company C" should be excluded as all factories of Company C is Inactive. So new table will only have Company A, B and C&lt;/P&gt;&lt;P&gt;Can you please help?&lt;/P&gt;&lt;P&gt;Here, you can see the PBIX file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1zxp-Ln_e3Mzmzkefe68h5OWO76kQY2EH/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1zxp-Ln_e3Mzmzkefe68h5OWO76kQY2EH/view?usp=sharing&lt;/A&gt;&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;</description>
    <pubDate>Wed, 25 Oct 2023 06:58:17 GMT</pubDate>
    <dc:creator>Mercovito</dc:creator>
    <dc:date>2023-10-25T06:58:17Z</dc:date>
    <item>
      <title>Calculated Table with custom filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495525#M133911</link>
      <description>&lt;P&gt;Hello Masters&lt;/P&gt;&lt;P&gt;I am trying to filter my table with DAX and create a new table.&lt;/P&gt;&lt;P&gt;I want to exclude companies from the main table those all factories are Inactive. Below picture; "Company C" should be excluded as all factories of Company C is Inactive. So new table will only have Company A, B and C&lt;/P&gt;&lt;P&gt;Can you please help?&lt;/P&gt;&lt;P&gt;Here, you can see the PBIX file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1zxp-Ln_e3Mzmzkefe68h5OWO76kQY2EH/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1zxp-Ln_e3Mzmzkefe68h5OWO76kQY2EH/view?usp=sharing&lt;/A&gt;&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;</description>
      <pubDate>Wed, 25 Oct 2023 06:58:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495525#M133911</guid>
      <dc:creator>Mercovito</dc:creator>
      <dc:date>2023-10-25T06:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Table with custom filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495753#M133924</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="623328" data-lia-user-login="Mercovito" class="lia-mention lia-mention-user"&gt;Mercovito&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Not sure if i fully get you, try to create a calculated table like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table = 
CALCULATETABLE(
    sheet1,
    FILTER(
        VALUES(sheet1[Company]),
        "Active" IN  CALCULATETABLE(VALUES(sheet1[Factory Active - Inactive]))
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;it worked like:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 08:20:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495753#M133924</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-10-25T08:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Table with custom filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495885#M133925</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table =
FILTER(
    DISTINCT( Sheet1[Company] ),
    NOT ISEMPTY(
        CALCULATETABLE( Sheet1, Sheet1[Factory Active - Inactive] = "Active" )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 09:05:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495885#M133925</guid>
      <dc:creator>ThxAlot</dc:creator>
      <dc:date>2023-10-25T09:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Table with custom filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495991#M133930</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="8532" data-lia-user-login="MathXTC" class="lia-mention lia-mention-user"&gt;MathXTC&lt;/a&gt;&amp;nbsp;Thx A LOT&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 09:43:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495991#M133930</guid>
      <dc:creator>Mercovito</dc:creator>
      <dc:date>2023-10-25T09:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Table with custom filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495998#M133933</link>
      <description>&lt;P&gt;Thank you so much; I need to burn my brain to understand this step by step &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 09:44:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Table-with-custom-filtering/m-p/3495998#M133933</guid>
      <dc:creator>Mercovito</dc:creator>
      <dc:date>2023-10-25T09:44:02Z</dc:date>
    </item>
  </channel>
</rss>

