<?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: Average of a calculated measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086319#M107897</link>
    <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="455623" data-lia-user-login="kasfour" class="lia-mention lia-mention-user"&gt;kasfour&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The average of what measure?&lt;/P&gt;&lt;P&gt;Or what measure do you have in your lower bar chart? How is it defined?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Feb 2023 00:39:13 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2023-02-19T00:39:13Z</dc:date>
    <item>
      <title>Average of a calculated measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086269#M107894</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to calculate the average of all services below 100%. Each month I have those services on the dashboard as shown below.&lt;/P&gt;&lt;P&gt;Is there a way to calculate the average and place it on a card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate you help.&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;</description>
      <pubDate>Sat, 18 Feb 2023 20:28:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086269#M107894</guid>
      <dc:creator>kasfour</dc:creator>
      <dc:date>2023-02-18T20:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Average of a calculated measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086319#M107897</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="455623" data-lia-user-login="kasfour" class="lia-mention lia-mention-user"&gt;kasfour&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The average of what measure?&lt;/P&gt;&lt;P&gt;Or what measure do you have in your lower bar chart? How is it defined?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 00:39:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086319#M107897</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-19T00:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Average of a calculated measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086464#M107921</link>
      <description>&lt;P&gt;I measure the services uptime monthly using the below function&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;Uptime = &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Uptime YTD'&lt;/SPAN&gt;&lt;SPAN&gt;[DOWNTIMEin minutes]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[DayDiff(Minutes)]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)"&lt;/SPAN&gt;&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;</description>
      <pubDate>Sun, 19 Feb 2023 10:39:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086464#M107921</guid>
      <dc:creator>kasfour</dc:creator>
      <dc:date>2023-02-19T10:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average of a calculated measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086533#M107934</link>
      <description>&lt;P&gt;I measure the services uptime monthly using the below function&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;Uptime =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Uptime YTD'&lt;/SPAN&gt;&lt;SPAN&gt;[DOWNTIMEin minutes]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[DayDiff(Minutes)]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)"&lt;/SPAN&gt;&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;</description>
      <pubDate>Sun, 19 Feb 2023 13:24:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086533#M107934</guid>
      <dc:creator>kasfour</dc:creator>
      <dc:date>2023-02-19T13:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Average of a calculated measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086557#M107940</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="455623" data-lia-user-login="kasfour" class="lia-mention lia-mention-user"&gt;kasfour&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you may try&lt;/P&gt;
&lt;P&gt;Uptime =&lt;/P&gt;
&lt;P&gt;AVERAGEX (&lt;/P&gt;
&lt;P&gt;VALUES ( 'Date'[YearMonth] ),&lt;/P&gt;
&lt;P&gt;CALCULATE (&lt;/P&gt;
&lt;P&gt;VAR Uptime =&amp;nbsp;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Uptime YTD'&lt;/SPAN&gt;&lt;SPAN&gt;[DOWNTIMEin minutes]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[DayDiff(Minutes)]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;IF (&lt;/P&gt;
&lt;P&gt;Uptime &amp;lt; 1,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Uptime&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 14:54:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086557#M107940</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-19T14:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Average of a calculated measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086647#M107949</link>
      <description>&lt;P&gt;Thank you &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;. The below error showed when trying to add this measure&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;</description>
      <pubDate>Sun, 19 Feb 2023 18:52:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086647#M107949</guid>
      <dc:creator>kasfour</dc:creator>
      <dc:date>2023-02-19T18:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Average of a calculated measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086660#M107951</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="455623" data-lia-user-login="kasfour" class="lia-mention lia-mention-user"&gt;kasfour&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The MonthYear column is from which table. Replace 'Table'[Column] below with the real name of that column&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Uptime =
AVERAGEX (
    VALUES ( 'Table'[Column] ),
    CALCULATE (
        VAR Uptime =
            1 - DIVIDE ( SUM ( 'Uptime YTD'[DOWNTIMEin minutes] ), [DayDiff(Minutes)], 0 )
        RETURN
            IF ( Uptime &amp;lt; 1, Uptime )
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 19 Feb 2023 19:23:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3086660#M107951</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-19T19:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Average of a calculated measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3087347#M107988</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;. However the result is different than what I expected. The measure is called Avg. Uptime shown below. I expected the average to be taken from the services with lower than 100% only. In that example below the avg should have been (99.85+99.72+99.66)/3 = 99.74%&lt;/P&gt;&lt;P&gt;I guess the solution is close now :). Thank you so much for your help so far.&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;</description>
      <pubDate>Mon, 20 Feb 2023 07:55:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3087347#M107988</guid>
      <dc:creator>kasfour</dc:creator>
      <dc:date>2023-02-20T07:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Average of a calculated measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3087561#M108008</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="455623" data-lia-user-login="kasfour" class="lia-mention lia-mention-user"&gt;kasfour&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Sorry for the late response. I was stuck&amp;nbsp;in a couple of meetings.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me try understand the column chart visual. Previously I thought it is sliced by YearMonth which means each column (bar) is a actually a month. Having 3 columns means that there are minimum 3 months building up the filter context, however I can see that the date slicer is showing the dates of only one month (2023-Jan). Would you please clarify this point.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 09:34:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-a-calculated-measure/m-p/3087561#M108008</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-20T09:34:02Z</dc:date>
    </item>
  </channel>
</rss>

