<?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 Come up with a score based on measures condition in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1557806#M30895</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to score a server based on certain parameters, for example if below measures satifies the condition, then Server's score is 100 , otherwise assign a lower score. Can i use variables to assign a score ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : I am comparing below measures against the threshold limit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[CPU_Utlization] &amp;lt; 80%&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Memory used] &amp;lt; 80%&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Disk Used] &amp;lt; 75%&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Failures] = 0&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2020 23:30:33 GMT</pubDate>
    <dc:creator>Suprith</dc:creator>
    <dc:date>2020-12-17T23:30:33Z</dc:date>
    <item>
      <title>Come up with a score based on measures condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1557806#M30895</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to score a server based on certain parameters, for example if below measures satifies the condition, then Server's score is 100 , otherwise assign a lower score. Can i use variables to assign a score ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : I am comparing below measures against the threshold limit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[CPU_Utlization] &amp;lt; 80%&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Memory used] &amp;lt; 80%&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Disk Used] &amp;lt; 75%&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Failures] = 0&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 23:30:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1557806#M30895</guid>
      <dc:creator>Suprith</dc:creator>
      <dc:date>2020-12-17T23:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Come up with a score based on measures condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1558022#M30902</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="47978" data-lia-user-login="Suprith" class="lia-mention lia-mention-user"&gt;Suprith&lt;/a&gt; , if the above are columns create a new column, if they are measure create a new measure &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Switch( True (),&lt;BR /&gt;[CPU_Utlization] &amp;lt; .8 &amp;amp;&amp;amp; [Memory used] .8 &amp;amp;&amp;amp; [Disk Used] &amp;lt; .75 &amp;amp;&amp;amp; [Failures] = 0 , 100 ,&lt;BR /&gt;[CPU_Utlization] &amp;lt; .8 &amp;amp;&amp;amp; [Memory used] .8 &amp;amp;&amp;amp; [Disk Used] &amp;lt; .75 &amp;amp;&amp;amp; [Failures] &amp;lt;=5 , 90 , // Say &lt;BR /&gt;0&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 03:28:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1558022#M30902</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-12-18T03:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Come up with a score based on measures condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1558075#M30904</link>
      <description>&lt;P&gt;Thanks Amit, but is there a way we can start adding up a score, say&lt;/P&gt;&lt;P&gt;if CPU &amp;lt; 80%, Score = 10&lt;/P&gt;&lt;P&gt;if Memory &amp;lt; 80%, Score = 10 + 10 = 20&lt;/P&gt;&lt;P&gt;if Disk &amp;gt; 80% , then score = 20+ 5 (instead of 10 as it is above the threshold) , finally return the score&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 04:29:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1558075#M30904</guid>
      <dc:creator>Suprith</dc:creator>
      <dc:date>2020-12-18T04:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Come up with a score based on measures condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1558213#M30905</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="47978" data-lia-user-login="Suprith" class="lia-mention lia-mention-user"&gt;Suprith&lt;/a&gt; , Create like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Switch( True (),&lt;BR /&gt;[CPU_Utlization] &amp;lt; .8 , 10 ,&lt;BR /&gt;[CPU_Utlization] &amp;lt; .9 , 9 , // Say&lt;BR /&gt;0&lt;BR /&gt;) + Switch( True (),&lt;BR /&gt;[Memory used] &amp;lt;.8 , 10 ,&lt;BR /&gt;[Memory used]&amp;lt; .9 , 9 , // Say&lt;BR /&gt;0&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 05:41:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1558213#M30905</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-12-18T05:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Come up with a score based on measures condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1558378#M30907</link>
      <description>&lt;P&gt;Thanks Amit, will try this and let you know the outcome. Much Appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 07:04:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1558378#M30907</guid>
      <dc:creator>Suprith</dc:creator>
      <dc:date>2020-12-18T07:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Come up with a score based on measures condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1559982#M30962</link>
      <description>&lt;P&gt;It worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; , thanks a lot for your help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 17:50:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Come-up-with-a-score-based-on-measures-condition/m-p/1559982#M30962</guid>
      <dc:creator>Suprith</dc:creator>
      <dc:date>2020-12-18T17:50:35Z</dc:date>
    </item>
  </channel>
</rss>

