<?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 Check if value meets two criteria in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-value-meets-two-criteria/m-p/911553#M8722</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a table with multiple applications. I need to check if the application has "mw1" OR "mw2". I need a new column with a value true if one of the two middleware components exists (app1) or false if none matches (app2).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Jan 2020 19:57:57 GMT</pubDate>
    <dc:creator>Sander_NL</dc:creator>
    <dc:date>2020-01-25T19:57:57Z</dc:date>
    <item>
      <title>Check if value meets two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-value-meets-two-criteria/m-p/911553#M8722</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a table with multiple applications. I need to check if the application has "mw1" OR "mw2". I need a new column with a value true if one of the two middleware components exists (app1) or false if none matches (app2).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2020 19:57:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-value-meets-two-criteria/m-p/911553#M8722</guid>
      <dc:creator>Sander_NL</dc:creator>
      <dc:date>2020-01-25T19:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Check if value meets two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-value-meets-two-criteria/m-p/911565#M8724</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="51483" data-lia-user-login="Sander_NL" class="lia-mention lia-mention-user"&gt;Sander_NL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try a measure&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
var _count = calculate(COUNTROWS('Table'),FILTER(ALL('Table'),'Table'[app]=SELECTEDVALUE('Table'[app]) &amp;amp;&amp;amp; ('Table'[middleware1]&amp;lt;&amp;gt;"" || 'Table'[middleware2]&amp;lt;&amp;gt;"")))

RETURN
if(_count&amp;gt;0,true(),FALSE())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2020 21:03:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-value-meets-two-criteria/m-p/911565#M8724</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-01-25T21:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Check if value meets two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-value-meets-two-criteria/m-p/911664#M8726</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82403" data-lia-user-login="az38" class="lia-mention lia-mention-user"&gt;az38&lt;/a&gt;&amp;nbsp;for&amp;nbsp; your reply. When I try to apply this to my report I get an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the "table"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 11:46:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-value-meets-two-criteria/m-p/911664#M8726</guid>
      <dc:creator>Sander_NL</dc:creator>
      <dc:date>2020-01-26T11:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Check if value meets two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-value-meets-two-criteria/m-p/911666#M8727</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="51483" data-lia-user-login="Sander_NL" class="lia-mention lia-mention-user"&gt;Sander_NL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;replace comma ",' to ";"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 12:01:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-value-meets-two-criteria/m-p/911666#M8727</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-01-26T12:01:16Z</dc:date>
    </item>
  </channel>
</rss>

