<?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: Standard Devation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Standard-Devation/m-p/3025804#M103172</link>
    <description>&lt;P&gt;Here's a measure expression that shows one way to do it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SD P3M =
VAR vMaxDate =
    MAX ( 'Date'[Date] )
VAR tP3M =
    CALCULATETABLE (
        ADDCOLUMNS ( VALUES ( 'Date'[YearMonth] ), "cTotSales", [Total Sales] ),
        ALL ( 'Date' ),
        'Date'[Date] &amp;lt;= vMaxDate
            &amp;amp;&amp;amp; 'Date'[Date]
                &amp;gt;= EOMONTH ( vMaxDate, -3 ) + 1
    )
RETURN
    IF ( COUNTROWS ( tP3M ) = 3, STDEVX.S ( tP3M, [cTotSales] ) )&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 13:08:45 GMT</pubDate>
    <dc:creator>ppm1</dc:creator>
    <dc:date>2023-01-17T13:08:45Z</dc:date>
    <item>
      <title>Standard Devation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Standard-Devation/m-p/3025670#M103161</link>
      <description>&lt;P&gt;I have 3 months rolling average. I need to Calculate Standard Devation for 3 months rolling average. I'm using custom calender.&lt;/P&gt;&lt;P&gt;Please, help on this.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 12:08:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Standard-Devation/m-p/3025670#M103161</guid>
      <dc:creator>Kethireddy334</dc:creator>
      <dc:date>2023-01-17T12:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Devation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Standard-Devation/m-p/3025804#M103172</link>
      <description>&lt;P&gt;Here's a measure expression that shows one way to do it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SD P3M =
VAR vMaxDate =
    MAX ( 'Date'[Date] )
VAR tP3M =
    CALCULATETABLE (
        ADDCOLUMNS ( VALUES ( 'Date'[YearMonth] ), "cTotSales", [Total Sales] ),
        ALL ( 'Date' ),
        'Date'[Date] &amp;lt;= vMaxDate
            &amp;amp;&amp;amp; 'Date'[Date]
                &amp;gt;= EOMONTH ( vMaxDate, -3 ) + 1
    )
RETURN
    IF ( COUNTROWS ( tP3M ) = 3, STDEVX.S ( tP3M, [cTotSales] ) )&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 13:08:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Standard-Devation/m-p/3025804#M103172</guid>
      <dc:creator>ppm1</dc:creator>
      <dc:date>2023-01-17T13:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Devation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Standard-Devation/m-p/3028081#M103336</link>
      <description>&lt;P&gt;Hi Pat,&lt;/P&gt;&lt;P&gt;Thanks for your reply but It's not working.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mavg("Fact table"."TRX_VALUE_USD"/1000000,3)-STDDEV(Mavg("Fact table"."TRX_VALUE_USD"/1000000,3))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;this one created in OAC, I need to create same thing dax. Please, help me on this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 08:47:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Standard-Devation/m-p/3028081#M103336</guid>
      <dc:creator>Kethireddy334</dc:creator>
      <dc:date>2023-01-18T08:47:17Z</dc:date>
    </item>
  </channel>
</rss>

