<?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 add % of total column to filtered matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/add-of-total-column-to-filtered-matrix/m-p/3119106#M110545</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix table, with columns:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Supplier Name&lt;/P&gt;&lt;P&gt;Order Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I filtered this table to get the top 10 of suppliers.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But how do i add a column in that matrix showing the % of the total order amount for all suppliers?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; SUM&lt;/SPAN&gt;&lt;SPAN&gt;(fact_orderlines[order amount]),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; SUM&lt;/SPAN&gt;&lt;SPAN&gt;(Fact_orderlines[order amount]),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(Fact_orderlines[order amount])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but that aint working. I searched on internet but didnt find solution yet or maybe i found it but am using the dax wrong?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;thanks for the help!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 08 Mar 2023 14:30:37 GMT</pubDate>
    <dc:creator>bvdm1980</dc:creator>
    <dc:date>2023-03-08T14:30:37Z</dc:date>
    <item>
      <title>add % of total column to filtered matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/add-of-total-column-to-filtered-matrix/m-p/3119106#M110545</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix table, with columns:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Supplier Name&lt;/P&gt;&lt;P&gt;Order Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I filtered this table to get the top 10 of suppliers.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But how do i add a column in that matrix showing the % of the total order amount for all suppliers?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; SUM&lt;/SPAN&gt;&lt;SPAN&gt;(fact_orderlines[order amount]),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; SUM&lt;/SPAN&gt;&lt;SPAN&gt;(Fact_orderlines[order amount]),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(Fact_orderlines[order amount])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but that aint working. I searched on internet but didnt find solution yet or maybe i found it but am using the dax wrong?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;thanks for the help!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Mar 2023 14:30:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/add-of-total-column-to-filtered-matrix/m-p/3119106#M110545</guid>
      <dc:creator>bvdm1980</dc:creator>
      <dc:date>2023-03-08T14:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: add % of total column to filtered matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/add-of-total-column-to-filtered-matrix/m-p/3119153#M110549</link>
      <description>&lt;P&gt;hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="388036" data-lia-user-login="bvdm1980" class="lia-mention lia-mention-user"&gt;bvdm1980&lt;/a&gt;&lt;/P&gt;&lt;P&gt;try like:&lt;/P&gt;&lt;DIV&gt;DIVIDE(&lt;DIV&gt;&amp;nbsp;&amp;nbsp;SUM(fact_orderlines[order amount]),&lt;DIV&gt;&amp;nbsp; CALCULATE(&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SUM(Fact_orderlines[order amount]),&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ALLSELECTED(Fact_orderlines[Supplier Name])&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;)&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 14:48:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/add-of-total-column-to-filtered-matrix/m-p/3119153#M110549</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-08T14:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: add % of total column to filtered matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/add-of-total-column-to-filtered-matrix/m-p/3183420#M115162</link>
      <description>&lt;P&gt;Thanks for the help (sorry for the late reply :)). Only seeing it just now.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I found another solution that works like a charm as well:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;TOPN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;10&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Fact_orderlines&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Fact_orderlines&lt;/SPAN&gt;&lt;SPAN&gt;[Amount]&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;Fact_orderlines&lt;/SPAN&gt;&lt;SPAN&gt;[Amount]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Fact_orderlines&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;Fact_orderlines&lt;/SPAN&gt;&lt;SPAN&gt;[Amount]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Apr 2023 07:40:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/add-of-total-column-to-filtered-matrix/m-p/3183420#M115162</guid>
      <dc:creator>bvdm1980</dc:creator>
      <dc:date>2023-04-12T07:40:53Z</dc:date>
    </item>
  </channel>
</rss>

