<?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: 2% difference when calculating Percentage between 2 columms in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/2-difference-when-calculating-Percentage-between-2-columms/m-p/3575647#M137856</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="248960" data-lia-user-login="ruthgammack" class="lia-mention lia-mention-user"&gt;ruthgammack&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Not enough details and context. Try using either&amp;nbsp;DISTINCTCOUNTNOBLANK or&amp;nbsp;DISTINCTCOUNT for both columns.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Dec 2023 16:03:06 GMT</pubDate>
    <dc:creator>Fowmy</dc:creator>
    <dc:date>2023-12-09T16:03:06Z</dc:date>
    <item>
      <title>2% difference when calculating Percentage between 2 columms</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/2-difference-when-calculating-Percentage-between-2-columms/m-p/3575617#M137855</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following where i have selected a value from a customer dropdown and then when i select this and calculate the percentage using a measure it is out by 2% everytime. How can i resolve this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Count %&amp;nbsp; =&lt;/SPAN&gt; &lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNTNOBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(Table&lt;/SPAN&gt;&lt;SPAN&gt;[Column1]&lt;/SPAN&gt;&lt;SPAN&gt;), (&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Table&lt;/SPAN&gt;&lt;SPAN&gt;[Column2]&lt;/SPAN&gt;&lt;SPAN&gt;))) *&lt;/SPAN&gt;&lt;SPAN&gt;100&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;So there is (11/63)*100 is 17.46%&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but the Measue is giving 19.23%&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Do i need to include an AllSelected or something as i am using the filter?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 09 Dec 2023 15:11:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/2-difference-when-calculating-Percentage-between-2-columms/m-p/3575617#M137855</guid>
      <dc:creator>ruthgammack</dc:creator>
      <dc:date>2023-12-09T15:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: 2% difference when calculating Percentage between 2 columms</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/2-difference-when-calculating-Percentage-between-2-columms/m-p/3575647#M137856</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="248960" data-lia-user-login="ruthgammack" class="lia-mention lia-mention-user"&gt;ruthgammack&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Not enough details and context. Try using either&amp;nbsp;DISTINCTCOUNTNOBLANK or&amp;nbsp;DISTINCTCOUNT for both columns.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2023 16:03:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/2-difference-when-calculating-Percentage-between-2-columms/m-p/3575647#M137856</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2023-12-09T16:03:06Z</dc:date>
    </item>
  </channel>
</rss>

