<?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: Dividing row level value with row level total to get % in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-row-level-value-with-row-level-total-to-get/m-p/2548693#M72060</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It seems you have solved the issue. Please kindly mark your answer as a solution to help more people find the answer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have misunderstood your meaning,&amp;nbsp;please provide the output you want in the form of a picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team _ Polly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 31 May 2022 01:35:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-31T01:35:17Z</dc:date>
    <item>
      <title>Dividing row level value with row level total to get %</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-row-level-value-with-row-level-total-to-get/m-p/2545222#M71812</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix with "fg year and month rows" and "received date" in the column.&lt;/P&gt;&lt;P&gt;the matrix shows the count of fg in each received month. I want to add a % for each value using the fg total row (row level value divided by fg total value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example data like below.&lt;/P&gt;&lt;P&gt;Oct 2021 rows and Oct 2021 column the % should be 100%(4622/fg total 6422)&lt;/P&gt;&lt;P&gt;Nov 2021 row and Oct 2021 column the % should be 59.04%(4652/fg total 7883), Nov 2021 column 40.96%(3229/7883)&lt;/P&gt;&lt;P&gt;and so on...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Trying out this code and gives me wrong % value.&lt;/P&gt;&lt;P&gt;DIVIDE(SUM(table[FG count]),CALCULATE(SUM(table[FG Count]),ALLEXCEPT(table,table[DateFG])),0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 12:39:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-row-level-value-with-row-level-total-to-get/m-p/2545222#M71812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-28T12:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing row level value with row level total to get %</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-row-level-value-with-row-level-total-to-get/m-p/2545237#M71815</link>
      <description>&lt;P&gt;Trying this code and so far its working.&lt;/P&gt;&lt;P&gt;% of total =&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR fg_volume = CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[fg count]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;table[Receipt Month]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;table[FG date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt; &lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[fg]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;fg_volume&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 28 May 2022 13:04:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-row-level-value-with-row-level-total-to-get/m-p/2545237#M71815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-28T13:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing row level value with row level total to get %</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-row-level-value-with-row-level-total-to-get/m-p/2548693#M72060</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It seems you have solved the issue. Please kindly mark your answer as a solution to help more people find the answer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have misunderstood your meaning,&amp;nbsp;please provide the output you want in the form of a picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team _ Polly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 01:35:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-row-level-value-with-row-level-total-to-get/m-p/2548693#M72060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-31T01:35:17Z</dc:date>
    </item>
  </channel>
</rss>

