<?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 Sum column based on unique IDs in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Sum-column-based-on-unique-IDs/m-p/434990#M200529</link>
    <description>&lt;P&gt;Hi: I have a dataset with 50K records in it. Some of those records have duplicate IDs, leaving only 47K unique values, they just have a different employee attached to them thus resulting in a duplicate ID. I'd like to create a card on my dashboard that shows the total revenue, while not double counting the duplicate records. Example table below. With this example the card would ideally display 14,500, only summing the revenue column for the first instance of a Deal ID. I thought it should be simple but I've tried other solutions posted on this forum with no luck. Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Deal ID           Revenue     Employee
12345             1,000          Jon Smith
12345             1,000          Bill Jones 
12346            12,000          Jon Smith
12555             1,500           Jane Doe 
12555             1,500           Michael Scott&lt;/PRE&gt;</description>
    <pubDate>Thu, 07 Jun 2018 20:20:45 GMT</pubDate>
    <dc:creator>walkery</dc:creator>
    <dc:date>2018-06-07T20:20:45Z</dc:date>
    <item>
      <title>Sum column based on unique IDs</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Sum-column-based-on-unique-IDs/m-p/434990#M200529</link>
      <description>&lt;P&gt;Hi: I have a dataset with 50K records in it. Some of those records have duplicate IDs, leaving only 47K unique values, they just have a different employee attached to them thus resulting in a duplicate ID. I'd like to create a card on my dashboard that shows the total revenue, while not double counting the duplicate records. Example table below. With this example the card would ideally display 14,500, only summing the revenue column for the first instance of a Deal ID. I thought it should be simple but I've tried other solutions posted on this forum with no luck. Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Deal ID           Revenue     Employee
12345             1,000          Jon Smith
12345             1,000          Bill Jones 
12346            12,000          Jon Smith
12555             1,500           Jane Doe 
12555             1,500           Michael Scott&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jun 2018 20:20:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Sum-column-based-on-unique-IDs/m-p/434990#M200529</guid>
      <dc:creator>walkery</dc:creator>
      <dc:date>2018-06-07T20:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column based on unique IDs</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Sum-column-based-on-unique-IDs/m-p/434995#M200534</link>
      <description>&lt;P&gt;You probably want to do something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Measure = SUMX(SUMMARIZE(Table,[Deal ID],"__Revenue",AVERAGE([Revenue])),[__Revenue])&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jun 2018 20:31:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Sum-column-based-on-unique-IDs/m-p/434995#M200534</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2018-06-07T20:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column based on unique IDs</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Sum-column-based-on-unique-IDs/m-p/437313#M201732</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 21:30:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Sum-column-based-on-unique-IDs/m-p/437313#M201732</guid>
      <dc:creator>walkery</dc:creator>
      <dc:date>2018-06-11T21:30:20Z</dc:date>
    </item>
  </channel>
</rss>

