<?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: Filter two different tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-two-different-tables/m-p/3219543#M117635</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In the Query Editor, right click on the PolicyName column of the Data Table and select Split Column &amp;gt; By delimiter.&amp;nbsp; Select comma as the delimiter and expand Advanced Options.&amp;nbsp; Select Rows there.&amp;nbsp; Right click on the column and sleect Trim.&amp;nbsp; Create a relationship (Many to One and Single) from the PolicyName column to the PolicyName column of the PolicyNames Table.&amp;nbsp; To your Table visual, drag the PolicyName column from the PolicyNames Table and write this measure&lt;/P&gt;
&lt;P&gt;Measure = countrows(Data)&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 09:00:38 GMT</pubDate>
    <dc:creator>Ashish_Mathur</dc:creator>
    <dc:date>2023-05-04T09:00:38Z</dc:date>
    <item>
      <title>Filter two different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-two-different-tables/m-p/3219135#M117612</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I need some help if it is possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with data like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table: data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;dataName&lt;/TD&gt;&lt;TD&gt;info2&lt;/TD&gt;&lt;TD&gt;info3&lt;/TD&gt;&lt;TD&gt;policyName&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;info1.1&lt;/TD&gt;&lt;TD&gt;info1.2&lt;/TD&gt;&lt;TD&gt;info1.3&lt;/TD&gt;&lt;TD&gt;policy1,policy2,policy3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;info2.1&lt;/TD&gt;&lt;TD&gt;info2.2&lt;/TD&gt;&lt;TD&gt;info2.3&lt;/TD&gt;&lt;TD&gt;policy2,policy3,policy4&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I have another table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table: policyNames&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;policyName&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;policy1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;policy2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;policy3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;policy4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I need to filter selecting from the second one and see how many rows from the table data or the column dataName have in them the selected policy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 04:30:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-two-different-tables/m-p/3219135#M117612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-04T04:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filter two different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-two-different-tables/m-p/3219543#M117635</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In the Query Editor, right click on the PolicyName column of the Data Table and select Split Column &amp;gt; By delimiter.&amp;nbsp; Select comma as the delimiter and expand Advanced Options.&amp;nbsp; Select Rows there.&amp;nbsp; Right click on the column and sleect Trim.&amp;nbsp; Create a relationship (Many to One and Single) from the PolicyName column to the PolicyName column of the PolicyNames Table.&amp;nbsp; To your Table visual, drag the PolicyName column from the PolicyNames Table and write this measure&lt;/P&gt;
&lt;P&gt;Measure = countrows(Data)&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 09:00:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-two-different-tables/m-p/3219543#M117635</guid>
      <dc:creator>Ashish_Mathur</dc:creator>
      <dc:date>2023-05-04T09:00:38Z</dc:date>
    </item>
  </channel>
</rss>

