<?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: Getting 0 for grand total on a created Measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-0-for-grand-total-on-a-created-Measure/m-p/3243255#M119381</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="562383" data-lia-user-login="BobSled" class="lia-mention lia-mention-user"&gt;BobSled&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>Fri, 19 May 2023 01:13:08 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2023-05-19T01:13:08Z</dc:date>
    <item>
      <title>Getting 0 for grand total on a created Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-0-for-grand-total-on-a-created-Measure/m-p/3243109#M119371</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I feel like this is an easy fix but im abselutely stumped.....&lt;/P&gt;&lt;P&gt;I have seen a couple of forums for items similar to this but they were slightly different/specific and&amp;nbsp; i wasnt sure how to work those methods into my situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a couple of measures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. is to caclualte &lt;U&gt;Points&lt;/U&gt; times &lt;U&gt;Qty&lt;/U&gt; of items.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Spec Point QTY = MIN('SageProductMaster'[Points]) * SUM('spec_credits'[qty_0])&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;2. is to use the &lt;U&gt;previous measure(Spec Point QTY)&lt;/U&gt; to calculate total points times &lt;STRONG&gt;Dollars&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Spec Points = [Spec Point QTY]*SUM(spec_credits[untaxed])&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While these formula gave me proper results in the view i dont get a grand total for the view it just says 0&lt;/P&gt;&lt;P&gt;This is where i cant seem to figure out how to get Grand Totals. Please Help =]&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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, 18 May 2023 21:52:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-0-for-grand-total-on-a-created-Measure/m-p/3243109#M119371</guid>
      <dc:creator>BobSled</dc:creator>
      <dc:date>2023-05-18T21:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting 0 for grand total on a created Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-0-for-grand-total-on-a-created-Measure/m-p/3243144#M119374</link>
      <description>&lt;P&gt;Please see this video. You'll need to use SUMX with VALUES or SUMMARIZE in your measure.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=UJPBeiGBEg4&amp;amp;t=10s" target="_blank"&gt;(2) Power BI - Tales from the front #01 - Getting the Right Total - YouTube&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 22:22:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-0-for-grand-total-on-a-created-Measure/m-p/3243144#M119374</guid>
      <dc:creator>ppm1</dc:creator>
      <dc:date>2023-05-18T22:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting 0 for grand total on a created Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-0-for-grand-total-on-a-created-Measure/m-p/3243255#M119381</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="562383" data-lia-user-login="BobSled" class="lia-mention lia-mention-user"&gt;BobSled&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>Fri, 19 May 2023 01:13:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-0-for-grand-total-on-a-created-Measure/m-p/3243255#M119381</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-05-19T01:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting 0 for grand total on a created Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-0-for-grand-total-on-a-created-Measure/m-p/3265986#M120910</link>
      <description>&lt;P&gt;Good Morning Everyone,&lt;/P&gt;&lt;P&gt;Thank you for your feedback and assistance on this one.&lt;/P&gt;&lt;P&gt;Just wanted to give a shout out to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I found an old post he was on and the solution below worked perfectly for what i was needing.&lt;/P&gt;&lt;P&gt;I was able to multiple 2 columns from different tables and get grand totals for my new field categories.&lt;/P&gt;&lt;P&gt;Thought i would share it in case it can help anyone else in the future. Thanks again!&lt;/P&gt;&lt;PRE&gt;NewMeasure =
SUMX (
    Table1,
    VAR Name = Table1[Name]
    VAR Value1 = Table1[Value]
    VAR Value2 =
        MAXX ( FILTER ( Table2, Table2[Name] = Name ), Table2[Value] )
    RETURN
        Value1 * Value2
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:41:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-0-for-grand-total-on-a-created-Measure/m-p/3265986#M120910</guid>
      <dc:creator>BobSled</dc:creator>
      <dc:date>2023-06-02T15:41:11Z</dc:date>
    </item>
  </channel>
</rss>

