<?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: Multi-Select slicer DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-Select-slicer-DAX/m-p/4041481#M160246</link>
    <description>&lt;P&gt;Hi,Anonymous&lt;/LI-USER&gt; I am glad to help you.&lt;BR /&gt;If you want to achieve the effect of slicer multi-select, as you said, you can try to use the CONCATENATEX function to achieve, by determining whether the field in the form is within the string composed of all the options of the slicer to control the return result, the following is my test, I hope it can give you help.&lt;BR /&gt;table'FACT Dependencies'&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Table'DIM Dependencies'&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;M_result = 
VAR source_value=MAX('FACT Dependencies'[Source Name])
VAR target_value=MAX('FACT Dependencies'[Target Name])
VAR m_allselect=
CONCATENATEX(
    VALUES('DIM Dependencies'[Name]),
    [Name],
    ""
)
RETURN IF( CONTAINSSTRING(m_allselect,source_value)||CONTAINSSTRING(m_allselect,target_value),1,0
)&lt;/LI-CODE&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;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Carson Jian,&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2024 03:27:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-15T03:27:10Z</dc:date>
    <item>
      <title>Multi-Select slicer DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-Select-slicer-DAX/m-p/4041261#M160238</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm a little stuck on somthing that should be quire easy.&lt;/P&gt;&lt;P&gt;I have a DIM table that I would filter a FACT table by.&lt;/P&gt;&lt;P&gt;The code below works fine for a single selection, but obviously wont work for a multi-select.&lt;/P&gt;&lt;P&gt;I have tried using ALLSELECTES &amp;amp; CONCATENATEX which connectly returns the selected list, but I still have the problem of:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;lt;List&amp;gt; in Values (table[column])&lt;/P&gt;&lt;P&gt;Any suggestions on how to change the fomula below to support mulit-select?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dependencies Filter # =&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'DIM Dependencies'&lt;/SPAN&gt;&lt;SPAN&gt;[Name]&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;values&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'FACT Dependencies'&lt;/SPAN&gt;&lt;SPAN&gt;[Source Name]&lt;/SPAN&gt;&lt;SPAN&gt;) ||&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'DIM Dependencies'&lt;/SPAN&gt;&lt;SPAN&gt;[Name]&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;values&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'FACT Dependencies'&lt;/SPAN&gt;&lt;SPAN&gt;[Target Name]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&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;Cheers,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Jul 2024 00:04:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-Select-slicer-DAX/m-p/4041261#M160238</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-15T00:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-Select slicer DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-Select-slicer-DAX/m-p/4041481#M160246</link>
      <description>&lt;P&gt;Hi,Anonymous&lt;/LI-USER&gt; I am glad to help you.&lt;BR /&gt;If you want to achieve the effect of slicer multi-select, as you said, you can try to use the CONCATENATEX function to achieve, by determining whether the field in the form is within the string composed of all the options of the slicer to control the return result, the following is my test, I hope it can give you help.&lt;BR /&gt;table'FACT Dependencies'&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Table'DIM Dependencies'&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;M_result = 
VAR source_value=MAX('FACT Dependencies'[Source Name])
VAR target_value=MAX('FACT Dependencies'[Target Name])
VAR m_allselect=
CONCATENATEX(
    VALUES('DIM Dependencies'[Name]),
    [Name],
    ""
)
RETURN IF( CONTAINSSTRING(m_allselect,source_value)||CONTAINSSTRING(m_allselect,target_value),1,0
)&lt;/LI-CODE&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;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Carson Jian,&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 03:27:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-Select-slicer-DAX/m-p/4041481#M160246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-15T03:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-Select slicer DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-Select-slicer-DAX/m-p/4041532#M160249</link>
      <description>&lt;P&gt;Thanks ... works a treat!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 03:58:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-Select-slicer-DAX/m-p/4041532#M160249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-15T03:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-Select slicer DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-Select-slicer-DAX/m-p/4041678#M160258</link>
      <description>&lt;P&gt;Hi,Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Thank you for your reply .&lt;BR /&gt;You are welcome.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 05:49:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-Select-slicer-DAX/m-p/4041678#M160258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-15T05:49:12Z</dc:date>
    </item>
  </channel>
</rss>

