<?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: Wrong Table Total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025389#M103136</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you let me know how to add sumx for below measure. I used separate measure for Sumx and got the expected result.&amp;nbsp; Is it possible to add sumx for below measure to avoid new measure for sumx .&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;UniqueCI_EnteredPeriod_Process = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;([EnterPeriod_DC_CI],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;filter&lt;/SPAN&gt;&lt;SPAN&gt;('MNS Workload',&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;([EnteredPeriod_Process])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Chandrashekar B&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 17 Jan 2023 10:09:35 GMT</pubDate>
    <dc:creator>Chandrashekar</dc:creator>
    <dc:date>2023-01-17T10:09:35Z</dc:date>
    <item>
      <title>Wrong Table Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3023006#M102931</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;am getting wrong total(am getting 5815 instead of 6584) .&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using below measure for calcuation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure1&lt;BR /&gt;EIP = CALCULATE(COUNT('MS'[u_number]),USERELATIONSHIP('MS'[DateOpened_Measure], 'Calendar'[Date]))&lt;/P&gt;&lt;P&gt;Measure2&lt;BR /&gt;EP_Pr = CALCULATE([EIP],'MS'[Flag_Service]=1,'MS'[+Include_Eng]="Yes",'MS'[task.u_major]=Blank())&lt;/P&gt;&lt;P&gt;Measure3&lt;BR /&gt;EP_DC_CI = CALCULATE(DISTINCTCOUNT('MS'[New_Col_CI]))&lt;/P&gt;&lt;P&gt;Measure4&lt;BR /&gt;U_CI_EP_Pr = CALCULATE([EP_DC_CI], filter('MS',CALCULATE([EP_Pr])))+0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 11:01:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3023006#M102931</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2023-01-16T11:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Table Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3023360#M102971</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349843" data-lia-user-login="Chandrashekar" class="lia-mention lia-mention-user"&gt;Chandrashekar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which of the above measures are you using in the table?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 13:41:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3023360#M102971</guid>
      <dc:creator>m-kats</dc:creator>
      <dc:date>2023-01-16T13:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Table Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3023423#M102975</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349843" data-lia-user-login="Chandrashekar" class="lia-mention lia-mention-user"&gt;Chandrashekar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this happens because one item could present at different categories and is thus counted 1 in each category. But at the total row, it is counted only 1.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 14:02:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3023423#M102975</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-16T14:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Table Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3023551#M102983</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to fix this issue to get exact count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 14:47:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3023551#M102983</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2023-01-16T14:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Table Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025013#M103106</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349843" data-lia-user-login="Chandrashekar" class="lia-mention lia-mention-user"&gt;Chandrashekar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try creating the following measure instead of [Measure] as shown in your image:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_Measure =
SUMX (
    SUMMARIZE (
        'Table',
        'Table'[RowName],
        'Table'[ColumnName],
        "total", [Measure] //your measure   
    ),
    [total]
)
&lt;/LI-CODE&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;) with&amp;nbsp;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 07:52:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025013#M103106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-17T07:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Table Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025224#M103122</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried below Measure but am not getting result. Sorry could not able to share sample as it is huge data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure1 = sumx(&lt;BR /&gt;SUMMARIZE('MS',&lt;BR /&gt;'MS'[+Pro_New1],&lt;BR /&gt;'MS'[New_Col_CI],&lt;BR /&gt;"Total",[UniCI_EPP]&lt;BR /&gt;),&lt;BR /&gt;[Total])&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 09:04:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025224#M103122</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2023-01-17T09:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Table Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025302#M103127</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349843" data-lia-user-login="Chandrashekar" class="lia-mention lia-mention-user"&gt;Chandrashekar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to the following documents that may be helpful to you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/sum-error/td-p/1124331" target="_blank"&gt;sum error - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376" target="_blank"&gt;Dealing with Measure Totals - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.enterprisedna.co/fixing-incorrect-totals-using-dax-measures-in-power-bi/" target="_blank"&gt;Fixing Incorrect Totals Using DAX Measures In Power BI | Enterprise DNA&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://archerpoint.com/how-to-make-measures-total-correctly-in-power-bi-tables/" target="_blank"&gt;How to Make Measures Total Correctly in Power BI Tables - ArcherPoint&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 09:30:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025302#M103127</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-17T09:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Table Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025312#M103129</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks. I will check and let you share result.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 09:34:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025312#M103129</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2023-01-17T09:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Table Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025389#M103136</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you let me know how to add sumx for below measure. I used separate measure for Sumx and got the expected result.&amp;nbsp; Is it possible to add sumx for below measure to avoid new measure for sumx .&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;UniqueCI_EnteredPeriod_Process = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;([EnterPeriod_DC_CI],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;filter&lt;/SPAN&gt;&lt;SPAN&gt;('MNS Workload',&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;([EnteredPeriod_Process])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Chandrashekar B&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Jan 2023 10:09:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Wrong-Table-Total/m-p/3025389#M103136</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2023-01-17T10:09:35Z</dc:date>
    </item>
  </channel>
</rss>

