<?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: Daily Results  vs. Total Results Average based on specific Day of Week and Category in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Daily-Results-vs-Total-Results-Average-based-on-specific-Day-of/m-p/2957582#M98316</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;Thank you for your reply. Unfortuantely, you reference links do not reference the average. The main issue has to do with the Average of all the values and comparing them the the daily total.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2022 19:51:43 GMT</pubDate>
    <dc:creator>Chrisjab28</dc:creator>
    <dc:date>2022-12-08T19:51:43Z</dc:date>
    <item>
      <title>Daily Results  vs. Total Results Average based on specific Day of Week and Category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Daily-Results-vs-Total-Results-Average-based-on-specific-Day-of/m-p/2957500#M98308</link>
      <description>&lt;P&gt;Hello Experts -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying unsuccessfully to calculate the variance between a daily customer count to the total average for a defined period (last 3 months) by day of week (i.e. Monday) and location (Site Name).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is an example of the data set and the desired outcome:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;Dataset&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;Desired Outcome:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far, I've tried a couple of formulas leveraging AVERAGEX and ALLEXCEPT &lt;U&gt;&lt;STRONG&gt;unsuccessfully&lt;/STRONG&gt;&lt;/U&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Avg Customers = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; AvgCustomers = &lt;/SPAN&gt;&lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt;('CUSTOMER PERFORMANCE',[Customer Count]) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;HASONEVALUE&lt;/SPAN&gt;&lt;SPAN&gt;('CUSTOMER PERFORMANCE'[Date]), &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;AvgCustomers,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sumx&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;('CUSTOMER PERFORMANCE'[Date]), AvgCustomers))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Daily Average Cutomer = CALCULATE([Avg Customers] , ALLEXCEPT('CUSTOMER PERFORMANCE','Calendar'[Date].[Date],'CUSTOMER PERFORMANCE'[Site]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If anyone can help, that would be greatly appreciated.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 18:45:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Daily-Results-vs-Total-Results-Average-based-on-specific-Day-of/m-p/2957500#M98308</guid>
      <dc:creator>Chrisjab28</dc:creator>
      <dc:date>2022-12-08T18:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Daily Results  vs. Total Results Average based on specific Day of Week and Category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Daily-Results-vs-Total-Results-Average-based-on-specific-Day-of/m-p/2957524#M98311</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="484017" data-lia-user-login="Chrisjab28" class="lia-mention lia-mention-user"&gt;Chrisjab28&lt;/a&gt;&amp;nbsp;First, please vote for this idea: &lt;A href="https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e" target="_blank"&gt;https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This looks like a measure totals problem. Very common. See my post about it here: &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also: &lt;A href="https://youtu.be/uXRriTN0cfY" target="_blank"&gt;https://youtu.be/uXRriTN0cfY&lt;/A&gt;&lt;BR /&gt;And: &lt;A href="https://youtu.be/n4TYhF2ARe8" target="_blank"&gt;https://youtu.be/n4TYhF2ARe8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 19:01:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Daily-Results-vs-Total-Results-Average-based-on-specific-Day-of/m-p/2957524#M98311</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-12-08T19:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Daily Results  vs. Total Results Average based on specific Day of Week and Category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Daily-Results-vs-Total-Results-Average-based-on-specific-Day-of/m-p/2957582#M98316</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;Thank you for your reply. Unfortuantely, you reference links do not reference the average. The main issue has to do with the Average of all the values and comparing them the the daily total.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 19:51:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Daily-Results-vs-Total-Results-Average-based-on-specific-Day-of/m-p/2957582#M98316</guid>
      <dc:creator>Chrisjab28</dc:creator>
      <dc:date>2022-12-08T19:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Daily Results  vs. Total Results Average based on specific Day of Week and Category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Daily-Results-vs-Total-Results-Average-based-on-specific-Day-of/m-p/2957676#M98325</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="484017" data-lia-user-login="Chrisjab28" class="lia-mention lia-mention-user"&gt;Chrisjab28&lt;/a&gt;&amp;nbsp;Right, so use AVERAGEX instead of SUMX&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 21:22:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Daily-Results-vs-Total-Results-Average-based-on-specific-Day-of/m-p/2957676#M98325</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-12-08T21:22:38Z</dc:date>
    </item>
  </channel>
</rss>

