<?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 Calculate average in a calculated column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-in-a-calculated-column/m-p/4023232#M158777</link>
    <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck on some calculations, please help me out&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is the result&amp;gt; (Average+2*STD.DEV) and result&amp;lt; (Average-2*STD.DEV) if both are true then the result is yes or no&lt;/P&gt;&lt;P&gt;Here the result is the value of the row&amp;nbsp;&lt;/P&gt;&lt;P&gt;And average is average of the value within one component and standard deviation is deviation of the value within one component&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here to calculate the outlier what is best a calculated column or a measure&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also can anyone help with the dax on how to compare the values&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; Above are the calculations and nab free are components&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should be able to get by outlier based on the above calculation&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I want to have a slicer of the same to filter&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone know how to do all the calculations&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help is appreciated&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2024 06:33:49 GMT</pubDate>
    <dc:creator>Navyaragamm</dc:creator>
    <dc:date>2024-07-05T06:33:49Z</dc:date>
    <item>
      <title>Calculate average in a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-in-a-calculated-column/m-p/4023232#M158777</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck on some calculations, please help me out&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is the result&amp;gt; (Average+2*STD.DEV) and result&amp;lt; (Average-2*STD.DEV) if both are true then the result is yes or no&lt;/P&gt;&lt;P&gt;Here the result is the value of the row&amp;nbsp;&lt;/P&gt;&lt;P&gt;And average is average of the value within one component and standard deviation is deviation of the value within one component&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here to calculate the outlier what is best a calculated column or a measure&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also can anyone help with the dax on how to compare the values&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; Above are the calculations and nab free are components&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should be able to get by outlier based on the above calculation&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I want to have a slicer of the same to filter&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone know how to do all the calculations&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help is appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 06:33:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-in-a-calculated-column/m-p/4023232#M158777</guid>
      <dc:creator>Navyaragamm</dc:creator>
      <dc:date>2024-07-05T06:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate average in a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-in-a-calculated-column/m-p/4023264#M158778</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="761900" data-lia-user-login="Navyaragamm" class="lia-mention lia-mention-user"&gt;Navyaragamm&lt;/a&gt;&amp;nbsp;,&amp;nbsp; perhaps you mistakenly added your Excel post to the Fabric Community where the Community Members focus upon all things Microsoft Fabric related.&amp;nbsp; &amp;nbsp; &amp;nbsp;For your convienience we are supplying the link to the&amp;nbsp;&lt;A href="https://techcommunity.microsoft.com/t5/excel/bd-p/ExcelGeneral" target="_blank"&gt;Excel (microsoft.com)&lt;/A&gt;&amp;nbsp;Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 15:43:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-in-a-calculated-column/m-p/4023264#M158778</guid>
      <dc:creator>foodd</dc:creator>
      <dc:date>2024-07-03T15:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate average in a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-in-a-calculated-column/m-p/4023278#M158779</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="89602" data-lia-user-login="foodd" class="lia-mention lia-mention-user"&gt;foodd&lt;/a&gt;&amp;nbsp;&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;&lt;P&gt;Excel sheet was an example of the calculations,i want to replicate it in the power bi desktop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried calculating it the power bi taking upper and lower dax measures and in a calculated column I have done the comparison but all I get is No&lt;/P&gt;&lt;P&gt;Upper =&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Var avg = average(data[value])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Var std = stddev.p(data[value])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Return avg+2* std&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Same for lower&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then in the calculater column I have used&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Outlier = if(data[value])&amp;gt; upper &amp;amp;&amp;amp; data[Value]&amp;lt; lower , " Yes" , "No")&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;&lt;P&gt;If I take this the measure instead of column the visuals are loading And I also want a slicer of the outlier field&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 16:04:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-in-a-calculated-column/m-p/4023278#M158779</guid>
      <dc:creator>Navyaragamm</dc:creator>
      <dc:date>2024-07-03T16:04:22Z</dc:date>
    </item>
  </channel>
</rss>

