<?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: Using STDEVX.P with a custom measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-STDEVX-P-with-a-custom-measure/m-p/2296055#M56597</link>
    <description>&lt;P&gt;ahh that easy huh? THANKS!!!!!!!!&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 17:13:52 GMT</pubDate>
    <dc:creator>jpurdue</dc:creator>
    <dc:date>2022-01-21T17:13:52Z</dc:date>
    <item>
      <title>Using STDEVX.P with a custom measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-STDEVX-P-with-a-custom-measure/m-p/2294365#M56513</link>
      <description>&lt;P&gt;Hello Everyone, I'm brand new to DAX and i'm trying to calculate SD. Can anyone help me out? Below are the details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataflow setup from a Database that puts the below columns in a table. The "Move_time" column and the "crane_id" column. The "Move_time" column is in a date format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the table looks like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Move_time&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp;Crane_ID&lt;/P&gt;&lt;P&gt;01:09&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;151&lt;/P&gt;&lt;P&gt;01:15&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;151&lt;/P&gt;&lt;P&gt;01:30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;120&lt;/P&gt;&lt;P&gt;02:09&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;120&lt;/P&gt;&lt;P&gt;02:10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;151&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a custom measure called&amp;nbsp;&lt;SPAN&gt;Count MoveTime = &lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(table&lt;/SPAN&gt;&lt;SPAN&gt;[Move_time]&lt;/SPAN&gt;&lt;SPAN&gt;) that I can use to count how many times each crane moved, so I can recap easily in reports. A recap would look like this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Crane_ID&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; Count MoveTime&lt;/P&gt;&lt;P&gt;151&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 603&lt;/P&gt;&lt;P&gt;120&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 201&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I can't simply run STDEVX.P on the (table[Move_time]) since it's a date, I'm kinda lost. How would I achieve this using the "Count MoveTime" measure?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 22:18:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-STDEVX-P-with-a-custom-measure/m-p/2294365#M56513</guid>
      <dc:creator>jpurdue</dc:creator>
      <dc:date>2022-01-20T22:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using STDEVX.P with a custom measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-STDEVX-P-with-a-custom-measure/m-p/2294636#M56529</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="353388" data-lia-user-login="jpurdue" class="lia-mention lia-mention-user"&gt;jpurdue&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you want the standard deviation of [Count MoveTime] per crane. Is that right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, you should provide the distinct values of Crane_ID as the first argument, and the [Count MoveTime] measure as the second argument.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Standard deviation of Count MoveTime per Crane = 
STDEVX.P (
    VALUES ( table[Crane_ID] ),
    [Count MoveTime]
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Owen&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 02:44:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-STDEVX-P-with-a-custom-measure/m-p/2294636#M56529</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2022-01-21T02:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using STDEVX.P with a custom measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-STDEVX-P-with-a-custom-measure/m-p/2296055#M56597</link>
      <description>&lt;P&gt;ahh that easy huh? THANKS!!!!!!!!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 17:13:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-STDEVX-P-with-a-custom-measure/m-p/2296055#M56597</guid>
      <dc:creator>jpurdue</dc:creator>
      <dc:date>2022-01-21T17:13:52Z</dc:date>
    </item>
  </channel>
</rss>

