<?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 conditions to check in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-conditions-to-check/m-p/3581233#M138141</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="657982" data-lia-user-login="Navin_C" class="lia-mention lia-mention-user"&gt;Navin_C&lt;/a&gt;&amp;nbsp;If it worked for you then please mark that as an accepted solution so that other users can find it more easily.&lt;BR /&gt;&lt;BR /&gt;Thank You!&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 07:01:29 GMT</pubDate>
    <dc:creator>devesh_gupta</dc:creator>
    <dc:date>2023-12-13T07:01:29Z</dc:date>
    <item>
      <title>Multiple conditions to check</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-conditions-to-check/m-p/3574112#M137784</link>
      <description>&lt;P&gt;Hello All, need help in calcualting value based on multiple conditions mentioned below ... Please advice&lt;/P&gt;&lt;P&gt;1&amp;gt; If "Cell Number" &amp;lt;&amp;gt; "NA", then&lt;/P&gt;&lt;P&gt;2&amp;gt; If "Pages" is &amp;gt;= "Min Pages", then&lt;/P&gt;&lt;P&gt;3&amp;gt; If "Cell" is = A, then&lt;/P&gt;&lt;P&gt;4&amp;gt; If "PEH" is &amp;lt;=8,"Q"*0.25,If "PEH" is &amp;lt;=10,"Q"*0.50,If "PEH" is &amp;lt;=12,"Q"*0.75,If "PEH" is &amp;lt;=14,"Q"*1.0, else&lt;/P&gt;&lt;P&gt;5&amp;gt;&amp;nbsp;If "Cell" is = B, then&lt;/P&gt;&lt;P&gt;6&amp;gt; If "PEH" is &amp;lt;=8,"Q"*0.20,If "PEH" is &amp;lt;=10,"Q"*0.40,If "PEH" is &amp;lt;=12,"Q"*0.65,If "PEH" is &amp;lt;=14,"Q"*1.0, else&lt;/P&gt;&lt;P&gt;7&amp;gt;&amp;nbsp;If "Cell" is = C, then&lt;/P&gt;&lt;P&gt;8&amp;gt; If "PEH" is &amp;lt;=10,"Q"*0.40,If "PEH" is &amp;lt;=12,"Q"*0.60,If "PEH" is &amp;lt;=14,"Q"*0.85,If "PEH" is &amp;lt;=16,"Q"*1.0,&lt;/P&gt;&lt;P&gt;9&amp;gt; else "Q"&lt;/P&gt;&lt;P&gt;10&amp;gt; else "0"&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 08:51:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-conditions-to-check/m-p/3574112#M137784</guid>
      <dc:creator>Navin_C</dc:creator>
      <dc:date>2023-12-08T08:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple conditions to check</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-conditions-to-check/m-p/3574299#M137793</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="657982" data-lia-user-login="Navin_C" class="lia-mention lia-mention-user"&gt;Navin_C&lt;/a&gt;&amp;nbsp;You can write a DAX formula like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;value
=IF([Cell Number]&amp;lt;&amp;gt;"NA",
    IF([Pages]&amp;gt;=[Min Pages],
        SWITCH([Cell],
            "A", SWITCH(TRUE(),
                        [PEH]&amp;lt;=8,"Q"*0.25,
                        [PEH]&amp;lt;=10,"Q"*0.50,
                        [PEH]&amp;lt;=12,"Q"*0.75,
                        [PEH]&amp;lt;=14,"Q"*1.0,
                        "Q"
                    ),
            "B", SWITCH(TRUE(),
                        [PEH]&amp;lt;=8,"Q"*0.20,
                        [PEH]&amp;lt;=10,"Q"*0.40,
                        [PEH]&amp;lt;=12,"Q"*0.65,
                        [PEH]&amp;lt;=14,"Q"*1.0,
                        "Q"
                    ),
            "C", SWITCH(TRUE(),
                        [PEH]&amp;lt;=10,"Q"*0.40,
                        [PEH]&amp;lt;=12,"Q"*0.60,
                        [PEH]&amp;lt;=14,"Q"*0.85,
                        [PEH]&amp;lt;=16,"Q"*1.0,
                        "Q"
                    ),
            "Q"
        ),
        "0"
    ),
    "0"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you find this insightful, please provide a Kudo and accept this as a solution.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 11:12:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-conditions-to-check/m-p/3574299#M137793</guid>
      <dc:creator>devesh_gupta</dc:creator>
      <dc:date>2023-12-08T11:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple conditions to check</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-conditions-to-check/m-p/3577647#M137961</link>
      <description>&lt;P&gt;Thanks Devesh&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 13:46:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-conditions-to-check/m-p/3577647#M137961</guid>
      <dc:creator>Navin_C</dc:creator>
      <dc:date>2023-12-11T13:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple conditions to check</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-conditions-to-check/m-p/3581233#M138141</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="657982" data-lia-user-login="Navin_C" class="lia-mention lia-mention-user"&gt;Navin_C&lt;/a&gt;&amp;nbsp;If it worked for you then please mark that as an accepted solution so that other users can find it more easily.&lt;BR /&gt;&lt;BR /&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 07:01:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-conditions-to-check/m-p/3581233#M138141</guid>
      <dc:creator>devesh_gupta</dc:creator>
      <dc:date>2023-12-13T07:01:29Z</dc:date>
    </item>
  </channel>
</rss>

