<?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 BOOLEAN column based on numerous filters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BOOLEAN-column-based-on-numerous-filters/m-p/1444207#M27048</link>
    <description>&lt;P&gt;Hey community!&lt;/P&gt;&lt;P&gt;I have a table like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Order&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Department&lt;/TD&gt;&lt;TD&gt;Area&lt;/TD&gt;&lt;TD&gt;State&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;TD&gt;Quantity&lt;/TD&gt;&lt;TD&gt;Cost&lt;/TD&gt;&lt;TD&gt;Employee&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;01.01.2020&lt;/TD&gt;&lt;TD&gt;Metallurgy&lt;/TD&gt;&lt;TD&gt;Area 1&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;999&lt;/TD&gt;&lt;TD&gt;9562&lt;/TD&gt;&lt;TD&gt;8950&lt;/TD&gt;&lt;TD&gt;Alex&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need a Dax Measure (not a column) that shows me TRUE or FALSE based on this heuristic:&lt;/P&gt;&lt;P&gt;TRUE IF&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;State &amp;gt;= 0 &amp;lt;= 50&lt;/LI&gt;&lt;LI&gt;State &amp;lt;&amp;gt; 51&lt;/LI&gt;&lt;LI&gt;State &amp;lt;= 95&lt;/LI&gt;&lt;LI&gt;Department &amp;lt;&amp;gt; "Metallurgy"&lt;/LI&gt;&lt;LI&gt;Area &amp;lt;&amp;gt; "Area 1"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;How would you build that Measure?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Oct 2020 08:36:41 GMT</pubDate>
    <dc:creator>joshua1990</dc:creator>
    <dc:date>2020-10-20T08:36:41Z</dc:date>
    <item>
      <title>BOOLEAN column based on numerous filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BOOLEAN-column-based-on-numerous-filters/m-p/1444207#M27048</link>
      <description>&lt;P&gt;Hey community!&lt;/P&gt;&lt;P&gt;I have a table like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Order&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Department&lt;/TD&gt;&lt;TD&gt;Area&lt;/TD&gt;&lt;TD&gt;State&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;TD&gt;Quantity&lt;/TD&gt;&lt;TD&gt;Cost&lt;/TD&gt;&lt;TD&gt;Employee&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;01.01.2020&lt;/TD&gt;&lt;TD&gt;Metallurgy&lt;/TD&gt;&lt;TD&gt;Area 1&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;999&lt;/TD&gt;&lt;TD&gt;9562&lt;/TD&gt;&lt;TD&gt;8950&lt;/TD&gt;&lt;TD&gt;Alex&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need a Dax Measure (not a column) that shows me TRUE or FALSE based on this heuristic:&lt;/P&gt;&lt;P&gt;TRUE IF&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;State &amp;gt;= 0 &amp;lt;= 50&lt;/LI&gt;&lt;LI&gt;State &amp;lt;&amp;gt; 51&lt;/LI&gt;&lt;LI&gt;State &amp;lt;= 95&lt;/LI&gt;&lt;LI&gt;Department &amp;lt;&amp;gt; "Metallurgy"&lt;/LI&gt;&lt;LI&gt;Area &amp;lt;&amp;gt; "Area 1"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;How would you build that Measure?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 08:36:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BOOLEAN-column-based-on-numerous-filters/m-p/1444207#M27048</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2020-10-20T08:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: BOOLEAN column based on numerous filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BOOLEAN-column-based-on-numerous-filters/m-p/1444420#M27051</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You want a measure but are referring to row context (the values in a row of the table) to define the outcome. That seems contradictory. Can you elaborate?&amp;nbsp; The measure would have to check all rows in the table? If so, how would the final result be constructed from all those checks? Or are you going to use the measure in a table visual such that the measure will be applied to each row depicted in the visual? &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving kudos if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 09:51:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BOOLEAN-column-based-on-numerous-filters/m-p/1444420#M27051</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-10-20T09:51:23Z</dc:date>
    </item>
  </channel>
</rss>

