<?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 time per maschine and per task in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-time-per-maschine-and-per-task/m-p/2282196#M55864</link>
    <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just started my Power BI journey. I am trying to calculate the average time a specific maschine needed to complete a specifict task in order to compare it with the planned data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the screen shot below you can see my sample data, which includes:&lt;/P&gt;&lt;P&gt;- 5 different Maschine types (A, B C, D an E)&lt;/P&gt;&lt;P&gt;- 3 different Tasks (Nr 1, 2 and 3)&lt;/P&gt;&lt;P&gt;- Time needed for completing the task&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;Since there are many more maschine types and tasks in my real data set, I am looking for a way to build a table or a matrix, where I do not have to manually write the reffered machine ( = "Maschine A") or task, into the function. Any ideas how to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 17:08:15 GMT</pubDate>
    <dc:creator>JM94</dc:creator>
    <dc:date>2022-01-13T17:08:15Z</dc:date>
    <item>
      <title>Calculate average time per maschine and per task</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-time-per-maschine-and-per-task/m-p/2282196#M55864</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just started my Power BI journey. I am trying to calculate the average time a specific maschine needed to complete a specifict task in order to compare it with the planned data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the screen shot below you can see my sample data, which includes:&lt;/P&gt;&lt;P&gt;- 5 different Maschine types (A, B C, D an E)&lt;/P&gt;&lt;P&gt;- 3 different Tasks (Nr 1, 2 and 3)&lt;/P&gt;&lt;P&gt;- Time needed for completing the task&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;Since there are many more maschine types and tasks in my real data set, I am looking for a way to build a table or a matrix, where I do not have to manually write the reffered machine ( = "Maschine A") or task, into the function. Any ideas how to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 17:08:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-time-per-maschine-and-per-task/m-p/2282196#M55864</guid>
      <dc:creator>JM94</dc:creator>
      <dc:date>2022-01-13T17:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate average time per maschine and per task</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-time-per-maschine-and-per-task/m-p/2282360#M55872</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Since measures work using current filter context a basic average measure should do what you want:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example data:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Dax:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AverageTime = &lt;/SPAN&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MachineAverage[Time]&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;End result:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;P&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Jan 2022 19:03:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-time-per-maschine-and-per-task/m-p/2282360#M55872</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-13T19:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate average time per maschine and per task</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-time-per-maschine-and-per-task/m-p/2282372#M55873</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="351604" data-lia-user-login="JM94" class="lia-mention lia-mention-user"&gt;JM94&lt;/a&gt;&amp;nbsp; use the following measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Avg by Maschine and task =
CALCULATE (
    AVERAGE ( tbl[Time] ),
    ALLEXCEPT ( tbl, tbl[Maschine], tbl[Task Nr.] )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Jan 2022 19:09:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-time-per-maschine-and-per-task/m-p/2282372#M55873</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2022-01-13T19:09:48Z</dc:date>
    </item>
  </channel>
</rss>

