<?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 multiple values in a column from filters selected in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783313#M147776</link>
    <description>&lt;P&gt;This doesn't work&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 13:52:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-03-21T13:52:34Z</dc:date>
    <item>
      <title>Filter multiple values in a column from filters selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3782602#M147764</link>
      <description>&lt;H2&gt;I have 2 tables. Table A is a dimension table having 2 columns, code and description. There are 8-10 codes in this table along with their descriptions.&lt;BR /&gt;&lt;BR /&gt;&lt;/H2&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;914940002&lt;/TD&gt;&lt;TD&gt;Some text1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;914940004&lt;/TD&gt;&lt;TD&gt;Some text2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;H2&gt;Table B is a fact table having multiple columns, one of which is code. Code column in Table B has rows with in the following format:&lt;/H2&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;914940002&lt;/TD&gt;&lt;TD&gt;Some text1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;914940002, 914940004&lt;/TD&gt;&lt;TD&gt;Some text1, Some text2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;H2&gt;&lt;BR /&gt;and so on. I want to filter Table B by Table A such that when I click a Description from Table A (I will be using Table A as a filter slicer), it returns all the rows in Table B that contain that Description (in the above example, both rows will return as they both contain that description).&lt;BR /&gt;&lt;BR /&gt;Please explain using Power Query or DAX how I can do this&lt;/H2&gt;</description>
      <pubDate>Thu, 21 Mar 2024 11:32:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3782602#M147764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-21T11:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple values in a column from filters selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783026#M147770</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;- Can you modify Table B? Or does it have to remain in that format?&amp;nbsp;&lt;BR /&gt;If you can modify Table B, I would use power query to split the code column into rows. If you go into power query, and right click on the column table for code and click "Split Column" -&amp;gt; "By Delimiter" then select Comma. Then you can select advanced options, and split into new rows.&amp;nbsp;&lt;BR /&gt;This will split your table and give each code line a unique row.&amp;nbsp;&lt;BR /&gt;Then you can create a relationship between table A and table B on Code column, and your visualizations will filter as needed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 12:45:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783026#M147770</guid>
      <dc:creator>Hazenm</dc:creator>
      <dc:date>2024-03-21T12:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple values in a column from filters selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783233#M147772</link>
      <description>&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/592585" target="_blank"&gt;@OsamaKamal&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Mesure &lt;/SPAN&gt;&lt;SPAN&gt;8&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Var&lt;/SPAN&gt; &lt;SPAN&gt;texte&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;selectedvalue&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Table1&lt;/SPAN&gt;&lt;SPAN&gt;[Description]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;textfinal&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table2'&lt;/SPAN&gt;&lt;SPAN&gt;[Code]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CONTAINSSTRINGEXACT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;textfinal&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;texte&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;And after you put this measure in your panel filter with value 1 and only rows with the selected text will be in&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Mar 2024 13:20:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783233#M147772</guid>
      <dc:creator>JamesFR06</dc:creator>
      <dc:date>2024-03-21T13:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple values in a column from filters selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783304#M147774</link>
      <description>&lt;P&gt;Table 1 and Table 2 are A and B respectively ? As per the tables I shared&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 13:45:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783304#M147774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-21T13:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple values in a column from filters selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783312#M147775</link>
      <description>&lt;P&gt;Yep sorry. Table1 is Table A and T2 Tb&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 13:50:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783312#M147775</guid>
      <dc:creator>JamesFR06</dc:creator>
      <dc:date>2024-03-21T13:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple values in a column from filters selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783313#M147776</link>
      <description>&lt;P&gt;This doesn't work&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 13:52:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783313#M147776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-21T13:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple values in a column from filters selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783514#M147785</link>
      <description>&lt;P&gt;This works. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 15:22:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-values-in-a-column-from-filters-selected/m-p/3783514#M147785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-21T15:22:18Z</dc:date>
    </item>
  </channel>
</rss>

