<?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: Boolean Aggregate Functions? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Boolean-Aggregate-Functions/m-p/1364268#M24729</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="43935" data-lia-user-login="MarkEvansHW" class="lia-mention lia-mention-user"&gt;MarkEvansHW&lt;/a&gt; , Not very clear. But I doubt I noticed aggregating functions. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Sep 2020 12:00:25 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-09-11T12:00:25Z</dc:date>
    <item>
      <title>Boolean Aggregate Functions?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Boolean-Aggregate-Functions/m-p/1364240#M24728</link>
      <description>&lt;P&gt;Is there any way to aggregate a boolean field so that the summary result with be TRUE if any of the detail rows are TRUE? Similarly, aggregate so that the summary result is TRUE if &lt;STRONG&gt;all&lt;/STRONG&gt; of the detail rows are TRUE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In postgresql and Redshift, these aggregating functions are named &lt;STRONG&gt;bool_or()&lt;/STRONG&gt; and &lt;STRONG&gt;bool_and()&lt;/STRONG&gt; - they are very handy at times. Does anyone know how to accomplish the same thing within Power BI? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 11:48:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Boolean-Aggregate-Functions/m-p/1364240#M24728</guid>
      <dc:creator>MarkEvansHW</dc:creator>
      <dc:date>2020-09-11T11:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Aggregate Functions?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Boolean-Aggregate-Functions/m-p/1364268#M24729</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="43935" data-lia-user-login="MarkEvansHW" class="lia-mention lia-mention-user"&gt;MarkEvansHW&lt;/a&gt; , Not very clear. But I doubt I noticed aggregating functions. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 12:00:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Boolean-Aggregate-Functions/m-p/1364268#M24729</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-11T12:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Aggregate Functions?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Boolean-Aggregate-Functions/m-p/1364284#M24730</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="43935" data-lia-user-login="MarkEvansHW" class="lia-mention lia-mention-user"&gt;MarkEvansHW&lt;/a&gt;&amp;nbsp; Yes, this works:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 5 = IF(TRUE() IN SELECTCOLUMNS('Table (5)',"Column",[Column1]),TRUE(),FALSE())&lt;/LI-CODE&gt;
&lt;P&gt;PBIX is attached below sig&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 12:07:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Boolean-Aggregate-Functions/m-p/1364284#M24730</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-11T12:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Aggregate Functions?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Boolean-Aggregate-Functions/m-p/1364287#M24731</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="43935" data-lia-user-login="MarkEvansHW" class="lia-mention lia-mention-user"&gt;MarkEvansHW&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To check if any TRUE exists in a field use this measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;AnyTRUE = CONTAINS(Table,Table[Column],TRUE())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To check if TRUE exists in all rows of a field, use this measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;AllTRUE = NOT CONTAINS(Table,Table[Column],FALSE())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 12:07:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Boolean-Aggregate-Functions/m-p/1364287#M24731</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-09-11T12:07:55Z</dc:date>
    </item>
  </channel>
</rss>

