<?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: Incorrect Total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total/m-p/2217522#M52525</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you want to wrap that measure in a SUMX iterating over the sales reps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;SUMX(&lt;/P&gt;&lt;P&gt;&amp;nbsp;VALUES(Table[Sales Reps]),&lt;/P&gt;&lt;P&gt;Your Measure&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on rows where there is only one sales rep it returns the existing value. On the total row it adds up each in turn.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 07:10:04 GMT</pubDate>
    <dc:creator>bcdobbs</dc:creator>
    <dc:date>2021-12-02T07:10:04Z</dc:date>
    <item>
      <title>Incorrect Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total/m-p/2217476#M52523</link>
      <description>&lt;P&gt;Hi, I am dealing with the common problem of not having my totals add up correctly and I am unsure how to amend it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the measure below where I am trying to find the number of outstanding days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Outstanding Days = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IFERROR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DIM_Calendar[Days in Month]&lt;/SPAN&gt;&lt;SPAN&gt;)/(&lt;/SPAN&gt;&lt;SPAN&gt;'Measures Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Actual_Sales]&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;'Measures Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Average AR]&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)+&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Would appreciate if any help is given! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Dec 2021 06:48:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total/m-p/2217476#M52523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-02T06:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total/m-p/2217522#M52525</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you want to wrap that measure in a SUMX iterating over the sales reps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;SUMX(&lt;/P&gt;&lt;P&gt;&amp;nbsp;VALUES(Table[Sales Reps]),&lt;/P&gt;&lt;P&gt;Your Measure&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on rows where there is only one sales rep it returns the existing value. On the total row it adds up each in turn.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 07:10:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total/m-p/2217522#M52525</guid>
      <dc:creator>bcdobbs</dc:creator>
      <dc:date>2021-12-02T07:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total/m-p/2217708#M52532</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168297" data-lia-user-login="bcdobbs" class="lia-mention lia-mention-user"&gt;bcdobbs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks alot. You've helped me figure out what was missing! You're amazing, have a great day!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":clapping_hands:"&gt;👏&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 08:35:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total/m-p/2217708#M52532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-02T08:35:12Z</dc:date>
    </item>
  </channel>
</rss>

