<?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 How can I find out why standard deviation measure doesn't work? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-find-out-why-standard-deviation-measure-doesn-t-work/m-p/4112076#M163188</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Hello Everyone,&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I have 3 tables and appended on the top of each other. Each table I can identify with table_type column, so that I can use necessary aggregations by filtering them. They have attribute and value column so I can fetch the data in dax (please see below)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;_table =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ADDCOLUMNS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'Appended Table',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"IsNumeric"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ISERROR&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VALUE&lt;/SPAN&gt;&lt;SPAN&gt;('Appended Table'[Value]) ),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VALUE&lt;/SPAN&gt;&lt;SPAN&gt;('Appended Table'[Value]) ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Table Type"&lt;/SPAN&gt;&lt;SPAN&gt;, 'Appended Table'[Table_Type],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"UID"&lt;/SPAN&gt;&lt;SPAN&gt;, 'Appended Table'[Attribute]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;_measure =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;STDEVX.P&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(_table, [Table Type]=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"My Table"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [IsNumeric]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;_measure&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;okay I realize it works when I filter one category which values are&amp;nbsp;&lt;/P&gt;&lt;P&gt;0.170289855 and&amp;nbsp;0.239130435 and their standard deviation is 3.44%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and when I filter another category which values are&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&lt;BR /&gt;0.006122449&lt;BR /&gt;0.020408163&lt;BR /&gt;-0.037037037&lt;BR /&gt;-0.048247999&lt;BR /&gt;-0.092592593&lt;BR /&gt;-0.100040016&lt;BR /&gt;-0.123193614&lt;BR /&gt;-0.145365551&lt;BR /&gt;0.183673469&lt;BR /&gt;-0.195918367&lt;BR /&gt;0.285714286&lt;BR /&gt;0.287504476&lt;BR /&gt;-0.306122449&lt;BR /&gt;-0.322942857&lt;BR /&gt;0.36122449&lt;BR /&gt;-0.413793103&lt;BR /&gt;-0.624752187&lt;/P&gt;&lt;P&gt;and measure returns = 6.05% however when I look at excel and calculated std.p = 24.68%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to figure it out somehow... Since I'm sure I'm working on the right selected (filtered data) and not able to dissect the formula and try to replicate step by step...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I need your help= any ideas, directions will be much appreciated.&lt;BR /&gt;thank you !&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 21 Aug 2024 21:18:36 GMT</pubDate>
    <dc:creator>brickanalyst</dc:creator>
    <dc:date>2024-08-21T21:18:36Z</dc:date>
    <item>
      <title>How can I find out why standard deviation measure doesn't work?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-find-out-why-standard-deviation-measure-doesn-t-work/m-p/4112076#M163188</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Hello Everyone,&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I have 3 tables and appended on the top of each other. Each table I can identify with table_type column, so that I can use necessary aggregations by filtering them. They have attribute and value column so I can fetch the data in dax (please see below)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;_table =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ADDCOLUMNS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'Appended Table',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"IsNumeric"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ISERROR&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VALUE&lt;/SPAN&gt;&lt;SPAN&gt;('Appended Table'[Value]) ),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VALUE&lt;/SPAN&gt;&lt;SPAN&gt;('Appended Table'[Value]) ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Table Type"&lt;/SPAN&gt;&lt;SPAN&gt;, 'Appended Table'[Table_Type],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"UID"&lt;/SPAN&gt;&lt;SPAN&gt;, 'Appended Table'[Attribute]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;_measure =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;STDEVX.P&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(_table, [Table Type]=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"My Table"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [IsNumeric]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;_measure&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;okay I realize it works when I filter one category which values are&amp;nbsp;&lt;/P&gt;&lt;P&gt;0.170289855 and&amp;nbsp;0.239130435 and their standard deviation is 3.44%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and when I filter another category which values are&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&lt;BR /&gt;0.006122449&lt;BR /&gt;0.020408163&lt;BR /&gt;-0.037037037&lt;BR /&gt;-0.048247999&lt;BR /&gt;-0.092592593&lt;BR /&gt;-0.100040016&lt;BR /&gt;-0.123193614&lt;BR /&gt;-0.145365551&lt;BR /&gt;0.183673469&lt;BR /&gt;-0.195918367&lt;BR /&gt;0.285714286&lt;BR /&gt;0.287504476&lt;BR /&gt;-0.306122449&lt;BR /&gt;-0.322942857&lt;BR /&gt;0.36122449&lt;BR /&gt;-0.413793103&lt;BR /&gt;-0.624752187&lt;/P&gt;&lt;P&gt;and measure returns = 6.05% however when I look at excel and calculated std.p = 24.68%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to figure it out somehow... Since I'm sure I'm working on the right selected (filtered data) and not able to dissect the formula and try to replicate step by step...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I need your help= any ideas, directions will be much appreciated.&lt;BR /&gt;thank you !&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Aug 2024 21:18:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-find-out-why-standard-deviation-measure-doesn-t-work/m-p/4112076#M163188</guid>
      <dc:creator>brickanalyst</dc:creator>
      <dc:date>2024-08-21T21:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I find out why standard deviation measure doesn't work?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-find-out-why-standard-deviation-measure-doesn-t-work/m-p/4115572#M163368</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="714759" data-lia-user-login="brickanalyst" class="lia-mention lia-mention-user"&gt;brickanalyst&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please try the following approach:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VAR SelectedTable =
    FILTER(
        ADDCOLUMNS(
            'Appended Table',
            "IsNumeric", IF( ISERROR( VALUE('Appended Table'[Value]) ), BLANK(), VALUE('Appended Table'[Value]) )
        ),
        [Table Type] = "My Table" &amp;amp;&amp;amp; NOT(ISBLANK([IsNumeric]))
    )

