<?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: Total to Add Up Measure 'Column' Instead of 'Row Formula' in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-to-Add-Up-Measure-Column-Instead-of-Row-Formula/m-p/1533372#M30102</link>
    <description>&lt;P&gt;New measure =sumx(values(table[campaign]),[old measure])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Dec 2020 16:35:15 GMT</pubDate>
    <dc:creator>wdx223_Daniel</dc:creator>
    <dc:date>2020-12-04T16:35:15Z</dc:date>
    <item>
      <title>Total to Add Up Measure 'Column' Instead of 'Row Formula'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-to-Add-Up-Measure-Column-Instead-of-Row-Formula/m-p/1530949#M30041</link>
      <description>&lt;P&gt;Hello Power BI Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm at my wits' end and ready to pull my hair out.&amp;nbsp; Please can someone help with a Measure Total?&amp;nbsp; I'm using the following measure&amp;nbsp; which iterates at a row-level to calculate the desired result which is working as intended:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Revenue(Net of Activation &amp;amp; Claw Back) = 

//Avg Packages
VAR _Ave = CALCULATE(SUM('Daily'[Packages_Floor]),FILTER(Daily,Daily[Group] &amp;lt;&amp;gt; "MANAGER"),USERELATIONSHIP('Calendar'[Date],Daily[Month]))
VAR _Avg = CALCULATE(DIVIDE(_Ave,[Elapsed Days],0))

//RPS
VAR _RPS = CALCULATE(AVERAGE('Monthly Targets'[Revenue Per Sale]),FILTER(Daily,Daily[Group] &amp;lt;&amp;gt; "MANAGER"))

//Activation Rate
VAR _XA = SUMMARIZE ( 'Monthly Targets','Monthly Targets'[Campaign], "AR", MAX ('Monthly Targets'[Activation Rate] ))
VAR _AR = AVERAGEX ( _XA,[AR])

//Clawback
VAR _XC = SUMMARIZE ( 'Monthly Targets','Monthly Targets'[Campaign], "Claw", MAX ('Monthly Targets'[Clawback] ))
VAR _CLAW = AVERAGEX ( _XC,[Claw])

//CALCULATION
VAR _EXCLCLAWBACK = _Avg * _RPS * _AR
VAR _INCLCLAWBACK = _Avg * _RPS * _AR * _CLAW

VAR _LESSCLAW = (_EXCLCLAWBACK - _INCLCLAWBACK)

RETURN
_LESSCLAW&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've also attempted Returning the Isfiltered and HasOneValue functions (below) but this did not resolve the problem.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// IF(ISFILTERED(Daily[Campaign]),_LESSCLAW, AVERAGEX(VALUES(Daily[Campaign]),_LESSCLAW))

// IF(HASONEVALUE('Monthly Targets'[Campaign]),
//     _LESSCLAW,
//         AVERAGEX( VALUES( 'Monthly Targets'[Campaign] ), _LESSCLAW))&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Is there a way to Sum up the column totals in this measure, instead of it performing the calculation at a row level?&lt;BR /&gt;Basically, the R506,896 should read R259,157, and the R2,076,791 should add read R1,817,704.&lt;BR /&gt;&lt;BR /&gt;Sorry to say, that I know what the problem is, but I don't know how to fix it.&lt;BR /&gt;&lt;BR /&gt;Appreciate the help from this community &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 12:04:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-to-Add-Up-Measure-Column-Instead-of-Row-Formula/m-p/1530949#M30041</guid>
      <dc:creator>BICrazy</dc:creator>
      <dc:date>2020-12-03T12:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Total to Add Up Measure 'Column' Instead of 'Row Formula'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-to-Add-Up-Measure-Column-Instead-of-Row-Formula/m-p/1533372#M30102</link>
      <description>&lt;P&gt;New measure =sumx(values(table[campaign]),[old measure])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 16:35:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-to-Add-Up-Measure-Column-Instead-of-Row-Formula/m-p/1533372#M30102</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2020-12-04T16:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Total to Add Up Measure 'Column' Instead of 'Row Formula'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-to-Add-Up-Measure-Column-Instead-of-Row-Formula/m-p/1535598#M30168</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="264353" data-lia-user-login="wdx223_Daniel" class="lia-mention lia-mention-user"&gt;wdx223_Daniel&lt;/a&gt;&amp;nbsp; - Worked like a bomb.&amp;nbsp; Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 06:27:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-to-Add-Up-Measure-Column-Instead-of-Row-Formula/m-p/1535598#M30168</guid>
      <dc:creator>BICrazy</dc:creator>
      <dc:date>2020-12-07T06:27:38Z</dc:date>
    </item>
  </channel>
</rss>

