<?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 sum value in table visual is wrong in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3016281#M102439</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="486493" data-lia-user-login="lawada4" class="lia-mention lia-mention-user"&gt;lawada4&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Whether your problem has been resolved? If yes, could you please mark the helpful post as &lt;STRONG&gt;&lt;SPAN&gt;Answered&lt;/SPAN&gt;&lt;/STRONG&gt;? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 09:11:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-12T09:11:41Z</dc:date>
    <item>
      <title>total sum value in table visual is wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3007323#M101817</link>
      <description>&lt;P&gt;im trying to calculate the total commission by all salespersons. i have 2 tables , one table shows the commission by catgory and the other table shows sales transactions by salespersons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i created a joining column in power query by concatenating 3 columns in the packages table to have 1 unique key in the tabel so that i can join with the other table.&lt;/P&gt;&lt;P&gt;after i joined the two tables with 1 to many relationship and cross filteting&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then created a table visual that shows :&lt;/P&gt;&lt;P&gt;agent name - categoty-sales-commission value&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the sales total is correct but the commission is not correct. the commission is taken from the categories commission table and the rest of columns are from the categories transactions table.&lt;/P&gt;&lt;P&gt;the correct total commission should be much higher=973.605&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea of what could lead to wrong total sum value while value per row is correct&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 09:08:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3007323#M101817</guid>
      <dc:creator>lawada4</dc:creator>
      <dc:date>2023-01-08T09:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: total sum value in table visual is wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3007447#M101824</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;This is a quite common issue. I recommend reading this article to understand the cause of it:&amp;nbsp;&lt;A href="https://www.sqlbi.com/articles/obtaining-accurate-totals-in-dax/" target="_blank"&gt;Obtaining accurate totals in DAX - SQLBI&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Additionally it is generally speaking not a good idea to have a "both" directions realtionship between your tables. Try to change the realationship to "single" between your tables. Additionally if you just want to have total disregarding filters use ALL in your dax. E.g. CALCULATE(SUM(Table[column]),ALL(Table))&lt;BR /&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 13:35:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3007447#M101824</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2023-01-08T13:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: total sum value in table visual is wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3007481#M101828</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="486493" data-lia-user-login="lawada4" class="lia-mention lia-mention-user"&gt;lawada4&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;Total Commission =&lt;BR /&gt;SUMX (&lt;BR /&gt;SUMMARIZE (&lt;BR /&gt;'categories trans',&lt;BR /&gt;'categories trans'[AGENT_NAME],&lt;BR /&gt;'categories trans'[Category]&lt;BR /&gt;),&lt;BR /&gt;CALCULATE ( SUM ( 'categories trans'[Commission] ) )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 14:14:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3007481#M101828</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-08T14:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: total sum value in table visual is wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3010390#M102043</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/468710" target="_blank" rel="noopener"&gt;@tomsmith213&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can create&amp;nbsp;&lt;STRONG&gt;another new measure&lt;/STRONG&gt;&amp;nbsp;as below and put this new measure to&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;replace&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;the original measure&amp;nbsp;&lt;STRONG&gt;[&lt;SPAN&gt;Sum of Commission&lt;/SPAN&gt;]&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;onto the table visual. Later check if it can return the correct total values...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum of Commission = SUM('categories commisions'[Commission']&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;New Measure =
SUMX (
    GROUPBY (
        'categories trans',
        'categories trans'[AGENT_NAME],
        'categories trans'[Categoty]
    ),
    [Sum of Commission]
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, you can refer the following links to try to solve your problem...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRii_6qkLNh8&amp;amp;data=05%7C01%7Cv-yiruan%40microsoft.com%7Cc07340e98cdc4c049cc708da85ad0a16%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637969275518231092%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=sllOPElQkaqNE9rZJ%2BSoa5CwiBe%2B5dKX82yZXHC1LYg%3D&amp;amp;reserved=0" target="_blank" rel="nofollow noopener noreferrer"&gt;Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKa7Ds4EAjNQ&amp;amp;data=05%7C01%7Cv-yiruan%40microsoft.com%7Cc07340e98cdc4c049cc708da85ad0a16%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637969275518231092%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=nMcFp5Gp2TDaRdU7BMHy7Td528EaRtr1IrqN%2BOdQboA%3D&amp;amp;reserved=0" target="_blank" rel="nofollow noopener noreferrer"&gt;Dax for Power BI: Fixing Incorrect Measure Totals&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the above one can't help you, could you please provide more&amp;nbsp;&lt;STRONG&gt;raw data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;&lt;EM&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/EM&gt;&lt;/STRONG&gt;) with&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples?&amp;nbsp;It would be helpful to find out the solution. You can refer the following links to share the required info:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7CClaire.Dong%40microsoft.com%7Cada9149bd91546a8432508dacd31ef9b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638047911607737134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=EJlYfclgtrjgAEYj9Uo1AauqxaQm3hlQsjJMo4zCY1M%3D&amp;amp;reserved=0" target="_blank"&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C01%7CClaire.Dong%40microsoft.com%7Cada9149bd91546a8432508dacd31ef9b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638047911607737134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=7UEf71Mu2ySWC7MlgciaPViM1RqU5nx4OHGHG5EvNSw%3D&amp;amp;reserved=0" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;pbix file. You can refer the following link to upload the file to the community. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FDesktop%2FHow-to-upload-PBI-in-Community%2Fm-p%2F1672886&amp;amp;data=04%7C01%7Cv-yiruan%40microsoft.com%7C4f580813734d4a8355b008da16f6e91a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637847547341062885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=YJvujige2YITXKbKED9JieQm5LBdf%2F3IYPM4ggdiijQ%3D&amp;amp;reserved=0" target="_blank"&gt;How to upload PBI in Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 05:48:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3010390#M102043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-10T05:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: total sum value in table visual is wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3016281#M102439</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="486493" data-lia-user-login="lawada4" class="lia-mention lia-mention-user"&gt;lawada4&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Whether your problem has been resolved? If yes, could you please mark the helpful post as &lt;STRONG&gt;&lt;SPAN&gt;Answered&lt;/SPAN&gt;&lt;/STRONG&gt;? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 09:11:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sum-value-in-table-visual-is-wrong/m-p/3016281#M102439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-12T09:11:41Z</dc:date>
    </item>
  </channel>
</rss>

