<?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: Non intuitive total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-intuitive-total/m-p/3114556#M110220</link>
    <description>&lt;P&gt;Yes, the question would be how to show something that is more intuitive for users. Maybe an average?&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2023 17:01:28 GMT</pubDate>
    <dc:creator>fosterXO</dc:creator>
    <dc:date>2023-03-06T17:01:28Z</dc:date>
    <item>
      <title>Non intuitive total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-intuitive-total/m-p/3114112#M110183</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im having a logic doubt problem that I hope you can help with.&lt;/P&gt;&lt;P&gt;I have a column with Orders, Distinct Customer, Orders per Distict Customer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;orders &amp;nbsp;= SUMX(Orders,Orders[Count])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;distict Customer&amp;nbsp;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(Orders[Customer_code])&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;orders per distinct cust&amp;nbsp;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;[orders]&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;[distict Customer]&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All the numbers in that table are correct. However, the 2022 number is not intuitive. It should be around 56.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How would you enforce that?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 14:30:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-intuitive-total/m-p/3114112#M110183</guid>
      <dc:creator>fosterXO</dc:creator>
      <dc:date>2023-03-06T14:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Non intuitive total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-intuitive-total/m-p/3114215#M110192</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="470978" data-lia-user-login="fosterXO" class="lia-mention lia-mention-user"&gt;fosterXO&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is not intuitive , because distinctcount is semi-additive, or because one&amp;nbsp;Customer_code could present at multiple months, but it is counted once only in Year 2022.&amp;nbsp; Make sense?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 14:59:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-intuitive-total/m-p/3114215#M110192</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-06T14:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Non intuitive total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-intuitive-total/m-p/3114556#M110220</link>
      <description>&lt;P&gt;Yes, the question would be how to show something that is more intuitive for users. Maybe an average?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 17:01:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-intuitive-total/m-p/3114556#M110220</guid>
      <dc:creator>fosterXO</dc:creator>
      <dc:date>2023-03-06T17:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Non intuitive total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-intuitive-total/m-p/3114600#M110227</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="470978" data-lia-user-login="fosterXO" class="lia-mention lia-mention-user"&gt;fosterXO&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You may try something like:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;distict Customer =
AVERAGEX (
    SUMMARIZE ( 'Table', [Year], [Month] ),
    CALCULATE ( DISTINCTCOUNT ( Orders[Customer_code] ) )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 06 Mar 2023 17:21:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Non-intuitive-total/m-p/3114600#M110227</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-06T17:21:00Z</dc:date>
    </item>
  </channel>
</rss>

