<?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 DAX Logical Function for All Selected in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Logical-Function-for-All-Selected/m-p/1928945#M41877</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a DAX function that will return a logical true/false based on whether or not all slicer options are selected?&amp;nbsp; I.E. if all slicer options are selcted (all selected), result = TRUE.&amp;nbsp; If not all options are selected = FALSE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 17:51:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-29T17:51:39Z</dc:date>
    <item>
      <title>DAX Logical Function for All Selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Logical-Function-for-All-Selected/m-p/1928945#M41877</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a DAX function that will return a logical true/false based on whether or not all slicer options are selected?&amp;nbsp; I.E. if all slicer options are selcted (all selected), result = TRUE.&amp;nbsp; If not all options are selected = FALSE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 17:51:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Logical-Function-for-All-Selected/m-p/1928945#M41877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-29T17:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Logical Function for All Selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Logical-Function-for-All-Selected/m-p/1929014#M41878</link>
      <description>&lt;P&gt;Hey&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, the function is called ISCROSSFILTERED.&lt;/P&gt;&lt;P&gt;The following measure will return a TRUE or FALSE if a specific column is filtered or not:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IsFiltered = ISCROSSFILTERED( mySlicerTale[SlicerColumn] )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This you can use then in other measures (IF( ISCROSSFILTERED( ...))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;If you need any help please let me know.&lt;/DIV&gt;&lt;DIV&gt;If I answered your question I would be happy if you could mark my post as a solution &lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt; and give it a thumbs up &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards&lt;/DIV&gt;&lt;DIV&gt;Denis&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Blog: &lt;A title="Click here!" href="https://whatthefact.bi/?utm_source=powerbicommunity&amp;amp;utm_medium=link&amp;amp;utm_campaign=forum" target="_blank" rel="noopener"&gt;&lt;U&gt;WhatTheFact.bi&lt;/U&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;Follow me: &lt;A title="Click here!" href="https://twitter.com/DenSelimovic" target="_blank" rel="noopener"&gt;&lt;U&gt;twitter.com/DenSelimovic&lt;/U&gt;&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Jun 2021 18:42:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Logical-Function-for-All-Selected/m-p/1929014#M41878</guid>
      <dc:creator>selimovd</dc:creator>
      <dc:date>2021-06-29T18:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Logical Function for All Selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Logical-Function-for-All-Selected/m-p/1931128#M41927</link>
      <description>&lt;P&gt;Function? No. But a combination of functions - yes. Assuming the slicer can't have any filtering applied to itself, that is, no measure filters it via the Filter pane and assuming that the slicer holds data from one column only from table T, what you can do is write this measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;[All Entries Selected] =
var SelectedEntriesCount =
    DISTINCTCOUNT( T[SlicerColumn] )
var TotalEntriesCount =
    CALCULATE(
        DISTINCTCOUNT( T[SlicerColumn] ),
        REMOVEFILTERS( T )
    )
return
    SelectedEntriesCount
        = TotalEntriesCount&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, if you had a measure filtering the slicer it would also be possible to write such a measure but it would be a bit more complex. It would also require defining what is meant by "all entries selected."&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 14:59:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Logical-Function-for-All-Selected/m-p/1931128#M41927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-30T14:59:30Z</dc:date>
    </item>
  </channel>
</rss>

