<?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: Percentage from Total Amount with Several Categories in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-from-Total-Amount-with-Several-Categories/m-p/2804655#M88402</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="414682" data-lia-user-login="yellow43" class="lia-mention lia-mention-user"&gt;yellow43&lt;/a&gt; , &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;divide(Sum(table[Qty]), calculate(Sum(table[Qty]), removefilters(Table[Country], Table[Store])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;divide(Sum(table[Qty]), calculate(Sum(table[Qty]), allexcept(Table, Table[seller])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;divide(Sum(table[Qty]), calculate(Sum(table[Qty]), filter(allselected(Table) , Table[seller] = max(Table[Seller])))&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2022 02:13:29 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-09-29T02:13:29Z</dc:date>
    <item>
      <title>Percentage from Total Amount with Several Categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-from-Total-Amount-with-Several-Categories/m-p/2804236#M88358</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question regarding how to calculate a percentage from Total Amount with different categories.&lt;/P&gt;&lt;P&gt;Please check below a small example of what I want to calculate:&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;I would like to have a matrix, but my issue is to calculate the formula for the percentage. The percentage showned on the table is, for instance,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Situation A = Store A (15 units) / Seller Anne (180) = 8%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I calculate this formula? I have tried to create a new measure with ALLEXCEPTED and ALL, but returns the percentage with total from all sellers (210).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 21:42:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-from-Total-Amount-with-Several-Categories/m-p/2804236#M88358</guid>
      <dc:creator>yellow43</dc:creator>
      <dc:date>2022-09-28T21:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage from Total Amount with Several Categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-from-Total-Amount-with-Several-Categories/m-p/2804655#M88402</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="414682" data-lia-user-login="yellow43" class="lia-mention lia-mention-user"&gt;yellow43&lt;/a&gt; , &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;divide(Sum(table[Qty]), calculate(Sum(table[Qty]), removefilters(Table[Country], Table[Store])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;divide(Sum(table[Qty]), calculate(Sum(table[Qty]), allexcept(Table, Table[seller])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;divide(Sum(table[Qty]), calculate(Sum(table[Qty]), filter(allselected(Table) , Table[seller] = max(Table[Seller])))&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 02:13:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-from-Total-Amount-with-Several-Categories/m-p/2804655#M88402</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-09-29T02:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage from Total Amount with Several Categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-from-Total-Amount-with-Several-Categories/m-p/2805666#M88466</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. It worked!!&lt;/P&gt;&lt;P&gt;One last question: how can I apply a filter where it will show only the stores that have a % greater than 40%?&lt;/P&gt;&lt;P&gt;In this case, it should only show 3 stores: Store B (44%), Store A (42%) and Store D (90%).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because if I apply a &lt;STRONG&gt;Visual-level Filters on Dashboad Report&lt;/STRONG&gt;, it will apply to the seller level, and I want to apply to Store Level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 09:17:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-from-Total-Amount-with-Several-Categories/m-p/2805666#M88466</guid>
      <dc:creator>yellow43</dc:creator>
      <dc:date>2022-09-29T09:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage from Total Amount with Several Categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-from-Total-Amount-with-Several-Categories/m-p/2805785#M88478</link>
      <description>&lt;P&gt;Hello again &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your formulas work, but if I apply a &lt;STRONG&gt;Visual-level Filters in the Dashboad Report &lt;/STRONG&gt;to only show store A and store D. All % will change. How can I fix the percentage value to always remain the same, although I apply a filter?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 09:34:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-from-Total-Amount-with-Several-Categories/m-p/2805785#M88478</guid>
      <dc:creator>yellow43</dc:creator>
      <dc:date>2022-09-29T09:34:22Z</dc:date>
    </item>
  </channel>
</rss>

