<?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: DAX - cumulative % small difference. Rounding? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4649053#M177973</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="712289" data-lia-user-login="Youri98" class="lia-mention lia-mention-user"&gt;Youri98&lt;/a&gt;&amp;nbsp;The discrepancy you're seeing in the cumulative percentage values is likely due to the way cumulative percentages are calculated and possibly due to rounding differences&lt;/P&gt;
&lt;P&gt;Calculate the cumulative total of new products:&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;CumulativeNewProducts = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('Table'[New per month]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALLSELECTED('Table'),&lt;BR /&gt;'Table'[Month] &amp;lt;= MAX('Table'[Month])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calculate the cumulative total of all products:&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;CumulativeTotalProducts = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('Table'[Total per month]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALLSELECTED('Table'),&lt;BR /&gt;'Table'[Month] &amp;lt;= MAX('Table'[Month])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calculate the cumulative percentage:&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;CumulativePercentage = &lt;BR /&gt;DIVIDE(&lt;BR /&gt;[CumulativeNewProducts],&lt;BR /&gt;[CumulativeTotalProducts],&lt;BR /&gt;0&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Fri, 11 Apr 2025 16:12:01 GMT</pubDate>
    <dc:creator>bhanu_gautam</dc:creator>
    <dc:date>2025-04-11T16:12:01Z</dc:date>
    <item>
      <title>DAX - cumulative % small difference. Rounding?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4648906#M177967</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I've got a simple DAX showing the % per month. Dividing the new products / total per month. The % for each month is correct. Now, I would like to show a line in my chart, showing the cumulative values, but this differences slightly. How do I fix this? If I select April it says 3,07%, but if I select January till May it jumps from 1,70% to 4,74% in April (3,04% difference). Is this because of rounding?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Month&lt;/TD&gt;&lt;TD&gt;% per month&lt;/TD&gt;&lt;TD&gt;New per month&lt;/TD&gt;&lt;TD&gt;Total per month&lt;/TD&gt;&lt;TD&gt;Cumulative %&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025-january&lt;/TD&gt;&lt;TD&gt;0,44%&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;TD&gt;3896&lt;/TD&gt;&lt;TD&gt;0,44%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025-february&lt;/TD&gt;&lt;TD&gt;0,54%&lt;/TD&gt;&lt;TD&gt;21&lt;/TD&gt;&lt;TD&gt;3892&lt;/TD&gt;&lt;TD&gt;0,98%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025-march&lt;/TD&gt;&lt;TD&gt;0,72%&lt;/TD&gt;&lt;TD&gt;28&lt;/TD&gt;&lt;TD&gt;3881&lt;/TD&gt;&lt;TD&gt;1,70%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025-april&lt;/TD&gt;&lt;TD&gt;3,07%&lt;/TD&gt;&lt;TD&gt;121&lt;/TD&gt;&lt;TD&gt;3941&lt;/TD&gt;&lt;TD&gt;4,74%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025-may&lt;/TD&gt;&lt;TD&gt;0,23%&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;3941&lt;/TD&gt;&lt;TD&gt;4,97%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total&lt;/TD&gt;&lt;TD&gt;5,01%&lt;/TD&gt;&lt;TD&gt;196&lt;/TD&gt;&lt;TD&gt;3910,2&lt;/TD&gt;&lt;TD&gt;5,01%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 11 Apr 2025 14:39:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4648906#M177967</guid>
      <dc:creator>Youri98</dc:creator>
      <dc:date>2025-04-11T14:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - cumulative % small difference. Rounding?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4649053#M177973</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="712289" data-lia-user-login="Youri98" class="lia-mention lia-mention-user"&gt;Youri98&lt;/a&gt;&amp;nbsp;The discrepancy you're seeing in the cumulative percentage values is likely due to the way cumulative percentages are calculated and possibly due to rounding differences&lt;/P&gt;
&lt;P&gt;Calculate the cumulative total of new products:&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;CumulativeNewProducts = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('Table'[New per month]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALLSELECTED('Table'),&lt;BR /&gt;'Table'[Month] &amp;lt;= MAX('Table'[Month])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calculate the cumulative total of all products:&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;CumulativeTotalProducts = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('Table'[Total per month]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALLSELECTED('Table'),&lt;BR /&gt;'Table'[Month] &amp;lt;= MAX('Table'[Month])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calculate the cumulative percentage:&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;CumulativePercentage = &lt;BR /&gt;DIVIDE(&lt;BR /&gt;[CumulativeNewProducts],&lt;BR /&gt;[CumulativeTotalProducts],&lt;BR /&gt;0&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 16:12:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4649053#M177973</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-04-11T16:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - cumulative % small difference. Rounding?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4652375#M178092</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="712289" data-lia-user-login="Youri98" class="lia-mention lia-mention-user"&gt;Youri98&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please try this approach:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulative % True = 
DIVIDE(
    CALCULATE(SUM('Table'[New per month]), FILTER(ALLSELECTED('Table'), 'Table'[Month] &amp;lt;= MAX('Table'[Month]))),
    CALCULATE(SUM('Table'[Total per month]), FILTER(ALLSELECTED('Table'), 'Table'[Month] &amp;lt;= MAX('Table'[Month])))
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 14 Apr 2025 19:12:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4652375#M178092</guid>
      <dc:creator>Sahir_Maharaj</dc:creator>
      <dc:date>2025-04-14T19:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - cumulative % small difference. Rounding?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4657190#M178311</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="712289" data-lia-user-login="Youri98" class="lia-mention lia-mention-user"&gt;Youri98&lt;/a&gt;&amp;nbsp;, Thank you for reaching out to the Microsoft Community Forum.&lt;BR /&gt;&lt;BR /&gt;Please let us know if your issue is solved. If it is, consider marking the answers that helped&amp;nbsp;&lt;STRONG&gt;'Accept as Solution'&lt;/STRONG&gt;, so others with similar queries can find them easily. If not, please share the details.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 09:54:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4657190#M178311</guid>
      <dc:creator>v-hashadapu</dc:creator>
      <dc:date>2025-04-17T09:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - cumulative % small difference. Rounding?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4662638#M178551</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="712289" data-lia-user-login="Youri98" class="lia-mention lia-mention-user"&gt;Youri98&lt;/a&gt;&amp;nbsp;, Please let us know if your issue is solved. If it is, consider marking the answer that helped&amp;nbsp;&lt;STRONG&gt;'Accept as Solution'&lt;/STRONG&gt;, so others with similar queries can find it easily. If not, please share the details.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 08:57:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4662638#M178551</guid>
      <dc:creator>v-hashadapu</dc:creator>
      <dc:date>2025-04-22T08:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - cumulative % small difference. Rounding?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4668370#M178820</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/712289" target="_blank"&gt;@Youri98&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;, Please let us know if your issue is solved. If it is, consider marking the answer that helped&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;'Accept as Solution'&lt;/STRONG&gt;&lt;SPAN&gt;, so others with similar queries can find it easily. If not, please share the details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 12:06:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-small-difference-Rounding/m-p/4668370#M178820</guid>
      <dc:creator>v-hashadapu</dc:creator>
      <dc:date>2025-04-25T12:06:08Z</dc:date>
    </item>
  </channel>
</rss>

