<?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 Singe Select Slicer with Select All in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3526067#M135474</link>
    <description>&lt;P&gt;I have a large data table with a column that returns two values based on an IF statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF true THEN "Default"&lt;BR /&gt;ELSE "Not Default"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to do is to create a slicer that on a single click:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Filters to all "Default" values&lt;/LI&gt;&lt;LI&gt;Return all values are returned that are both "Default" AND "Not Default"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I've been playing around with Switch and IF functions and am not able to figure this one out. Any help is appreciated!&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2023 18:14:18 GMT</pubDate>
    <dc:creator>ExcelMonke</dc:creator>
    <dc:date>2023-11-09T18:14:18Z</dc:date>
    <item>
      <title>Singe Select Slicer with Select All</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3526067#M135474</link>
      <description>&lt;P&gt;I have a large data table with a column that returns two values based on an IF statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF true THEN "Default"&lt;BR /&gt;ELSE "Not Default"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to do is to create a slicer that on a single click:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Filters to all "Default" values&lt;/LI&gt;&lt;LI&gt;Return all values are returned that are both "Default" AND "Not Default"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I've been playing around with Switch and IF functions and am not able to figure this one out. Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 18:14:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3526067#M135474</guid>
      <dc:creator>ExcelMonke</dc:creator>
      <dc:date>2023-11-09T18:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Singe Select Slicer with Select All</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3526775#M135517</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="639584" data-lia-user-login="ExcelMonke" class="lia-mention lia-mention-user"&gt;ExcelMonke&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a slicer, selecting no item is the same as selecting every item.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is not relevant,&amp;nbsp;could you elaborate your expectation, ideally with dataset and corresponding expected result?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 03:42:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3526775#M135517</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-11-10T03:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Singe Select Slicer with Select All</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3532428#M135742</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="639584" data-lia-user-login="ExcelMonke" class="lia-mention lia-mention-user"&gt;ExcelMonke&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1) This is my test data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2)We can create a slicer table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Slicer = DATATABLE ( 
    "Column1", STRING, 
    {
        { "default" },
        { "all" }
    }
)&lt;/LI-CODE&gt;
&lt;P&gt;(3) We can create a measure&amp;nbsp;&lt;SPAN&gt;and put it to the visual filter.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag = 
IF (
    ISFILTERED ( 'Slicer'[Column1] ),
    IF (
        OR (
            SELECTEDVALUE ( 'Slicer'[Column1] ) = "default"
                &amp;amp;&amp;amp; SELECTEDVALUE ( 'Table'[Column2] ) = "default",
            SELECTEDVALUE ( 'Slicer'[Column1] ) = "all"
        ),
        1,
        0
    ),
    1
)&lt;/LI-CODE&gt;
&lt;P&gt;(4) Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 07:36:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3532428#M135742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-14T07:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Singe Select Slicer with Select All</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3533333#M135771</link>
      <description>&lt;P&gt;Thank you. Do you add the DATATABLE slicer as a measure or a new column?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 15:40:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3533333#M135771</guid>
      <dc:creator>ExcelMonke</dc:creator>
      <dc:date>2023-11-14T15:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Singe Select Slicer with Select All</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3534111#M135795</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="639584" data-lia-user-login="ExcelMonke" class="lia-mention lia-mention-user"&gt;ExcelMonke&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is as a slicer table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&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;The [column1] field of this table is then used as a slicer. Or you can create the slicer table manually by clicking enter data in the home tab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 01:31:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Singe-Select-Slicer-with-Select-All/m-p/3534111#M135795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-15T01:31:14Z</dc:date>
    </item>
  </channel>
</rss>

