<?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: Distinct count problem for total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-problem-for-total/m-p/2166555#M50221</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="335286" data-lia-user-login="AgustinBrocardo" class="lia-mention lia-mention-user"&gt;AgustinBrocardo&lt;/a&gt;&amp;nbsp;This looks like a measure totals problem. Very common. See my post about it here: &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 15:19:38 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2021-11-01T15:19:38Z</dc:date>
    <item>
      <title>Distinct count problem for total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-problem-for-total/m-p/2166510#M50218</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m having a problem trying to use distinctcount. I have a database with customers by region, one customer can make a purchase in different regions and, in some cases you can have the same customer for the same region as you will see below. This is due to the rest of the database because it also considers other fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this analysis i want to have a simple table showing a distinctcount of customers by region but the problem is when the table makes the grand total, it doesn´t show de sum of every region, it shows the distinct count of all the customers (which is less because some customers should be repeated if they buy in another region)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want the grand total to be the sum of the whole column (Count of column), which is 89, and not the distinct count of the customers of the database withount considering the region, which is 80.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, i´m not using any measure. i´m just selecting the format of the field as count (distinct) when i add it to the table visual.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 14:48:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-problem-for-total/m-p/2166510#M50218</guid>
      <dc:creator>AgustinBrocardo</dc:creator>
      <dc:date>2021-11-01T14:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count problem for total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-problem-for-total/m-p/2166555#M50221</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="335286" data-lia-user-login="AgustinBrocardo" class="lia-mention lia-mention-user"&gt;AgustinBrocardo&lt;/a&gt;&amp;nbsp;This looks like a measure totals problem. Very common. See my post about it here: &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 15:19:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-problem-for-total/m-p/2166555#M50221</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2021-11-01T15:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count problem for total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-problem-for-total/m-p/2166576#M50226</link>
      <description>&lt;P&gt;Thank you very much, it worked perfecly and the explanation is easy to follow!&lt;/P&gt;&lt;P&gt;I´m still very limited in relation to DAX but these type of answers help me a lot to keep learning the logic behind the code.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 15:44:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-count-problem-for-total/m-p/2166576#M50226</guid>
      <dc:creator>AgustinBrocardo</dc:creator>
      <dc:date>2021-11-01T15:44:54Z</dc:date>
    </item>
  </channel>
</rss>

