<?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: multiple if condition with AND, cointains, endwith operator in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/multiple-if-condition-with-AND-cointains-endwith-operator/m-p/1626471#M32898</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="268190" data-lia-user-login="sheenajose" class="lia-mention lia-mention-user"&gt;sheenajose&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd need to see some sample data with the expected result&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up 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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 15:16:43 GMT</pubDate>
    <dc:creator>AlB</dc:creator>
    <dc:date>2021-01-27T15:16:43Z</dc:date>
    <item>
      <title>multiple if condition with AND, cointains, endwith operator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/multiple-if-condition-with-AND-cointains-endwith-operator/m-p/1626161#M32883</link>
      <description>&lt;P&gt;how to achieve the below if condition in power bi through Custom Column or Condition column&lt;/P&gt;&lt;P&gt;if my dept column end with hr or lab AND the title column contains admin then the result is pass else fail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF TEXT.ENDWITH([columnDept] = "hr" AND TEXT.CONTAIN([columnTitle] = "admin" then "pass"&amp;nbsp;&lt;/P&gt;&lt;P&gt;ELSE IF TEXT.ENDWITH([columnDept] = "lab" AND TEXT.CONTAIN([columnTitle] = "admin" then "pass"&amp;nbsp;&lt;/P&gt;&lt;P&gt;ELSE "fail"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 12:48:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/multiple-if-condition-with-AND-cointains-endwith-operator/m-p/1626161#M32883</guid>
      <dc:creator>sheenajose</dc:creator>
      <dc:date>2021-01-27T12:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: multiple if condition with AND, cointains, endwith operator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/multiple-if-condition-with-AND-cointains-endwith-operator/m-p/1626213#M32885</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="268190" data-lia-user-login="sheenajose" class="lia-mention lia-mention-user"&gt;sheenajose&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;= if (Text.EndsWith([columnDept], "hr")  or Text.EndsWith([columnDept], "lab")) and Text.Contains([columnTitle], "admin") then "pass" else "fail"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up 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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 13:10:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/multiple-if-condition-with-AND-cointains-endwith-operator/m-p/1626213#M32885</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-01-27T13:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: multiple if condition with AND, cointains, endwith operator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/multiple-if-condition-with-AND-cointains-endwith-operator/m-p/1626471#M32898</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="268190" data-lia-user-login="sheenajose" class="lia-mention lia-mention-user"&gt;sheenajose&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd need to see some sample data with the expected result&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up 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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 15:16:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/multiple-if-condition-with-AND-cointains-endwith-operator/m-p/1626471#M32898</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-01-27T15:16:43Z</dc:date>
    </item>
  </channel>
</rss>

