<?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: Divide cell by column total in a matrix visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-cell-by-column-total-in-a-matrix-visual/m-p/2316020#M57711</link>
    <description>&lt;P&gt;No special measure was required.&lt;/P&gt;&lt;P&gt;All I had to do was to change the following option from the field tab.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Feb 2022 18:37:29 GMT</pubDate>
    <dc:creator>andreas789</dc:creator>
    <dc:date>2022-02-02T18:37:29Z</dc:date>
    <item>
      <title>Divide cell by column total in a matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-cell-by-column-total-in-a-matrix-visual/m-p/2315450#M57666</link>
      <description>&lt;P&gt;Hey, I need some help writing a DAX measure for a calculation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to divide the net sales of any location (loc. code) for a specific&amp;nbsp;Sap Group, by the sum of net sales in that Sap Group. &lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the following measure but the problem is that it divides the net sales cell value by the net sales &lt;STRONG&gt;total value&lt;/STRONG&gt;.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Net Sales SoB = 
DIVIDE(SUM(sales[NET_SALES]), CALCULATE(SUM(sales[NET_SALES]), ALLSELECTED()))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eg, for loc. code 100 and Sap Group 50-55, I want the net sales sob % to be 1.002.443,45 / 1.339.124,22 = &lt;STRONG&gt;~75%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 13:50:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-cell-by-column-total-in-a-matrix-visual/m-p/2315450#M57666</guid>
      <dc:creator>andreas789</dc:creator>
      <dc:date>2022-02-02T13:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Divide cell by column total in a matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-cell-by-column-total-in-a-matrix-visual/m-p/2315479#M57673</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I beleive you can change where it says ALLSELECTED to REMOVEFILTERS()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A lot of times I have a simple measure for sales like Sales Amount = SUM(Sales[Net Sales]) first then use&amp;nbsp;&lt;/P&gt;&lt;P&gt;DIVIDE([Sales Amount],&lt;/P&gt;&lt;P&gt;CALCULATE([Sales Amount], REMOVEFILTERS(Location[Code])))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;another way can be:&lt;/P&gt;&lt;P&gt;DIVIDE(SUMX( Sales,[Net Sales),&amp;nbsp;&lt;BR /&gt;SUMX(ALLSELECTED(Sales), [Net Sales]))&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 14:07:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-cell-by-column-total-in-a-matrix-visual/m-p/2315479#M57673</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-02-02T14:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Divide cell by column total in a matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-cell-by-column-total-in-a-matrix-visual/m-p/2315523#M57675</link>
      <description>&lt;P&gt;Thanks for that but the result is not correct yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to divide column cell value by column total.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 14:46:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-cell-by-column-total-in-a-matrix-visual/m-p/2315523#M57675</guid>
      <dc:creator>andreas789</dc:creator>
      <dc:date>2022-02-02T14:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Divide cell by column total in a matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-cell-by-column-total-in-a-matrix-visual/m-p/2316020#M57711</link>
      <description>&lt;P&gt;No special measure was required.&lt;/P&gt;&lt;P&gt;All I had to do was to change the following option from the field tab.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 18:37:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-cell-by-column-total-in-a-matrix-visual/m-p/2316020#M57711</guid>
      <dc:creator>andreas789</dc:creator>
      <dc:date>2022-02-02T18:37:29Z</dc:date>
    </item>
  </channel>
</rss>

