<?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: How to avoid sum duplicates values in a measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1471975#M27957</link>
    <description>&lt;LI-CODE lang="csharp"&gt;[Measure] =
SUMX(
    SUMMARIZE(
        T,
        T[ID],
        T[Product],
        T[Value]
    ),
    T[Value]
)&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 03 Nov 2020 14:09:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-03T14:09:55Z</dc:date>
    <item>
      <title>How to avoid sum duplicates values in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1471940#M27952</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Please I need help. I have a table like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a measure that sum all the values (Column VALUE) except the row that duplicates ID and PRODUCT.&lt;/P&gt;&lt;P&gt;I want to put this measure the total in a card visualization.&lt;/P&gt;&lt;P&gt;Thank a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 13:59:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1471940#M27952</guid>
      <dc:creator>daromel</dc:creator>
      <dc:date>2020-11-03T13:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid sum duplicates values in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1471949#M27954</link>
      <description>&lt;P&gt;Why don't you de-duplicate the table before you load it into PBI? In Power Query it's just as easy to do as clicking several buttons... And if you want to know how many dup rows there ware originally for a given row, you can store the count of the row in the table as well. This will retain all the information you have in the original table and the resultant table will be as small as possible, thus DAX will be faster on it.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 14:04:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1471949#M27954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-03T14:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid sum duplicates values in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1471964#M27955</link>
      <description>&lt;P&gt;Thanks for the answering,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table has others fields that I need.&amp;nbsp;&lt;/P&gt;&lt;P&gt;No all the fields are duplicates, just some of then.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 14:05:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1471964#M27955</guid>
      <dc:creator>daromel</dc:creator>
      <dc:date>2020-11-03T14:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid sum duplicates values in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1471975#M27957</link>
      <description>&lt;LI-CODE lang="csharp"&gt;[Measure] =
SUMX(
    SUMMARIZE(
        T,
        T[ID],
        T[Product],
        T[Value]
    ),
    T[Value]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 03 Nov 2020 14:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1471975#M27957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-03T14:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid sum duplicates values in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1472049#M27964</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="186310" data-lia-user-login="daromel" class="lia-mention lia-mention-user"&gt;daromel&lt;/a&gt; , Power Query, Remove duplicate rows: &lt;A href="https://www.youtube.com/watch?v=Hc5bIXkpGVE" target="_blank"&gt;https://www.youtube.com/watch?v=Hc5bIXkpGVE&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Dax =&lt;/P&gt;
&lt;P&gt;New table =distinct(Table)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or summarize(Table,Table [ID],Table[Product],Table[Value])&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 14:43:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1472049#M27964</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-11-03T14:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid sum duplicates values in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1472095#M27965</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure = CALCULATE(SUMX(Tabela,Tabela[VALUE]), FILTER(Tabela,Tabela[ID]))&lt;BR /&gt;&lt;BR /&gt;You can use a card with this measure.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 15:03:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1472095#M27965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-03T15:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid sum duplicates values in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1472119#M27966</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It worked perfect. thank you!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 15:11:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-avoid-sum-duplicates-values-in-a-measure/m-p/1472119#M27966</guid>
      <dc:creator>daromel</dc:creator>
      <dc:date>2020-11-03T15:11:16Z</dc:date>
    </item>
  </channel>
</rss>

