<?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 IF OR Dax Measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-OR-Dax-Measure/m-p/4302510#M170830</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how I can write the below Excel formula into a DAX Measure i'm struggling to select information for Column D2&amp;nbsp;&lt;/P&gt;&lt;P&gt;as it keeps providing a function instead of the column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;=IF(OR(I2&amp;gt;=D2),0,5*E2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks E&lt;/P&gt;</description>
    <pubDate>Tue, 26 Nov 2024 15:53:06 GMT</pubDate>
    <dc:creator>EMaker</dc:creator>
    <dc:date>2024-11-26T15:53:06Z</dc:date>
    <item>
      <title>IF OR Dax Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-OR-Dax-Measure/m-p/4302510#M170830</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how I can write the below Excel formula into a DAX Measure i'm struggling to select information for Column D2&amp;nbsp;&lt;/P&gt;&lt;P&gt;as it keeps providing a function instead of the column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;=IF(OR(I2&amp;gt;=D2),0,5*E2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks E&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 15:53:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-OR-Dax-Measure/m-p/4302510#M170830</guid>
      <dc:creator>EMaker</dc:creator>
      <dc:date>2024-11-26T15:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: IF OR Dax Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-OR-Dax-Measure/m-p/4302731#M170846</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="866639" data-lia-user-login="EMaker" class="lia-mention lia-mention-user"&gt;EMaker&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please try this approach:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CalculatedMeasure = 
IF(
    OR(
        MAX(Table[I]) &amp;gt;= MAX(Table[D]),
        ISBLANK(MAX(Table[D]))         
    ),
    0,                                  
    5 * MAX(Table[E])                   
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 26 Nov 2024 18:18:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-OR-Dax-Measure/m-p/4302731#M170846</guid>
      <dc:creator>Sahir_Maharaj</dc:creator>
      <dc:date>2024-11-26T18:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: IF OR Dax Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-OR-Dax-Measure/m-p/4303406#M170872</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="866639" data-lia-user-login="EMaker" class="lia-mention lia-mention-user"&gt;EMaker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're trying to create a DAX measure:&lt;/P&gt;&lt;PRE&gt;Measure Formula = &lt;BR /&gt;SUMX(&lt;BR /&gt;YourTable,&lt;BR /&gt;IF(&lt;BR /&gt;OR(YourTable[I] &amp;gt;= YourTable[D], FALSE), &lt;BR /&gt;0, &lt;BR /&gt;5 * YourTable[E]&lt;BR /&gt;)&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;If you want to create a calculated column:&lt;/P&gt;&lt;PRE&gt;Calculated Column Formula = &lt;BR /&gt;IF(&lt;BR /&gt;OR(YourTable[I] &amp;gt;= YourTable[D], FALSE), &lt;BR /&gt;0, &lt;BR /&gt;5 * YourTable[E]&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":love_letter:"&gt;💌&lt;/span&gt; If this helped, a Kudos &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; or Solution mark would be great! &lt;span class="lia-unicode-emoji" title=":party_popper:"&gt;🎉&lt;/span&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Kedar&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/kedar-pande" target="_blank" rel="noopener"&gt;Connect on LinkedIn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 05:54:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-OR-Dax-Measure/m-p/4303406#M170872</guid>
      <dc:creator>Kedar_Pande</dc:creator>
      <dc:date>2024-11-27T05:54:14Z</dc:date>
    </item>
  </channel>
</rss>