VAR MeanValue =
    AVERAGEX(SelectedTable, [IsNumeric])

VAR VarianceValue =
    AVERAGEX(SelectedTable, ([IsNumeric] - MeanValue) * ([IsNumeric] - MeanValue))

VAR StdDeviation =
    SQRT(VarianceValue)

RETURN StdDeviation
&lt;/LI-CODE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 11:01:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-find-out-why-standard-deviation-measure-doesn-t-work/m-p/4115572#M163368</guid>
      <dc:creator>Sahir_Maharaj</dc:creator>
      <dc:date>2024-08-23T11:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I find out why standard deviation measure doesn't work?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-find-out-why-standard-deviation-measure-doesn-t-work/m-p/4117816#M163476</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="714759" data-lia-user-login="brickanalyst" class="lia-mention lia-mention-user"&gt;brickanalyst&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm checking how the things are going on about this issue. Whether the Sahir_Maharaj's answer helps you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you find any answer&amp;nbsp;is&amp;nbsp;helpful to you, please remember to accept&amp;nbsp;it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will help others who meet the similar question in this forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any problem, please feel free to let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your understanding!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 05:34:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-find-out-why-standard-deviation-measure-doesn-t-work/m-p/4117816#M163476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-26T05:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I find out why standard deviation measure doesn't work?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-find-out-why-standard-deviation-measure-doesn-t-work/m-p/4123481#M163738</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="501067" data-lia-user-login="Sahir_Maharaj" class="lia-mention lia-mention-user"&gt;Sahir_Maharaj&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hey Sahir, Thank you for reaching out!&amp;nbsp;&lt;BR /&gt;I used your measure on my report, it returns the same records with the measure I shared...&lt;BR /&gt;&lt;BR /&gt;There is one thing I'm CERTAIN&lt;BR /&gt;If we don't have any negative values =&amp;gt; Std deviation WORKS&lt;BR /&gt;If we have one single negative value=&amp;gt; It doesn't&lt;BR /&gt;&lt;BR /&gt;For your information&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 20:37:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-find-out-why-standard-deviation-measure-doesn-t-work/m-p/4123481#M163738</guid>
      <dc:creator>brickanalyst</dc:creator>
      <dc:date>2024-08-28T20:37:42Z</dc:date>
    </item>
  </channel>
</rss>

