<?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: Maintenance Revenue to exclude ...... in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Maintenance-Revenue-to-exclude/m-p/1785625#M37523</link>
    <description>&lt;P&gt;Thanks David.&amp;nbsp; It was very helpful.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 22:32:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-04-14T22:32:55Z</dc:date>
    <item>
      <title>Maintenance Revenue to exclude ......</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Maintenance-Revenue-to-exclude/m-p/1785326#M37498</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;From the code below my goal is to exclude &lt;U&gt;&lt;STRONG&gt;"Grip" and "RH RECURE DATABASE SERVICE"&lt;/STRONG&gt; &lt;/U&gt;from Maint_Revenue column&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is the slice of code that needs to be updated to&amp;nbsp; exclude Grip and RH RECURE DATABASE SERVICE&lt;/DIV&gt;&lt;DIV&gt;I have applied "||" as the logical operator to create an OR condition which may not be right.&lt;/DIV&gt;&lt;DIV&gt;What's would be the best way to write this code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Maint_Revenue", IF(NOT(LEFT(Contract_Items[QT Package],4)="Grip" || "RH RECURE DATABASE SERVICE"), Contract_Items[Price Monthly], 0),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 18:43:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Maintenance-Revenue-to-exclude/m-p/1785326#M37498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-14T18:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Maintenance Revenue to exclude ......</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Maintenance-Revenue-to-exclude/m-p/1785474#M37507</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Maint_Revenue =
IF (
    NOT ( LEFT ( Contract_Items[QT Package], 4 ) = "Grip" ) &amp;amp;&amp;amp;
      NOT ( Contract_Items[QT Package] = "RH RECURE DATABASE SERVICE" ),
    Contract_Items[Price Monthly],
    0
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;David&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 20:52:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Maintenance-Revenue-to-exclude/m-p/1785474#M37507</guid>
      <dc:creator>dedelman_clng</dc:creator>
      <dc:date>2021-04-14T20:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Maintenance Revenue to exclude ......</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Maintenance-Revenue-to-exclude/m-p/1785625#M37523</link>
      <description>&lt;P&gt;Thanks David.&amp;nbsp; It was very helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 22:32:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Maintenance-Revenue-to-exclude/m-p/1785625#M37523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-14T22:32:55Z</dc:date>
    </item>
  </channel>
</rss>

