<?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 Statements in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-IF-Statements/m-p/3514380#M134901</link>
    <description>&lt;P&gt;Here is your Solution with Switch function instead of using multiple If statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 11:43:25 GMT</pubDate>
    <dc:creator>MurtuzaMomin</dc:creator>
    <dc:date>2023-11-03T11:43:25Z</dc:date>
    <item>
      <title>Multiple IF Statements</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-IF-Statements/m-p/3514321#M134899</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to create a calculated column based on test results.&amp;nbsp; I believe I need multiple IF/AND type logical functions to create my DAX expression, but I cannot write this properly.&amp;nbsp; An example of the data is below, with the calculated column furthest right.&lt;/P&gt;&lt;P&gt;There are two types of test, Manual and Automated.&lt;/P&gt;&lt;P&gt;For a manual test, Result 1&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Operates = Pass&lt;/LI&gt;&lt;LI&gt;Partial = Warning&lt;/LI&gt;&lt;LI&gt;Stuck = Fail&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For an automated test Result 1 must = Operates&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Result 2 &amp;lt;40 = Pass,&lt;/LI&gt;&lt;LI&gt;40-50 = Warning,&lt;/LI&gt;&lt;LI&gt;&amp;gt;50 = Fail&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I appreciate some help generating the DAX for this.&lt;/P&gt;&lt;P&gt;Thank you&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 11:02:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-IF-Statements/m-p/3514321#M134899</guid>
      <dc:creator>Camstr</dc:creator>
      <dc:date>2023-11-03T11:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple IF Statements</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-IF-Statements/m-p/3514380#M134901</link>
      <description>&lt;P&gt;Here is your Solution with Switch function instead of using multiple If statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 11:43:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-IF-Statements/m-p/3514380#M134901</guid>
      <dc:creator>MurtuzaMomin</dc:creator>
      <dc:date>2023-11-03T11:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple IF Statements</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-IF-Statements/m-p/3514579#M134912</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="640919" data-lia-user-login="MurtuzaMomin" class="lia-mention lia-mention-user"&gt;MurtuzaMomin&lt;/a&gt;! SWITCH is a better way to go, works perfectly.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 14:03:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-IF-Statements/m-p/3514579#M134912</guid>
      <dc:creator>Camstr</dc:creator>
      <dc:date>2023-11-03T14:03:30Z</dc:date>
    </item>
  </channel>
</rss>

