<?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 DAX Calculate Percentage from Column Total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Percentage-from-Column-Total/m-p/70254#M77</link>
    <description>&lt;P&gt;I am trying to build a tabular cube measure that will always calculate the percentage from the column total even when using a matrix.&lt;/P&gt;&lt;P&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the example attached i would like to get X % of Total and Y % of Toal columns.&lt;BR /&gt;&lt;STRONG&gt;The measure should be dynamic&lt;/STRONG&gt; and work with regardless of the dimension the user will place in the columns so the option of using&amp;nbsp;Calculate(SUM(Salse_Quantity),ALL(Products[Product Name])) or &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Calculate(SUM(Salse_Quantity),ALLSELECTED(Products)) is not good enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2016 04:39:06 GMT</pubDate>
    <dc:creator>udian</dc:creator>
    <dc:date>2016-09-21T04:39:06Z</dc:date>
    <item>
      <title>DAX Calculate Percentage from Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Percentage-from-Column-Total/m-p/70254#M77</link>
      <description>&lt;P&gt;I am trying to build a tabular cube measure that will always calculate the percentage from the column total even when using a matrix.&lt;/P&gt;&lt;P&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the example attached i would like to get X % of Total and Y % of Toal columns.&lt;BR /&gt;&lt;STRONG&gt;The measure should be dynamic&lt;/STRONG&gt; and work with regardless of the dimension the user will place in the columns so the option of using&amp;nbsp;Calculate(SUM(Salse_Quantity),ALL(Products[Product Name])) or &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Calculate(SUM(Salse_Quantity),ALLSELECTED(Products)) is not good enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 04:39:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Percentage-from-Column-Total/m-p/70254#M77</guid>
      <dc:creator>udian</dc:creator>
      <dc:date>2016-09-21T04:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Calculate Percentage from Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Percentage-from-Column-Total/m-p/73764#M90</link>
      <description>&lt;P&gt;You cannot detect what is on rows or what is on columns in DAX, so you cannot do a true "Column Total". However, something like this, may work for you:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SUM(Salse_Quantity) /&lt;/P&gt;&lt;P&gt;Calculate(SUM(Salse_Quantity)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Product&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,ALLSELECTED()&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:37:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Percentage-from-Column-Total/m-p/73764#M90</guid>
      <dc:creator>LaurentCouartou</dc:creator>
      <dc:date>2016-09-30T15:37:32Z</dc:date>
    </item>
  </channel>
</rss>

