<?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: Sum values in column instead of calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789811#M87553</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your feedback.&lt;/P&gt;
&lt;P&gt;Could you please share your sample pbix file's link here? (Onedrive, googledrive, dropbox, any other...)&lt;/P&gt;
&lt;P&gt;And then I can look into it to come up with a more accurate solution.&lt;/P&gt;
&lt;P&gt;Or, please try the below if it is realted to two columns....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MEASURE totalfix =
    SUMX (
        SUMMARIZE ( TableName, 'TableName'[Region], 'TableName'[DG] ),
        [Weighted MAE%]
    )
&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 23 Sep 2022 12:25:43 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2022-09-23T12:25:43Z</dc:date>
    <item>
      <title>Sum values in column instead of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789628#M87535</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an issue trying to get the sum of the values in a measure. In the below screenshot, I want to be able to get the sum of the values in the column Weighted MAE% (33.1% and not 37.8%). In the total line I only get the calculation result for the total level (51/135) and the weights of each row is not considered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I create a measure or column where I can the summed total for the weighted calculation in each row? I need to be able to understand the MAE% on aggregated levels considering the weight for each row and it has to be dynamic so that if I change the slicer to exclude e.g. Region 1, then it recalculates with new weights for each row.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone an help...&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 10:45:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789628#M87535</guid>
      <dc:creator>KMadsen</dc:creator>
      <dc:date>2022-09-23T10:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sum values in column instead of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789630#M87536</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="445972" data-lia-user-login="KMadsen" class="lia-mention lia-mention-user"&gt;KMadsen&lt;/a&gt;&amp;nbsp;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;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 10:47:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789630#M87536</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-09-23T10:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sum values in column instead of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789637#M87537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your datamodel looks like, but please try to write a new measure like below, and put the below measure into the visualization.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MEASURE totalfix =
    SUMX ( VALUES ( 'TableName'[Region] ), [Weighted MAE%] )
&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 23 Sep 2022 10:50:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789637#M87537</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-23T10:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sum values in column instead of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789786#M87552</link>
      <description>&lt;P&gt;Thanks for the suggestion&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;. Unfortunately, it does not yield the right result when I use the filters to select and deselect certain region or DGs. Is there a wa to make it dependent on all filters?&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>Fri, 23 Sep 2022 12:18:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789786#M87552</guid>
      <dc:creator>KMadsen</dc:creator>
      <dc:date>2022-09-23T12:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sum values in column instead of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789811#M87553</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your feedback.&lt;/P&gt;
&lt;P&gt;Could you please share your sample pbix file's link here? (Onedrive, googledrive, dropbox, any other...)&lt;/P&gt;
&lt;P&gt;And then I can look into it to come up with a more accurate solution.&lt;/P&gt;
&lt;P&gt;Or, please try the below if it is realted to two columns....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MEASURE totalfix =
    SUMX (
        SUMMARIZE ( TableName, 'TableName'[Region], 'TableName'[DG] ),
        [Weighted MAE%]
    )
&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 23 Sep 2022 12:25:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789811#M87553</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-23T12:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sum values in column instead of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789885#M87561</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;, the summarize did the job! And it also works on more than 2 columns in the actual data set &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 13:11:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-values-in-column-instead-of-calculation/m-p/2789885#M87561</guid>
      <dc:creator>KMadsen</dc:creator>
      <dc:date>2022-09-23T13:11:34Z</dc:date>
    </item>
  </channel>
</rss>

