<?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: Segmentation can filter another segmentation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3061048#M105758</link>
    <description>&lt;P&gt;I wanna try something with my noob drawing in paint.&lt;BR /&gt;&lt;BR /&gt;'A, B and C' are options in my segmentation 1,&lt;BR /&gt;each time I choose one of them , in next segmentations (2 &amp;amp; 3)&lt;BR /&gt;this option need to &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;disappear.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Now this did any sense?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 20:32:43 GMT</pubDate>
    <dc:creator>Arthurfrc</dc:creator>
    <dc:date>2023-02-03T20:32:43Z</dc:date>
    <item>
      <title>Segmentation can filter another segmentation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3057822#M105549</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Is possible for one segmentation filter to have options excluded or filtered from another segmentation filter?&lt;BR /&gt;&lt;BR /&gt;Example:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;1º segmentation filter&lt;BR /&gt;[&lt;STRONG&gt;x&lt;/STRONG&gt;]A - [ ]B - [ ]C&lt;BR /&gt;2º segmentation filter&lt;BR /&gt;[disable]A - [&lt;STRONG&gt;x&lt;/STRONG&gt;]B - [ ]C&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;3º segmentation filter&lt;BR /&gt;[disable]A - [disable]B - [&lt;STRONG&gt;x&lt;/STRONG&gt;]C&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 12:45:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3057822#M105549</guid>
      <dc:creator>Arthurfrc</dc:creator>
      <dc:date>2023-02-02T12:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation can filter another segmentation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3059265#M105629</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="508639" data-lia-user-login="Arthurfrc" class="lia-mention lia-mention-user"&gt;Arthurfrc&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for that the information you have provided is not making the problem clear to me. Can you please share more details to help us clarify your scenario?&lt;/P&gt;
&lt;P&gt;Please provide me with more details about your table and your problem or share me with your pbix file after&amp;nbsp;&lt;STRONG&gt;removing sensitive data.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer to:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7Cv-jianboli%40microsoft.com%7Ca7ce12be0f454896a61208da8034281b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637963258750159993%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=orVyE0%2FImc2MEFUqXtCveK0uf33594f67ZDxb8ybuNI%3D&amp;amp;reserved=0" target="_blank"&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C01%7Cv-jianboli%40microsoft.com%7Ca7ce12be0f454896a61208da8034281b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637963258750159993%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=XocTq9o6TjxbxJqTak20E3kKp7q5HxKTNZef7xESMV0%3D&amp;amp;reserved=0" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 01:44:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3059265#M105629</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2023-02-03T01:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation can filter another segmentation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3061048#M105758</link>
      <description>&lt;P&gt;I wanna try something with my noob drawing in paint.&lt;BR /&gt;&lt;BR /&gt;'A, B and C' are options in my segmentation 1,&lt;BR /&gt;each time I choose one of them , in next segmentations (2 &amp;amp; 3)&lt;BR /&gt;this option need to &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;disappear.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Now this did any sense?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 20:32:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3061048#M105758</guid>
      <dc:creator>Arthurfrc</dc:creator>
      <dc:date>2023-02-03T20:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation can filter another segmentation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3062728#M105921</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="508639" data-lia-user-login="Arthurfrc" class="lia-mention lia-mention-user"&gt;Arthurfrc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try:&lt;/P&gt;
&lt;P&gt;First create tree tables for slicers:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then apply measure [&lt;SPAN&gt;Flag for segmentation2] to segmentation2, [Flag for segmentation3] to segmentation3:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag for segmentation2 =
VAR _a =
    SELECTCOLUMNS ( 'Table', "1", [segmentation] )
RETURN
    IF (
        ISFILTERED ( 'Table'[segmentation] )
            &amp;amp;&amp;amp; MAX ( 'Table 2'[segmentation] ) IN _a,
        0,
        1
    )


Flag for segmentation3 =
VAR _a =
    SELECTCOLUMNS ( 'Table', "1", [segmentation] )
VAR _b =
    SELECTCOLUMNS ( 'Table 2', "2", [segmentation] )
RETURN
    SWITCH (
        TRUE (),
        ISFILTERED ( 'Table'[segmentation] ) &amp;amp;&amp;amp; ISFILTERED ( 'Table 2'[segmentation] )
            &amp;amp;&amp;amp; MAX ( 'Table 3'[segmentation] ) IN UNION ( _a, _b ), 0,
        ISFILTERED ( 'Table'[segmentation] )
            &amp;amp;&amp;amp; NOT ( ISFILTERED ( 'Table 2'[segmentation] ) )
                &amp;amp;&amp;amp; MAX ( 'Table 3'[segmentation] ) IN _a, 0,
        NOT ( ISFILTERED ( 'Table'[segmentation] ) )
            &amp;amp;&amp;amp; ISFILTERED ( 'Table 2'[segmentation] )
            &amp;amp;&amp;amp; MAX ( 'Table 3'[segmentation] ) IN _b, 0,
        1
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Final output:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in 0in 0in;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in 0in 0in;"&gt;&lt;SPAN&gt;Jianbo Li&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in 0in 0in;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 02:16:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3062728#M105921</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2023-02-06T02:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation can filter another segmentation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3069064#M106407</link>
      <description>&lt;P&gt;Great, thanks, it is what I was searching to my BI.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Just for curiosity... does this work with just one table or do I really need to copy the table to as many different options as I need?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 13:37:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3069064#M106407</guid>
      <dc:creator>Arthurfrc</dc:creator>
      <dc:date>2023-02-08T13:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation can filter another segmentation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3070672#M106556</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="508639" data-lia-user-login="Arthurfrc" class="lia-mention lia-mention-user"&gt;Arthurfrc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This cannot be achieved using just one table, because when you use only one table, the three slicers you create cannot be selected independently without being affected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jianbo Li&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 02:12:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segmentation-can-filter-another-segmentation/m-p/3070672#M106556</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2023-02-09T02:12:27Z</dc:date>
    </item>
  </channel>
</rss>

