<?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: Help Needed: DAX Measure to determine if SLA reached the target or not. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-DAX-Measure-to-determine-if-SLA-reached-the-target/m-p/2784197#M87192</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="431205" data-lia-user-login="Newbie22" class="lia-mention lia-mention-user"&gt;Newbie22&lt;/a&gt;&amp;nbsp; Try it&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_ConditionSLATarget = 
SWITCH(
    TRUE(),
[_SLA Summary Results] &amp;gt;= [Target],1,
[_SLA Summary Results] &amp;gt;= [_Minimum],0,
[_SLA Summary Results] &amp;lt; [_Minimum],-1) &lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 21 Sep 2022 14:21:32 GMT</pubDate>
    <dc:creator>DimaMD</dc:creator>
    <dc:date>2022-09-21T14:21:32Z</dc:date>
    <item>
      <title>Help Needed: DAX Measure to determine if SLA reached the target or not.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-DAX-Measure-to-determine-if-SLA-reached-the-target/m-p/2783999#M87178</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to ask for your help. I have data with different targets per SLA. Minimum column is also target but it's the minimum % an SLA must have.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I created a measure that I will use to create an icon (using conditional format) to determine if the SLA Summary results met the target or not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;_ConditionSLATarget =&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;MAXX('Monthly Summary',&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;IF('Monthly Summary'[_SLA Summary Results]&amp;nbsp;&amp;gt;=&amp;nbsp;'Monthly Summary'[Target],1,&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;IF('Monthly Summary'[_SLA Summary Results]&amp;nbsp;&amp;gt;=&amp;nbsp;'Monthly Summary'[Minimum],0,&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;IF('Monthly Summary'[_SLA Summary Results]&amp;nbsp;&amp;lt;&amp;nbsp;'Monthly Summary'[Minimum],-1))))&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;-----------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My Table is: 'Monthly Summary'&lt;/DIV&gt;&lt;DIV&gt;SLA measure is _SLA Summary Results&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DAX Formula for _SLA Summary Results below:&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;_SLA Summary Results =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;('Monthly Summary'[Met])/&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;('Monthly Summary'[Volume])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, there's something strange when I put it in a table. If you notice, DAT 1 SLA should be "-1" with a downward arrow because SLA Summary result of 85.32% did not meet the minimum target of 96%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I don't know what went wrong so I'd like to ask for your expertise on this matter.&amp;nbsp;Let me know if you need additional info. Thank you&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a screenshot of my conditional format for the icons in case you need.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 13:05:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-DAX-Measure-to-determine-if-SLA-reached-the-target/m-p/2783999#M87178</guid>
      <dc:creator>Newbie22</dc:creator>
      <dc:date>2022-09-21T13:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed: DAX Measure to determine if SLA reached the target or not.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-DAX-Measure-to-determine-if-SLA-reached-the-target/m-p/2784197#M87192</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="431205" data-lia-user-login="Newbie22" class="lia-mention lia-mention-user"&gt;Newbie22&lt;/a&gt;&amp;nbsp; Try it&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_ConditionSLATarget = 
SWITCH(
    TRUE(),
[_SLA Summary Results] &amp;gt;= [Target],1,
[_SLA Summary Results] &amp;gt;= [_Minimum],0,
[_SLA Summary Results] &amp;lt; [_Minimum],-1) &lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 21 Sep 2022 14:21:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-DAX-Measure-to-determine-if-SLA-reached-the-target/m-p/2784197#M87192</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-09-21T14:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed: DAX Measure to determine if SLA reached the target or not.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-DAX-Measure-to-determine-if-SLA-reached-the-target/m-p/2784561#M87217</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 15:48:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-DAX-Measure-to-determine-if-SLA-reached-the-target/m-p/2784561#M87217</guid>
      <dc:creator>Newbie22</dc:creator>
      <dc:date>2022-09-21T15:48:10Z</dc:date>
    </item>
  </channel>
</rss>

