<?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: Measure IF statement not working as expected in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654567#M78391</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please try replacing all of &amp;amp;&amp;amp; in your meausre with ||&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=&amp;gt; instead of using AND function, please try using OR function. In this case, the measure contains more than 2 of OR condition, so please try using ||&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2022 02:39:47 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2022-07-22T02:39:47Z</dc:date>
    <item>
      <title>Measure IF statement not working as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654563#M78390</link>
      <description>&lt;P&gt;Hi, this is my first time posting an issue. I'm not a very experienced user with creating new measures in Power BI and have tried searching all the posts to help resolve my problem without any success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table where I have created measures already for how many days it takes to close a case. I am trying to create another measure with true or false to show whether it was closed within the specified timeframe. However it's returning false for all results.&lt;/P&gt;&lt;P&gt;It should be anything between 0 and 3 = true, blank or greater than 3 = false. I previously had the formula as &amp;lt;=3 and it seemed to work fine except blanks where showing as true.&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;</description>
      <pubDate>Fri, 22 Jul 2022 02:31:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654563#M78390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-22T02:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Measure IF statement not working as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654567#M78391</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please try replacing all of &amp;amp;&amp;amp; in your meausre with ||&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=&amp;gt; instead of using AND function, please try using OR function. In this case, the measure contains more than 2 of OR condition, so please try using ||&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 02:39:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654567#M78391</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-07-22T02:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Measure IF statement not working as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654572#M78392</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using || instead of &amp;amp;&amp;amp; and it just made all the values as true.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 02:48:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654572#M78392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-22T02:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Measure IF statement not working as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654577#M78394</link>
      <description>&lt;P&gt;Sorry, I refreshed again and I am getting the correct results expect thank anything with a blank value is coming up as true and I want this to be false.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 02:52:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654577#M78394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-22T02:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Measure IF statement not working as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654606#M78395</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your message.&lt;/P&gt;
&lt;P&gt;Please replace =0 with ==0&lt;/P&gt;
&lt;P&gt;Zero is considered as blank as well, but if you only want to restrict to NUMBER ZERO only but not a Blank, then try writing ==0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 03:09:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-IF-statement-not-working-as-expected/m-p/2654606#M78395</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-07-22T03:09:05Z</dc:date>
    </item>
  </channel>
</rss>

