<?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 on comma separated multiselect field in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1638636#M27611</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have uploaded the data in my Google Drive for your easy access. Please follow the below URL to acess the data.&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1Gej5I-9hxqh8KokUErrPLPRn4jz2KSQv/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1Gej5I-9hxqh8KokUErrPLPRn4jz2KSQv/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have achived the Filter on comma separated multi select field using below steps. Can you confirm is it the right approach or we can do it other way more effectively.&lt;/P&gt;&lt;P&gt;I have followed belo steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Duplicate the Data table in another new table.&lt;/LI&gt;&lt;LI&gt;Split this new table Row wise based on the comma separated region.&lt;/LI&gt;&lt;LI&gt;Create a dropdown using slicer based on new table.&lt;/LI&gt;&lt;LI&gt;In result section we will show old table with value of comma separated region.&lt;/LI&gt;&lt;LI&gt;Finally we have created one Relationship between OLD &amp;amp; NEW table.&lt;/LI&gt;&lt;LI&gt;We have set relation between ID of both the table.&amp;nbsp; Set Cardinality - Many to One, Cross filter direction - Both and Activate the relationship.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Relationship.jpg" style="width: 669px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/445637iA0D592727B11B6B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Relationship.jpg" alt="Relationship.jpg" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/OL&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;Thanks in Advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 11:04:56 GMT</pubDate>
    <dc:creator>SujoyDasgupta</dc:creator>
    <dc:date>2021-02-02T11:04:56Z</dc:date>
    <item>
      <title>Filter on comma separated multiselect field</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1631990#M27556</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;In my Datatable there is a comma separated multi select field "Region" like below image.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Region.jpg" style="width: 364px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/443434i2B8E0F9DB737F46D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Region.jpg" alt="Region.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to create a dropdown of Unique Regions based on this Region field. But I am getting comma separated values in my dropdown like below image.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Region.jpg" style="width: 291px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/443425iF13DA2996B423AC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Region.jpg" alt="Region.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me to create this dropdown with unique values of Region and based on that dropdown I want to filter my Datatable like below image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: I dont want to split my region column in multiple ROWS. It will not full fill my client requirement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Region.jpg" style="width: 367px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/443432iFB3C43B7AE5747BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Region.jpg" alt="Region.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need help on this. Any idea or solution appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 15:30:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1631990#M27556</guid>
      <dc:creator>SujoyDasgupta</dc:creator>
      <dc:date>2021-01-29T15:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on comma separated multiselect field</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1632970#M27559</link>
      <description>&lt;P&gt;You need to do that before Power BI (for example in Power Query) or as a DAX table definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sample data in usable format (not as a picture) .&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 03:08:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1632970#M27559</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-01-30T03:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on comma separated multiselect field</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1635009#M27583</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/272863"&gt;@SujoyDasgupta&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;The basic filter effect not able to achieve your requirement, I think you need to some more steps and tries. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;First, create a new table to extract and expand all types of regions that existed in your table and use it to create a slicer. (notice: it does not have a relationship to the raw table)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Expand = 
VAR _path =
    SUBSTITUTE (
        CONCATENATEX ( VALUES ( 'Table'[Region] ), [Region], "," ),
        ",",
        "|"
    )
RETURN
    DISTINCT (
        SELECTCOLUMNS (
            ADDCOLUMNS (
                GENERATESERIES ( 1, PATHLENGTH ( _path ), 1 ),
                "Desc", PATHITEM ( _path, [Value] )
            ),
            "Desc",IF([Desc]&amp;lt;&amp;gt;"", [Desc]," ")
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Second, write a measure to compare raw table records and slicer selections to return tag and apply on it on table 'visual level filter' to filter records.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR curr =
    CONCATENATEX (
        VALUES ( 'Table'[Region] ),
        IF ( [Region] &amp;lt;&amp;gt; "", [Region], " " ),
        ","
    )
RETURN
    IF (
        COUNTROWS (
            FILTER ( ALLSELECTED ( Expand[Desc] ), SEARCH ( [Desc], curr,, -1 ) &amp;gt; 0 )
        ) &amp;gt; 0,
        "Y",
        "N"
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Result:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="97.gif" style="width: 857px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/444436iAFF786F2817C2335/image-size/large?v=v2&amp;amp;px=999" role="button" title="97.gif" alt="97.gif" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 07:30:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1635009#M27583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-01T07:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on comma separated multiselect field</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1638636#M27611</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have uploaded the data in my Google Drive for your easy access. Please follow the below URL to acess the data.&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1Gej5I-9hxqh8KokUErrPLPRn4jz2KSQv/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1Gej5I-9hxqh8KokUErrPLPRn4jz2KSQv/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have achived the Filter on comma separated multi select field using below steps. Can you confirm is it the right approach or we can do it other way more effectively.&lt;/P&gt;&lt;P&gt;I have followed belo steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Duplicate the Data table in another new table.&lt;/LI&gt;&lt;LI&gt;Split this new table Row wise based on the comma separated region.&lt;/LI&gt;&lt;LI&gt;Create a dropdown using slicer based on new table.&lt;/LI&gt;&lt;LI&gt;In result section we will show old table with value of comma separated region.&lt;/LI&gt;&lt;LI&gt;Finally we have created one Relationship between OLD &amp;amp; NEW table.&lt;/LI&gt;&lt;LI&gt;We have set relation between ID of both the table.&amp;nbsp; Set Cardinality - Many to One, Cross filter direction - Both and Activate the relationship.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Relationship.jpg" style="width: 669px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/445637iA0D592727B11B6B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Relationship.jpg" alt="Relationship.jpg" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/OL&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;Thanks in Advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 11:04:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1638636#M27611</guid>
      <dc:creator>SujoyDasgupta</dc:creator>
      <dc:date>2021-02-02T11:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on comma separated multiselect field</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1638647#M27612</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try to implent your above solution and update you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 11:07:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1638647#M27612</guid>
      <dc:creator>SujoyDasgupta</dc:creator>
      <dc:date>2021-02-02T11:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on comma separated multiselect field</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1640931#M27639</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/272863"&gt;@SujoyDasgupta&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Ok, I hope these can be worked on your side.&lt;/FONT&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If they not help, you can feel free to post here with some dummy data or pbix file, then we can test to coding formula and build sample file share.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 07:18:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-on-comma-separated-multiselect-field/m-p/1640931#M27639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-03T07:18:58Z</dc:date>
    </item>
  </channel>
</rss>

