<?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 Summarize a calculated measure using average instead of SUM in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-a-calculated-measure-using-average-instead-of-SUM/m-p/1705972#M35174</link>
    <description>&lt;P&gt;I have the following DAX that give the utilization of my team. It works well when slicing by individuals but when I try to do a grouping of them it adds up all of the percentages instead of averaging them. Is there a way to force DAX to average them instead of sum them? The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;TIMESHEETS&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table has the hours booked by my team and there are multiple rows per day and per person.&lt;/P&gt;&lt;PRE&gt;Utilization = 
CALCULATE (
    DIVIDE (
        SUM ( TIMESHEETS[Hours] ),
         (
            CALCULATE (
                DISTINCTCOUNT ( TIMESHEETS[Actual Date] ),
                'Calendar (Actual Date)'[Weekday/Weekend] = "Weekday"
            ) * 7.5
        )
    ),
    'Calendar (Actual Date)'[Weekday/Weekend] = "Weekday",
    'CHARGE CODES'[Billable/Non-Billable] = "Billable"
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Mar 2021 15:45:32 GMT</pubDate>
    <dc:creator>mattao44</dc:creator>
    <dc:date>2021-03-05T15:45:32Z</dc:date>
    <item>
      <title>Summarize a calculated measure using average instead of SUM</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-a-calculated-measure-using-average-instead-of-SUM/m-p/1705972#M35174</link>
      <description>&lt;P&gt;I have the following DAX that give the utilization of my team. It works well when slicing by individuals but when I try to do a grouping of them it adds up all of the percentages instead of averaging them. Is there a way to force DAX to average them instead of sum them? The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;TIMESHEETS&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table has the hours booked by my team and there are multiple rows per day and per person.&lt;/P&gt;&lt;PRE&gt;Utilization = 
CALCULATE (
    DIVIDE (
        SUM ( TIMESHEETS[Hours] ),
         (
            CALCULATE (
                DISTINCTCOUNT ( TIMESHEETS[Actual Date] ),
                'Calendar (Actual Date)'[Weekday/Weekend] = "Weekday"
            ) * 7.5
        )
    ),
    'Calendar (Actual Date)'[Weekday/Weekend] = "Weekday",
    'CHARGE CODES'[Billable/Non-Billable] = "Billable"
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 15:45:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-a-calculated-measure-using-average-instead-of-SUM/m-p/1705972#M35174</guid>
      <dc:creator>mattao44</dc:creator>
      <dc:date>2021-03-05T15:45:32Z</dc:date>
    </item>
  </channel>
</rss>

