<?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 Sum Total of Measure Column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-Total-of-Measure-Column/m-p/1092607#M15877</link>
    <description>&lt;P&gt;I have several measures performing calculations in a matrix, the second column here is a measure of measures,&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;The third Column is a measure of the measure of the form:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(COUNTROWS(FILTER(ALL(_Measures),_Measures[measurename] &amp;gt; 100))).&lt;BR /&gt;&lt;BR /&gt;The end goal here being, I would like to get the % of rows in the table that are greater than 100.&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Sat, 16 May 2020 14:30:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-16T14:30:31Z</dc:date>
    <item>
      <title>Sum Total of Measure Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-Total-of-Measure-Column/m-p/1092607#M15877</link>
      <description>&lt;P&gt;I have several measures performing calculations in a matrix, the second column here is a measure of measures,&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;The third Column is a measure of the measure of the form:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(COUNTROWS(FILTER(ALL(_Measures),_Measures[measurename] &amp;gt; 100))).&lt;BR /&gt;&lt;BR /&gt;The end goal here being, I would like to get the % of rows in the table that are greater than 100.&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 May 2020 14:30:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-Total-of-Measure-Column/m-p/1092607#M15877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-16T14:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Total of Measure Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-Total-of-Measure-Column/m-p/1092627#M15879</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;I'm not sure what the question is here but I have not had my first cup of coffee yet this morning.&amp;nbsp;Please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, could be a measures aggregation issue.&amp;nbsp;See my blog article about that here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The pattern is: &lt;BR /&gt;MinScoreMeasure = MINX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])&lt;BR /&gt;MaxScoreMeasure = MAXX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])&lt;BR /&gt;AvgScoreMeasure = AVERAGEX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])&lt;BR /&gt;etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe a measure totals problem.&amp;nbsp;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.&amp;nbsp;Also" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376.&amp;nbsp;Also&lt;/A&gt;, this Quick Measure, Measure Totals, The Final Word should get you what you need:&amp;nbsp;&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>Sat, 16 May 2020 14:49:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-Total-of-Measure-Column/m-p/1092627#M15879</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-16T14:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Total of Measure Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-Total-of-Measure-Column/m-p/1092751#M15884</link>
      <description>&lt;P&gt;Thansk for responding Greg.&amp;nbsp; I'll see if I can expand.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the third column of the table I have 1's registered if the second column is ?100 and )'s if not.&amp;nbsp; This column is a result of the measure :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure Name = CALCULATE(COUNTROWS(FILTER(ALL(_Measures),_Measures[other measure] &amp;gt; 100)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;which is a measure of another measure&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I would like to calculate the total number of 1's and divide by the total number of rows to get the percentage.&amp;nbsp; I originally thought the COUNTROWS measure would get the total, but it registered just the 1's - every way I try to sum those I can't get it to work.&lt;BR /&gt;More precisely I'd like to see the percentage of all rows where that column is &amp;gt;100.&lt;BR /&gt;&lt;BR /&gt;What I've come across in trying to select the measure 'other measure' in an aggregate of any type, it is not selectable - I suppose because it is a measure column and not a table column -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In this project, I have several measures that filter into other measures for me to get to this far, I can't help but think that is my problem, but I need to capture the snapshots at multiple steps to meet the customer's goal.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 May 2020 17:55:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-Total-of-Measure-Column/m-p/1092751#M15884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-16T17:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Total of Measure Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-Total-of-Measure-Column/m-p/1092822#M15889</link>
      <description>&lt;P&gt;One way to do this might be the following approach.&amp;nbsp; Make a measure that does the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. make a variable with GENERATESERIES() that goes from 1 to the # of measures you have&lt;/P&gt;&lt;P&gt;2. separately make a SWITCH() measure that returns each # based on 1 to your total # of measures, returning each of those measures to use in step 3.&amp;nbsp; Use the Value column as your expression in the switch.&lt;/P&gt;&lt;P&gt;3. In another variable, do ADDCOLUMNS(tableinvariable1, "Result", [switch measure])&lt;/P&gt;&lt;P&gt;4. return DIVIDE(Countrows(Filter(#3variabletable, [Result]&amp;gt;100)), countrows(#3variabletable))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry I didn't have time to type it out better, but I hope that gets you there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this works for you, please mark it as solution.&amp;nbsp; Kudos are appreciated too.&amp;nbsp; Please let me know if not.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 21:40:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-Total-of-Measure-Column/m-p/1092822#M15889</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-05-16T21:40:43Z</dc:date>
    </item>
  </channel>
</rss>

