<?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 Operations for Total results in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/Operations-for-Total-results/m-p/2625955#M80296</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about how to do this, I have a database with daily reports of the result, I have done a lot of summarized tables in order to show Monthly and weekly reports but I can´t show the result we need. This is the situation I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an example of a daily report :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case the Score is a calculated field with the relation between Actual vs Plan. (Score = Acual/plan x 100%)&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need is if I plot by date, or month or Office, the total Score must be calculated the same way and not the Average of all scores.&lt;/P&gt;&lt;P&gt;For example, the difference between the average of all Scores on the table and the calculation of the Score is:&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;At this moment if I want to calculate the Weekly score report by office I need to create a&amp;nbsp; summarized table form the original by "week" and "office" including the Sum( ) of all the actual and then the Sum( ) of all the plan, and then on this summarized table I create another "Score" calculated field and it works but I need to do this for each all the combinations: monthly report by office, Yearly report by seller, Weekly report region and Product, weekly by plant, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if I create a summarized table for each combination I'm not able to create a multi level reports where I can do a drill down from year to month, week or day or drill down from Region to plant, office and seller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, Is there a way that the calculated field "Score" is also calculated for the total? "Score" must be calculated according to the dynamic filters selected on the Power BI report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or maybe there's another and more clever way to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks for your support&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2022 18:04:41 GMT</pubDate>
    <dc:creator>jocampo</dc:creator>
    <dc:date>2022-07-07T18:04:41Z</dc:date>
    <item>
      <title>Operations for Total results</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Operations-for-Total-results/m-p/2625955#M80296</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about how to do this, I have a database with daily reports of the result, I have done a lot of summarized tables in order to show Monthly and weekly reports but I can´t show the result we need. This is the situation I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an example of a daily report :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case the Score is a calculated field with the relation between Actual vs Plan. (Score = Acual/plan x 100%)&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need is if I plot by date, or month or Office, the total Score must be calculated the same way and not the Average of all scores.&lt;/P&gt;&lt;P&gt;For example, the difference between the average of all Scores on the table and the calculation of the Score is:&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;At this moment if I want to calculate the Weekly score report by office I need to create a&amp;nbsp; summarized table form the original by "week" and "office" including the Sum( ) of all the actual and then the Sum( ) of all the plan, and then on this summarized table I create another "Score" calculated field and it works but I need to do this for each all the combinations: monthly report by office, Yearly report by seller, Weekly report region and Product, weekly by plant, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if I create a summarized table for each combination I'm not able to create a multi level reports where I can do a drill down from year to month, week or day or drill down from Region to plant, office and seller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, Is there a way that the calculated field "Score" is also calculated for the total? "Score" must be calculated according to the dynamic filters selected on the Power BI report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or maybe there's another and more clever way to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks for your support&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 18:04:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Operations-for-Total-results/m-p/2625955#M80296</guid>
      <dc:creator>jocampo</dc:creator>
      <dc:date>2022-07-07T18:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Operations for Total results</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Operations-for-Total-results/m-p/2629372#M80449</link>
      <description>&lt;P&gt;This is a job for a DAX &lt;EM&gt;measure&lt;/EM&gt;, not Power Query (or a DAX calculated column). More detail here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/measure-vs-calculated-column-the-mysterious-question-not" target="_blank"&gt;https://radacad.com/measure-vs-calculated-column-the-mysterious-question-not&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you define a measure like this:&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;DIVIDE ( SUM ( Table1[Actual] ), SUM ( Table1[Plan] ) )&lt;/LI-CODE&gt;
&lt;P&gt;Then it should work at whatever aggregated level you show in your visual.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 22:27:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Operations-for-Total-results/m-p/2629372#M80449</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-07-10T22:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Operations for Total results</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Operations-for-Total-results/m-p/2632161#M80558</link>
      <description>&lt;P&gt;Thanks&amp;nbsp; a lot, it works perfectly.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 22:50:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Operations-for-Total-results/m-p/2632161#M80558</guid>
      <dc:creator>jocampo</dc:creator>
      <dc:date>2022-07-11T22:50:54Z</dc:date>
    </item>
  </channel>
</rss>

